Closed KwangSon closed 1 year ago
@orangecms sorry for tag if you don't want. But the last advice was very helpful, so I tag it just in case.
Hi :)
Is there no SBI here? If U-Boot runs in M-mode, and so does the kernel, things may not work. AFAIUI, Linux is designed to run in S-Mode, so something like OpenSBI should be in the chain. Then you can run Linux with earlycon=sbi
to get early debug output. You may need to activate it in the kernel config as well.
Hi :)
Is there no SBI here? If U-Boot runs in M-mode, and so does the kernel, things may not work. AFAIUI, Linux is designed to run in S-Mode, so something like OpenSBI should be in the chain. Then you can run Linux with
earlycon=sbi
to get early debug output. You may need to activate it in the kernel config as well.
Yes, I also doubted that part. But I thought why not in M-Mode? :) Always thanks! I'll try.
I tried, Yes it works!
Hi, I'm stuck in boot with upstream u-boot, linux in licheepi4a.
I build U-boot with patch kernel with patch
and it's build. flow will be
vendor uboot -> upsteram uboot(M-Mode) -> upstream kernel
. it worked just before start kernel.after it hanging. Any advises for help?