I have added the command line into the kernel in make kernel_menuconfig as shown
> [*] Built-in kernel command line
> (console=uart,io,0x3f8 rootfstype=squashfs,jffs2) Built-in kernel command string
> [*] Built-in command line overrides boot loader arguments
and compilled successfully. However when I try to run the new firmware in qemu it does the following, repeating the 'Linux version' line forever but
I'm not sure if that is as a result of me using the built-in kernel command line option or another problem.
> BIFFBOOT v3.6 (Qemu) 32-bit Loader by bifferos (c) 2011
> Redistribution prohibited, all rights reserved.
> Press <ESC>
> Booting...
> 00100000 loaded from flash.
> Booting Linux with: console=uart,io,0x3f8 rootfstype=squashfs,jffs2 init=/etc/preinit
> Linux version 2.6.37.6 (jsweet@ubuntuvm) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Fri May 4 14:57:13 BST 2012
> BIOS-provided physical RAM map:
> BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
> BIOS-e801: 0000000000100000 - 0000000002000000 (usable)
> Early serial console at I/O port 0x3f8 (options '115200')
> bootconsole [uart0] enabled
> Linux version 2.6.37.6 (jsweet@ubuntuvm) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Fri May 4 14:57:13 BST 2012
> Linux version 2.6.37.6 (jsweet@ubuntuvm) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Fri May 4 14:57:13 BST 2012
> Linux version 2.6.37.6 (jsweet@ubuntuvm) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Fri May 4 14:57:13 BST 2012
> Linux version 2.6.37.6 (jsweet@ubuntuvm) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Fri May 4 14:57:13 BST 2012
> Linux version 2.6.37.6 (jsweet@ubuntuvm) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Fri May 4 14:57:13 BST 2012
> Linux version 2.6.37.6 (jsweet@ubuntuvm) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Fri May 4 14:57:13 BST 2012
> Linux version 2.6.37.6 (jsweet@ubuntuvm) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Fri May 4 14:57:13 BST 2012
Using bb_eth_setconfig.py I configured the bootloader as follows
Flash Size: 8Mb
Config Chunk: 1015
boot source: Flash
serial console: enabled
Network Console: enabled
Boot image type: Linux
Load Address: 0x400000
Kernel cmndline: [blank]
Kernel max: 0x200000
I uploaded the firmware, waited at least 5 minutes for a DHCP request but to no avail. Now I cannot even load the factory firmware. What settings
should I use in bb_eth_setconfig.py to set the bootloader back to be able to boot factory firmware (which as no cmndline built in?)?
I'm recompiling bb.git now from scratch to make sure that its a problem from a previous compile.
Thanks
James