Next upload of u-boot to Debian will support bootscripts, so should work with
flash-kernel once this is applied.
Minor change to the patch, to use ${bootpart} instead of ${mmcdev}:${mmcpart},
which is more consistant with u-boot upstream. ${mmcpart} will also be dropped
from the Debian u-boot package in the next upload. Or could drop ${partition}
entirely and just use ${bootpart} directly.
diff --git a/bootscript/bootscr.beaglebone b/bootscript/bootscr.beaglebone
new file mode 100644
index 0000000..ab35a09
--- /dev/null
+++ b/bootscript/bootscr.beaglebone
@@ -0,0 +1,17 @@
+# boot script for BeagleBone
+
+setenv device mmc
+setenv partition ${bootpart}
+setenv bootargs '@@LINUX_KERNEL_CMDLINE@@'
+
+image_locations='/boot/ /'
+kvers='@@KERNEL_VERSION@@'
+
+for pathprefix in ${image_locations}
+do
+ load ${device} ${partition} ${loadaddr} ${pathprefix}vmlinuz-${kvers} \
+ && load ${device} ${partition} ${fdtaddr} ${pathprefix}dtb-${kvers} \
+ && load ${device} ${partition} ${rdaddr} ${pathprefix}initrd.img-${kvers} \
+ && echo "Booting Debian ${kvers} from ${device} ${partition}..." \
+ && bootz ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr}
+done
diff --git a/db/all.db b/db/all.db
index ec685c2..3298328 100644
--- a/db/all.db
+++ b/db/all.db
@@ -527,6 +527,13 @@ Mtd-Kernel: kernel
Mtd-Initrd: ramdisk
Bootloader-Sets-Incorrect-Root: yes
+Machine: TI AM335x BeagleBone
+Kernel-Flavors: armmp
+DTB-Id: am335x-boneblack.dtb
+Boot-Script-Path: /boot/boot.scr
+U-Boot-Script-Name: bootscr.beaglebone
+Required-Packages: u-boot-tools
+
Machine: Toshiba AC100 / Dynabook AZ
Method: android
Android-Boot-Device: /dev/mmcblk0
Thanks!
live well,
vagrant
Attachment:
signature.asc
Description: Digital signature