Pulling my hair out with this one - trying to get the u-boot command line (bootargs) in to OpenWrt. I have found a few links with info, but none of them seem to quite work (fully) . And I understand the comment about not wanting / using u-boot arguments - but I have a dual partition router, I do need those arguments to select the correct partition (and I see this is used / working for some other dual-partition devices, like the EA3500 ... it takes those command line arguments).
I was thinking I could use
CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y, like in this post. But no joy, it doesn't seem to work.
This one is a bit closer, hacking the
of.c file does in fact get the command line (in place), but thinking this really should be through CONFIG values ... agreed?
Once I get past this, the next thing is to set the desired mtd partition name to "ubi", as this is auto-processed (as the root partition). Any thoughts there as well would be greatly appreciated.