Firefly Open Source Community

Title: bootargs not appended to kernel cmdline [Print This Page]

Author: banavathvishnu    Time: 4/28/2015 01:49
Title: bootargs not appended to kernel cmdline
Hi,
I'm trying to boot my firefly board with kernel 4.0 that was pushed at http://enwiki.t-firefly.com/inde ... Mainline_Kernel/en.
I have enabled all the required config options that are necessary to boot rootfs over nfs in the defconfig. Passing bootargs from uboot, ideally these bootagars should be appended to the existing command line, but in this case it does append the bootargs from bootloader.  I have tried hardcoding in the kernel command line and it works with rootfs over nfs.
I have no idea why bootargs are not appended to the kernel cmd line.
I gusee the atags address would be wrong
Has any one seen this issue before?
Please suggest
[attach]644[/attach]


Author: cappybob    Time: 4/28/2015 08:14
@ banavathvishnu

Might try this link and explore the .dts for build.

https://github.com/RockchipOpensourceCommunity

later---cappybob


Author: naobsd    Time: 4/30/2015 19:17
generally U-Boot passes DTB (not ATAG) to kernel, but DTB passed by U-Boot will not be used with current mainline based kernel.

to use ATAG, you need to

1. remove resource.img from resource partition (and boot.img if you use kernel+ramdisk style boot.img, not kernel.img)
2. use modified U-Boot to avoid missing resources error https://github.com/linux-rockchi ... 4a913f06ea67e53c530




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1