https://github.com/96boards/documentation/wiki/UEFI
Trying to get UEFI booting via this wiki didn't really work well. I had to check with several others to get things actually working.
A couple major things I found in the last day or so:
1) it mentions the ptable.img file, but doesn't say where to find it
2) It mentions starting fastboot from UEFI, which requires your boot-uefi.img have a fastboot application on it. However, the wiki guides you through creating a boot-uefi.img with a kernel/dtb/initrd but no fastboot.efi, so trying to start fastboot from the shell doesn't work.
Kevin
On 12 May 2015 at 21:12, Kevin Hilman khilman@kernel.org wrote:
https://github.com/96boards/documentation/wiki/UEFI
Trying to get UEFI booting via this wiki didn't really work well. I had to check with several others to get things actually working.
Thanks for having a walk through. I'll look at updating it in the morning.
Do you intend to just use UEFI based system, or actually build and modify the UEFI for use? I notice the document is now more about building, while we already have prebuilt bits at:
https://builds.96boards.org/snapshots/hikey/uefi/20
It would probably make sense to split a "building" and "using" uefi pages in wiki.
For building UEFI, the wiki may accidentally get outdated - comparing with the actual build job (the "shell" section) should identify any mistakes:
https://git.linaro.org/ci/job/configs.git/blob/HEAD:/96boards-hikey-uefi.yam...
A couple major things I found in the last day or so:
- it mentions the ptable.img file, but doesn't say where to find it
It's generated in the last step in the "Build UEFI for HiKey" steps.
- It mentions starting fastboot from UEFI, which requires your
boot-uefi.img have a fastboot application on it. However, the wiki guides you through creating a boot-uefi.img with a kernel/dtb/initrd but no fastboot.efi, so trying to start fastboot from the shell doesn't work.
The prebuilt UEFI fat partiation already has it:
https://builds.96boards.org/snapshots/hikey/debian/296/boot-fat.uefi.img.gz
Riku
On Tue, May 12, 2015 at 11:41 AM, Riku Voipio riku.voipio@linaro.org wrote:
On 12 May 2015 at 21:12, Kevin Hilman khilman@kernel.org wrote:
https://github.com/96boards/documentation/wiki/UEFI
Trying to get UEFI booting via this wiki didn't really work well. I had to check with several others to get things actually working.
Thanks for having a walk through. I'll look at updating it in the morning.
Great, thanks!
Do you intend to just use UEFI based system, or actually build and modify the UEFI for use?
Both. :)
I notice the document is now more about building, while we already have prebuilt bits at:
https://builds.96boards.org/snapshots/hikey/uefi/20
It would probably make sense to split a "building" and "using" uefi pages in wiki.
I agree.
I think there should be a quick-start section for using pre-built images, followed by a section on how to build/install everything from source.
For building UEFI, the wiki may accidentally get outdated - comparing with the actual build job (the "shell" section) should identify any mistakes:
https://git.linaro.org/ci/job/configs.git/blob/HEAD:/96boards-hikey-uefi.yam...
A couple major things I found in the last day or so:
- it mentions the ptable.img file, but doesn't say where to find it
It's generated in the last step in the "Build UEFI for HiKey" steps.
- It mentions starting fastboot from UEFI, which requires your
boot-uefi.img have a fastboot application on it. However, the wiki guides you through creating a boot-uefi.img with a kernel/dtb/initrd but no fastboot.efi, so trying to start fastboot from the shell doesn't work.
The prebuilt UEFI fat partiation already has it:
https://builds.96boards.org/snapshots/hikey/debian/296/boot-fat.uefi.img.gz
Yes, I eventually found them (thanks to help from Tyler), but the point of this email was to point out the wiki needed more details for those images so others don't have to bug Tyler or read Jenkins jobs to figure out what should be documented there.
Thanks for having a look at this,
Kevin
On 13 May 2015 at 02:12, Kevin Hilman khilman@kernel.org wrote:
https://github.com/96boards/documentation/wiki/UEFI
Trying to get UEFI booting via this wiki didn't really work well. I had to check with several others to get things actually working.
A couple major things I found in the last day or so:
- it mentions the ptable.img file, but doesn't say where to find it
ptable.img will be generated at l-loader directory. I'll append it into wiki.
- It mentions starting fastboot from UEFI, which requires your
boot-uefi.img have a fastboot application on it. However, the wiki guides you through creating a boot-uefi.img with a kernel/dtb/initrd but no fastboot.efi, so trying to start fastboot from the shell doesn't work.
AndroidFastboot.efi will be generated in linaro-edk2/Build/HiKey/RELEASE_GCC48/AARCH64/EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp/OUTPUT directory.
And we renamed it from AndroidFastboot.efi to Fastboot.efi in boot-uefi.img.
OK. I'll append it into the wiki.
Kevin _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev