diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-05 06:47:43 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-05 06:53:44 -0300 |
commit | 91aff038958f833a3aacbf2e98e6abc684611e3b (patch) | |
tree | 2f18f3422bcbd23ea6b1206f7d87426d93b799b3 /libre/uboot-usbarmory-linux-libre/boot.txt | |
parent | f47b7b94cb804c702adc5949f80838bd28153d3a (diff) | |
download | abslibre-91aff038958f833a3aacbf2e98e6abc684611e3b.tar.gz abslibre-91aff038958f833a3aacbf2e98e6abc684611e3b.tar.bz2 abslibre-91aff038958f833a3aacbf2e98e6abc684611e3b.zip |
uboot-usbarmory-linux-libre: add new package to [libre]
Diffstat (limited to 'libre/uboot-usbarmory-linux-libre/boot.txt')
-rw-r--r-- | libre/uboot-usbarmory-linux-libre/boot.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/uboot-usbarmory-linux-libre/boot.txt b/libre/uboot-usbarmory-linux-libre/boot.txt new file mode 100644 index 000000000..2454291f8 --- /dev/null +++ b/libre/uboot-usbarmory-linux-libre/boot.txt @@ -0,0 +1,12 @@ +part uuid ${devtype} ${devnum}:${bootpart} uuid +setenv bootargs console=ttyGS0,115200 console=${console} root=PARTUUID=${uuid} rw rootwait + +if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/vmlinuz-linux-libre; then + if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then + if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux-libre.img; then + bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}; + else + bootz ${kernel_addr_r} - ${fdt_addr_r}; + fi; + fi; +fi |