If you compile a trunk version for your bifferboard, cmdline is embedded.
You can see it with "make kernel_menuconfig" :
Processor type and features --->
[*] Built-in kernel command line
(console=uart,io,0x3f8 rootfstype=squashfs,jffs2) Built-in kernel command string
Here is a trunk version, on git version, option is not selected.
2011/4/10 littlebilly <vultur...@googlemail.com>:
> --
> To unsubscribe send email to bifferboard...@googlegroups.com
>
--
Nicolas Le Falher.
It's all documented (kind of) on the wiki...
http://sites.google.com/site/bifferboard/Home/openwrt-git
Lurch
I assume you ran "make" as well? ;)
> After seeing this thread, I recompiled the kernel adding:
> Processor type and features --->
> [*] Built-in kernel command line
> (console=uart,io,0x3f8 rootfstype=squashfs,jffs2) Built-in kernel
> command string
Hmmm, dunno why that didn't work.
> Though when I reflash it again, showconfig still signals that cmdline
> is empty and BB fails to boot.
Biffboot runs *before* the kernel, and so the cmdline that showconfig
displays has no knowledge of what's been compiled into the kernel.
To check what cmdline the kernel actually used, after Linux has booted type:
cat /proc/cmdline
> The BB is still working if I flash it with the factory firmware from
> https://sites.google.com/site/bifferboard/Home/factory-firmware. This
> firmware also reports cmdline as empty in showconfig, though BB boots
> ok.
>
> What am I missing? Any help will be greatly appreciated.
I think the confusion is because
http://sites.google.com/site/bifferboard/Home/factory-firmware
has the command-line compiled into the kernel (and so the biffboot
cmdline should be blank), whereas
http://sites.google.com/site/bifferboard/Home/openwrt-git
actually reads the cmdline from biffboot (and so the compiled-in
cmdline should be blank).
(IIRC factory-firmware is an older version of openwrt-git, from before
Biff added "Kernel command-line is supplied by the bootloader, not
embedded")
And as explained above, the compiled-in cmdline and the
biffboot-supplied cmdline are two separate things.
After changing the biffboot cmdline with the serial console, don't
forget to save changes too.
Lurch