mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-14 03:53:49 +07:00
Update for sun50iw9
This commit is contained in:
@@ -76,7 +76,7 @@ uboot_custom_postprocess()
|
||||
|
||||
if [[ ${BRANCH} == legacy ]]; then
|
||||
|
||||
rm dts/*.dts sys_config -r >/dev/null 2>&1
|
||||
rm dts/*.dts sys_config ${BOARD}-u-boot.dtb -r >/dev/null 2>&1
|
||||
export PATH=${EXTER}/packages/pack-uboot/${BOARDFAMILY}/tools/:$PATH
|
||||
cp ${EXTER}/packages/pack-uboot/${BOARDFAMILY}/bin/* . -r
|
||||
cp sys_config/sys_config_${BOARD}.fex sys_config.fex
|
||||
@@ -85,6 +85,7 @@ uboot_custom_postprocess()
|
||||
|
||||
# make u-boot dtb
|
||||
$EXTER/packages/pack-uboot/${BOARDFAMILY}/tools/dtc -p 2048 -W no-unit_address_vs_reg -@ -O dtb -o ${BOARD}-u-boot.dtb -b 0 dts/${BOARD}-u-boot.dts >/dev/null 2>&1
|
||||
[[ ! -f ${BOARD}-u-boot.dtb ]] && exit_with_error "dts compilation failed"
|
||||
|
||||
busybox unix2dos sys_config.fex
|
||||
$EXTER/packages/pack-uboot/${BOARDFAMILY}/tools/script sys_config.fex >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user