Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate CMDLINE #23

Closed
agherzan opened this issue Jul 3, 2012 · 3 comments
Closed

Generate CMDLINE #23

agherzan opened this issue Jul 3, 2012 · 3 comments
Labels

Comments

@agherzan
Copy link
Collaborator

agherzan commented Jul 3, 2012

CMDLINE ends up " debug ", because it's overwritten in linux.inc. So kernel won't boot without a cmdline.txt. Define a CMDLINE in kernel recipe.

@g

@christianege
Copy link

I discovered a Problem if there is no cmdline.txt in the boot partition. The MAC-Adresse is not set correctly. It seems that the Kernel ignores the parameters set by bootloader. If I Boot with a cmdline.txt I get this result by cat /proc/cmdline

dma.dmachans=0x3c bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x2 bcm2708.serial=0x668ba95f smsc95xx.macaddr=B8:27:XX:XX:XX:XX dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait quiet

The param quiet was added for testing ;-) Without that file I get:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait debug

So maybe it is better to create a corresponding cmdline.txt from the variable as well.

@agherzan
Copy link
Collaborator Author

agherzan commented Jul 9, 2012

Confirmed. Please submit an issue with your observations.

@g

@agherzan
Copy link
Collaborator Author

agherzan commented Jul 9, 2012

Fix merged.
b9b0c00

@g

@agherzan agherzan closed this as completed Jul 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants