Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

bootargs not appended to kernel cmdline

80

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
80

bootargs not appended to kernel cmdline

Posted at 4/28/2015 01:49:39      View:3795 | Replies:2        Print      Only Author   [Copy Link] 1#
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


Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 4/28/2015 08:14:31        Only Author  2#
@ banavathvishnu

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

https://github.com/RockchipOpensourceCommunity

later---cappybob

Reply

Use props Report

244

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
244
Posted at 4/30/2015 19:17:23        Only Author  3#
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
http://androtab.info/
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list