mirror of https://github.com/armbian/build.git
Avoid oboe overlap trip during loading of images
https://github.com/armbian/build/issues/8178 - Add switch to turn avoidance on/off - Increment base address before alignment to resolve the oboe - oboe observed in U-Boot v2021.04 and in particular with DT loading
This commit is contained in:
parent
a5808ff60b
commit
a5fd439a48
|
|
@ -21,7 +21,8 @@ setenv eth2addr "00:50:43:84:25:2f"
|
|||
setenv eth3addr "00:50:43:0d:19:18"
|
||||
setenv fdt_extrasize "0x00010000"
|
||||
setenv align_to "0x00001000"
|
||||
setenv align_addr_next 'setexpr modulo ${addr_next} % ${align_to} ; if itest $modulo -gt 0 ; then setexpr addr_next ${addr_next} / ${align_to} ; setexpr addr_next ${addr_next} + 1 ; setexpr addr_next ${addr_next} * ${align_to} ; fi'
|
||||
setenv align_overlap_oboe_avoidance "on"
|
||||
setenv align_addr_next 'if test "${align_overlap_oboe_avoidance}" = "on" ; then setexpr addr_next ${addr_next} + 1 ; fi ; setexpr modulo ${addr_next} % ${align_to} ; if itest ${modulo} -gt 0 ; then setexpr addr_next ${addr_next} / ${align_to} ; setexpr addr_next ${addr_next} + 1 ; setexpr addr_next ${addr_next} * ${align_to} ; fi'
|
||||
|
||||
echo "Boot script loaded from ${devtype}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue