[Gta04-owner] bootargs.scr - how does it work?

Radek Polak psonek2 at seznam.cz
Thu Nov 22 13:55:19 CET 2012


Hi,
for me the bootargs.scr does not work. I have tried like 20 combinations of 
everything, but i am unable to use my own bootargs.scr.

My setup:

/dev/mmcblk0p2 is EXT4 filesystem with QtMoko:

# ls /boot

# bootargs.scr uImage

# cat /boot/bootargs.scr

<snip>

setenv bootargs "console=ttyO2,115200n8 mpurate=${mpurate} vram=12M 
omapfb.vram=0:8M,1:4M omapfb.mode=dvi:${dvimode} omapfb.debug=y 
omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype} 
realroot=xxx testarg"

</snip>

Note that I have added realroot=xxx and testarg.

Now i power the phone off. Now i press POWER + AUX, this brings me to uboot 
menu. I press the "SD 2" icon.

I'd expect realroot=xxx and testarg in /proc/cmdline, but it's not there. I am 
using CONFIG_CMDLINE_FROM_BOOTLOADER=y and i am 100% sure that the cmdline 
content is not compiled in kernel.

# cat /proc/cmdline

console=ttyO2,115200n8 mpurate=1000 vram=12M omapfb.vram=0:8M,1:4M 
omapfb.mode=dvi:1024x768MR-16 at 60 omapfb.debug=y omapdss.def_disp=lcd 
root=/dev/mmcblk0p2 rw rootfstype=ext4,ext3,btrfs rootwait

What can be wrong? Do i have to use uboot mkimage utility to modify 
bootargs.scr?


Thanks

Radek


More information about the Gta04-owner mailing list