Hi,
You have to use mkelfImage to convert the bzImage to elf format. It's in the utils folder of coreboot.
John.
On 08/09/14 09:25, Werner Zeh wrote:
Am 08.09.2014 um 12:09 schrieb John Lewis:
You have to use mkelfImage to convert the bzImage to elf format. It's in the utils folder of coreboot.
No, you don't.
Patrick
On 08/09/14 12:40, John Lewis wrote:
And I was also thinking using it from within SeaBIOS, and didn't make the distinction.
As of last week, I am booting a bzimage+initramfs combination just fine. bzimage will be fine.
It's a good idea to set the command line args, and I recomment, for testing console=ttyS0,115200 earlyprintk=ttyS0,115200,keep
Your best bet is to do the standard trivial initramfs with a simple program: main(){printf("hi\n"); while (1);}
Let's pretend it's called mymain.c cc -o mymain -static mymain.c
put that in your prototype root file system with the name init. make sure you create /dev/console. Then bundle it all up with cpio and you've got an initramfs
I can start some notes on the wiki if you're still stuck.
ron
Am 08.09.2014 um 13:44 schrieb John Lewis:
No, you don't.
I meant "You can use", okay?
Sorry, my reply came across harsher than I intended..
And I was also thinking using it from within SeaBIOS, and didn't make the distinction.
Ah, okay. Please note that 3c12cb03847d2db41809ae434530782a7dbef48b fixes the issues that prevented the native linux payload feature from working with SeaBIOS.
Maybe we should retire mkelfImage. I'm actually amazed that it still works!
Patrick
I think it's time to retire mkelfImage and I can submit that patch now if we agree.
ron