mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
u-boot: update to 2014.4. and add BPi support.
This commit is contained in:
Binary file not shown.
@@ -1,7 +0,0 @@
|
||||
setenv initrd_high 90000000
|
||||
fatload mmc 0:1 0x82000000 zImage-ipfire-multi
|
||||
#fatload mmc 0:1 0x85000000 uInit-ipfire-multi
|
||||
fatload mmc 0:1 ${fdtaddr} omap4-${board_name}.dtb
|
||||
setenv bootargs video=800x600 console=tty1 rootwait smsc95xx.macaddr=$usbethaddr root=/dev/mmcblk0p3 ro
|
||||
#bootz 0x82000000 0x85000000 ${fdtaddr}
|
||||
bootz 0x82000000 - ${fdtaddr}
|
||||
@@ -1 +0,0 @@
|
||||
mkimage -A arm -T script -C none -d boot.script boot.scr
|
||||
3
config/u-boot/uEnv.txt
Normal file
3
config/u-boot/uEnv.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
uenvcmd=if test "$board" = "panda" ;then run bootpanda; else run bootbananapi; fi;
|
||||
bootpanda=setenv initrd_high 90000000; fatload mmc 0:1 0x82000000 zImage-ipfire-multi; fatload mmc 0:1 ${fdtaddr} omap4-${board_name}.dtb; setenv bootargs video=800x600 console=tty1 rootwait smsc95xx.macaddr=$usbethaddr root=/dev/mmcblk0p3 ro; bootz 0x82000000 - ${fdtaddr};
|
||||
bootbananapi=setenv fdt_high ffffffff; fatload mmc 0:1 0x46000000 zImage-ipfire-multi; fatload mmc 0:1 0x49000000 sun7i-a20-bananapi.dtb; setenv bootargs console=ttyS0,115200n8 rootwait root=/dev/mmcblk0p3 rootwait; bootz 0x46000000 - 0x49000000;
|
||||
Reference in New Issue
Block a user