Ravishankar S
unread,May 5, 2021, 11:33:46 AM5/5/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium OS Discussion, Mike Frysinger, Chromium OS Discussion, Ravishankar S
Thanks. Can you tell me to which address i have to load the kernel to ? I can try to create a uImage for the u-boot boot loader and try booting.
I am now able to boot u-boot in qemu and I am at the prompt
=> virtio part
Partition Map for VirtIO device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x004ae000 0x00cae06c "STATE"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 1bb49ec2-2479-6540-b64f-882c7ab275c5
According to this post:
"ARM Linux kernels are usually self-loading plain binaries, generated from the original ELF by extracting the code+rdata sections from it and appending the "piggy" loader. They're loaded by the bootloader at some place in the memory and just run from there. The piggy loader unpacks/copies the main payload to the final address and jumps to it."
Hope it holds true in this case also.
Thanks and Regards
Ravishankar
On Wednesday, May 5, 2021 at 11:26:02 AM UTC+5:30 Mike Frysinger wrote: