On 16.11.2012, at 15:56, Ciaran Farrell wrote:
home:babelworx:branches:openSUSE:12.2:ARM:Contrib:Cubox/JeOS-cubox -> openSUSE:12.2:ARM:Contrib:Cubox/JeOS-cubox
https://build.opensuse.org/request/diff/141568
Description: Get CuBox working w/o manual uboot intervention
@@ -3,19 +3,39 @@ set -x
file=boot/boot.script +echo 'resetenv' >> $file +echo 'setenv kerneladdr 0x2000000' >> $file +echo 'setenv ramdiskaddr 0x3000000' >> $file +echo 'ext2load mmc 0:1 0x2000000 boot/linux.vmx' >> $file +echo 'ext2load mmc 0:1 0x3000000 boot/initrd.uboot' >> $file +echo -n 'setenv bootargs "' >> $file +echo 'console=ttyS0,115200 root=/dev/mmcblk0p2"' >> $file +echo 'bootm 0x2000000 0x3000000' >> $file +echo 'boot' >> $file
Mind to explain why exactly you need this? Is $arcNumber not set up correctly on your local NVRAM? Also, this still breaks after your first reboot, because the boot script gets regenerated on first boot. Furthermore, this change only gets 12.2 working for you, but still fails on Factory. We should certainly find out why it doesn't work for you and get a generic solution up and rolling, so that Factory works too :). Alex
-echo 'printenv kerneladdr || setenv kerneladdr ${kernel_addr_r}' >> $file -echo 'printenv ramdiskaddr|| setenv ramdiskaddr ${ramdisk_addr_r}' >> $file +#echo 'printenv kerneladdr || setenv kerneladdr ${kernel_addr_r}' >> $file +#echo 'printenv ramdiskaddr|| setenv ramdiskaddr ${ramdisk_addr_r}' >> $file # CuBox Hack -echo 'if itest 1$arcNumber == 13905; then' >> $file -echo ' setenv kerneladdr 0x2000000' >> $file -echo ' setenv ramdiskaddr 0x3000000' >> $file -echo 'fi' >> $file -echo -n 'setenv bootcmd "' >> $file -echo -n 'ext2load mmc 0:1 ${kerneladdr} boot/linux.vmx; ' >> $file -echo -n 'ext2load mmc 0:1 ${ramdiskaddr} boot/initrd.uboot; ' >> $file -echo 'bootm ${kerneladdr} ${ramdiskaddr}";' >> $file -echo 'boot' >> $file +#echo 'if itest 1$arcNumber == 13905; then' >> $file +#echo ' setenv kerneladdr 0x2000000' >> $file +#echo ' setenv ramdiskaddr 0x3000000' >> $file +#echo 'fi' >> $file +#echo -n 'setenv bootcmd "' >> $file +#echo -n 'ext2load mmc 0:1 ${kerneladdr} boot/linux.vmx; ' >> $file +#echo -n 'ext2load mmc 0:1 ${ramdiskaddr} boot/initrd.uboot; ' >> $file +#echo 'bootm ${kerneladdr} ${ramdiskaddr}";' >> $file +#echo 'boot' >> $file + + +#echo '======== Setting bootargs ========' >> $file +#echo -n 'setenv bootargs "' >> $file +#echo -n 'console=ttyS0,115200n8 vmalloc=384M root=/dev/mmcblk0p2 ' >> $file +#echo 'rootdelay=2 --no-log --verbose"' >> $file +#echo '======== Loading kernel ========' >> $file +#echo 'ext2load mmc 0:1 0x00200000 /boot/uImage' >> $file +#echo '======== Booting kernel ========' >> $file +#echo 'bootm' >> $file +
#========================================== # Create machine readable uboot format
To REVIEW against the previous version: osc request show --diff 141568
To ACCEPT the request: osc request accept 141568 --message="reviewed ok."
To DECLINE the request: osc request decline 141568 --message="declined for reason xyz (see ... for background / policy / ...)."
To REVOKE the request: osc request revoke 141568 --message="retracted because ..., sorry / thx / see better version ..."
-- Hermes messaging (http://hermes.opensuse.org) openSUSE Build Service (https://build.opensuse.org/) Collaboration: http://en.opensuse.org/Build_Service/Collaboration
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org