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

Early boot output over serial - orange pi zero #37

Open
darkdrgn2k opened this issue Mar 11, 2018 · 3 comments
Open

Early boot output over serial - orange pi zero #37

darkdrgn2k opened this issue Mar 11, 2018 · 3 comments

Comments

@darkdrgn2k
Copy link
Contributor

The current orange pi build does not output anything to serial after "Starting kernel ..."

After poking at it i found the issue is probably in zImage
replacing the stock zImage from Armbian yields

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
@hamishcoleman
Copy link
Contributor

Are you saying that the current build crashes before finishing booting, or that there are messages not seen on the output?

I built an image from v0.6-91-gb352b7972309 and had no issues (there is a significant delay between "starting kernel" and the next line - as usual)

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.13.0 (hamish@x230i5) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #25 SMP Tue Sep 12 14:03:50 HKT 2017

@darkdrgn2k
Copy link
Contributor Author

You are correct

In armbian there are a few more lines between starting kernel and 0.0000

They are not important unless you have issues with initrd. The early error messages will not show

Not a huge bug.. Just though is document that I isolated it to zImage (using armbian zImage produces the missing output)

@hamishcoleman
Copy link
Contributor

ah, in this case it is a simple one: Its a kernel config option to set the amount of messages on the output add the kernel cmdline param "loglevel=7" and you should see some extra messages.

I added that setting into the kernel config to go into the next kernel build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants