cubieboard2-uboot: miscellaneous tweaks.

- Also set 'console=tty0' to kernel cmdline arguments.
- Change cubieboard2.fex to set default storage medium to the SD card.
- Install boot.cmd to regenerate it after booting.
This commit is contained in:
Juan RP 2014-01-26 11:11:45 +01:00
parent 39f0b9a6ca
commit fc0303107d
3 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait panic=10 ${extra}
setenv bootargs console=ttyS0,115200 console=tty0 root=/dev/mmcblk0p2 rw rootwait panic=10 ${extra}
fatload mmc 0 0x43000000 script.bin || ext2load mmc 0 0x43000000 boot/script.bin
fatload mmc 0 0x48000000 uImage || ext2load mmc 0 0x48000000 uImage boot/uImage
bootm 0x48000000

View file

@ -12,7 +12,7 @@ dcdc3_vol = 1250
ldo2_vol = 3000
ldo3_vol = 2800
ldo4_vol = 2800
storage_type = 0
storage_type = 1
[clock]
pll3 = 297

View file

@ -1,7 +1,7 @@
# Template file for 'cubieboard2-uboot'
pkgname=cubieboard2-uboot
version=v2013.10
revision=3
revision=4
wrksrc="u-boot-sunxi-${version/v/}-sunxi"
hostmakedepends="sunxi-tools uboot-mkimage"
short_desc="Cubieboard2 U-Boot files for SD booting"
@ -30,5 +30,6 @@ do_install() {
vinstall u-boot-sunxi-with-spl.bin 644 boot
vinstall script.bin 644 boot
vinstall boot.scr 644 boot
vinstall ${FILESDIR}/cubieboard2.bootcmd 644 boot boot.cmd
vinstall ${FILESDIR}/cubieboard2.env 644 boot uEnv.txt
}