Allow ODROID-XU4/HC1 to boot from btrfs
https://forum.armbian.com/index.php?/topic/5311-debian-btrfs-build-of-odroidxu4hc1-ends-up-in-boot-loop/
This commit is contained in:
parent
7b1268386b
commit
e7ad615648
@ -414,6 +414,7 @@ prepare_partitions()
|
||||
|
||||
# if we have boot.ini = remove armbianEnv.txt and add UUID there if enabled
|
||||
if [[ -f $SDCARD/boot/boot.ini ]]; then
|
||||
sed -i -e "s/rootfstype \"ext4\"/rootfstype \"$ROOTFS_TYPE\"/" $SDCARD/boot/boot.ini
|
||||
[[ $HAS_UUID_SUPPORT == yes ]] && sed -i 's/^setenv rootdev .*/setenv rootdev "'$rootfs'"/' $SDCARD/boot/boot.ini
|
||||
[[ -f $SDCARD/boot/armbianEnv.txt ]] && rm $SDCARD/boot/armbianEnv.txt
|
||||
fi
|
||||
|
||||
@ -291,7 +291,7 @@ log_hardware_info() {
|
||||
echo -e "\n### mtab:\n" >>${Log}
|
||||
egrep '^/dev/|\ zfs\ ' /etc/mtab | egrep -v "log2ram|folder2ram" | sort >>${Log}
|
||||
[[ -e /boot/script.bin ]] && echo -e "\n### /boot/script.bin --> $(readlink /boot/script.bin)" >>${Log}
|
||||
get_flash_information >>${Log} &
|
||||
get_flash_information >>${Log}
|
||||
(sleep 30 && echo -e "\n### interrupts:\n$(cat /proc/interrupts)" >>${Log}) &
|
||||
} # log_hardware_info
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user