mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
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:
parent
39f0b9a6ca
commit
fc0303107d
3 changed files with 4 additions and 3 deletions
|
@ -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 0x43000000 script.bin || ext2load mmc 0 0x43000000 boot/script.bin
|
||||||
fatload mmc 0 0x48000000 uImage || ext2load mmc 0 0x48000000 uImage boot/uImage
|
fatload mmc 0 0x48000000 uImage || ext2load mmc 0 0x48000000 uImage boot/uImage
|
||||||
bootm 0x48000000
|
bootm 0x48000000
|
||||||
|
|
|
@ -12,7 +12,7 @@ dcdc3_vol = 1250
|
||||||
ldo2_vol = 3000
|
ldo2_vol = 3000
|
||||||
ldo3_vol = 2800
|
ldo3_vol = 2800
|
||||||
ldo4_vol = 2800
|
ldo4_vol = 2800
|
||||||
storage_type = 0
|
storage_type = 1
|
||||||
|
|
||||||
[clock]
|
[clock]
|
||||||
pll3 = 297
|
pll3 = 297
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cubieboard2-uboot'
|
# Template file for 'cubieboard2-uboot'
|
||||||
pkgname=cubieboard2-uboot
|
pkgname=cubieboard2-uboot
|
||||||
version=v2013.10
|
version=v2013.10
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="u-boot-sunxi-${version/v/}-sunxi"
|
wrksrc="u-boot-sunxi-${version/v/}-sunxi"
|
||||||
hostmakedepends="sunxi-tools uboot-mkimage"
|
hostmakedepends="sunxi-tools uboot-mkimage"
|
||||||
short_desc="Cubieboard2 U-Boot files for SD booting"
|
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 u-boot-sunxi-with-spl.bin 644 boot
|
||||||
vinstall script.bin 644 boot
|
vinstall script.bin 644 boot
|
||||||
vinstall boot.scr 644 boot
|
vinstall boot.scr 644 boot
|
||||||
|
vinstall ${FILESDIR}/cubieboard2.bootcmd 644 boot boot.cmd
|
||||||
vinstall ${FILESDIR}/cubieboard2.env 644 boot uEnv.txt
|
vinstall ${FILESDIR}/cubieboard2.env 644 boot uEnv.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue