Hi,
UEFI (and its known issues list) has been updated: https://github.com/96boards/documentation/wiki/UEFI
Latest changes introduced SMP support. It has been tested with the 3.18 kernel (hikey branch). hikey-mainline-rebase branch doesn't have the 8 cores online yet (a patch is missing).
latest pre-built binary with the changes is http://builds.96boards.org/snapshots/hikey/uefi/7
Cheers, Fathi
I followed the instructions in the wiki, together with the pre-built binaries and I get:
debug EMMC boot: print init OK debug EMMC boot: send RST_N . debug EMMC boot: start eMMC boot...... load fastboot1!
Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):9a97502 NOTICE: BL1: Built : 08:13:36, Mar 10 2015 NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 in 533MHz INFO: ddr3 rank1 init pass in 533MHz INFO: Elpida DDR ERROR: Failed to load BL2 firmware. PANIC at PC : 0x00000000f9805780
OK, so where's the BL2 firmware? Also, the image file BL33_AP_UEFI.fd is in the downloads, but not referenced in the wiki.
David
On 10/03/15 09:00, Fathi Boudra wrote:
Hi,
UEFI (and its known issues list) has been updated: https://github.com/96boards/documentation/wiki/UEFI
Latest changes introduced SMP support. It has been tested with the 3.18 kernel (hikey branch). hikey-mainline-rebase branch doesn't have the 8 cores online yet (a patch is missing).
latest pre-built binary with the changes is http://builds.96boards.org/snapshots/hikey/uefi/7
Cheers, Fathi _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Please don't top-post.
Op 11 mrt. 2015, om 10:35 heeft David Rusling david.rusling@linaro.org het volgende geschreven:
I followed the instructions in the wiki, together with the pre-built binaries and I get:
debug EMMC boot: print init OK debug EMMC boot: send RST_N . debug EMMC boot: start eMMC boot...... load fastboot1!
Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):9a97502 NOTICE: BL1: Built : 08:13:36, Mar 10 2015 NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 in 533MHz INFO: ddr3 rank1 init pass in 533MHz INFO: Elpida DDR ERROR: Failed to load BL2 firmware. PANIC at PC : 0x00000000f9805780
I had the same problem, it went away by repeating all the steps. I do have the problem where I have to power cycle twice to start UEFI from time to time.
-- Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs
On 11 March 2015 at 11:41, Koen Kooi koen.kooi@linaro.org wrote:
Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):9a97502 NOTICE: BL1: Built : 08:13:36, Mar 10 2015 NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 in 533MHz INFO: ddr3 rank1 init pass in 533MHz INFO: Elpida DDR ERROR: Failed to load BL2 firmware. PANIC at PC : 0x00000000f9805780
I had the same problem, it went away by repeating all the steps. I do have the problem where I have to power cycle twice to start UEFI from time to time.
I've seen similar stuck boots as well so I just opened reported a bug about it.
https://github.com/96boards/bugs/issues/20
Riku
There's a bug in the wiki instructions for installing UEFI - namely, you end up with an initrd called initrd.img-3.18.0-linaro-hikey when the UEFI boot option is looking for initrd.img. You can change that (via the boot options menu)...
Any clue how to mount the boot image that's in mmcblk0p4 - it's of type 'bios boot'. Failing that, can it be changed to DOS / VFAT? I'm trying to run standalone here...
many thanks, David
Op 12 mrt. 2015, om 12:12 heeft David Rusling david.rusling@linaro.org het volgende geschreven:
There's a bug in the wiki instructions for installing UEFI - namely, you end up with an initrd called initrd.img-3.18.0-linaro-hikey when the UEFI boot option is looking for initrd.img. You can change that (via the boot options menu)...
Any clue how to mount the boot image that's in mmcblk0p4 - it's of type 'bios boot'. Failing that, can it be changed to DOS / VFAT? I'm trying to run standalone here...
It moved to mmcblk0p6 with the latest ptable.img update. It's still vfat and mountable, it's just in a different partition :)
-- Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs
On 12/03/15 11:14, Koen Kooi wrote:
Op 12 mrt. 2015, om 12:12 heeft David Rusling david.rusling@linaro.org het volgende geschreven:
There's a bug in the wiki instructions for installing UEFI - namely, you end up with an initrd called initrd.img-3.18.0-linaro-hikey when the UEFI boot option is looking for initrd.img. You can change that (via the boot options menu)...
Any clue how to mount the boot image that's in mmcblk0p4 - it's of type 'bios boot'. Failing that, can it be changed to DOS / VFAT? I'm trying to run standalone here...
It moved to mmcblk0p6 with the latest ptable.img update. It's still vfat and mountable, it's just in a different partition :)
Doh! OK, that makes things a lot easier, many thanks...
-- Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs
On 12/03/15 11:24, David Rusling wrote:
On 12/03/15 11:14, Koen Kooi wrote:
Op 12 mrt. 2015, om 12:12 heeft David Rusling david.rusling@linaro.org het volgende geschreven:
There's a bug in the wiki instructions for installing UEFI - namely, you end up with an initrd called initrd.img-3.18.0-linaro-hikey when the UEFI boot option is looking for initrd.img. You can change that (via the boot options menu)...
So far as I can tell, changes to the boot options are not copied into nvram, so you have to redo them each time you boot...
Any clue how to mount the boot image that's in mmcblk0p4 - it's of type 'bios boot'. Failing that, can it be changed to DOS / VFAT? I'm trying to run standalone here...
It moved to mmcblk0p6 with the latest ptable.img update. It's still vfat and mountable, it's just in a different partition :)
Doh! OK, that makes things a lot easier, many thanks...
-- Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs
On 12 March 2015 at 13:52, David Rusling david.rusling@linaro.org wrote:
On 12/03/15 11:24, David Rusling wrote:
On 12/03/15 11:14, Koen Kooi wrote:
Op 12 mrt. 2015, om 12:12 heeft David Rusling david.rusling@linaro.org het volgende geschreven:
There's a bug in the wiki instructions for installing UEFI - namely, you end up with an initrd called initrd.img-3.18.0-linaro-hikey when the UEFI boot option is looking for initrd.img. You can change that (via the boot options menu)...
So far as I can tell, changes to the boot options are not copied into nvram, so you have to redo them each time you boot...
Reported at...
https://github.com/96boards/bugs/issues/8
Will mail the list with my workournds since already two people have needed them..
On 12/03/15 11:55, Riku Voipio wrote:
On 12 March 2015 at 13:52, David Rusling david.rusling@linaro.org wrote:
On 12/03/15 11:24, David Rusling wrote:
On 12/03/15 11:14, Koen Kooi wrote:
Op 12 mrt. 2015, om 12:12 heeft David Rusling david.rusling@linaro.org het volgende geschreven:
There's a bug in the wiki instructions for installing UEFI - namely, you end up with an initrd called initrd.img-3.18.0-linaro-hikey when the UEFI boot option is looking for initrd.img. You can change that (via the boot options menu)...
So far as I can tell, changes to the boot options are not copied into nvram, so you have to redo them each time you boot...
Reported at...
https://github.com/96boards/bugs/issues/8
Will mail the list with my workournds since already two people have needed them..
Excellent, I'll make coffee and wait...
Haojian is working on this. Needed eMMC driver in UEFI.
On Thu, Mar 12, 2015 at 7:52 AM, David Rusling david.rusling@linaro.org wrote:
On 12/03/15 11:24, David Rusling wrote:
On 12/03/15 11:14, Koen Kooi wrote:
Op 12 mrt. 2015, om 12:12 heeft David Rusling david.rusling@linaro.org
het volgende geschreven:
There's a bug in the wiki instructions for installing UEFI - namely,
you
end up with an initrd called initrd.img-3.18.0-linaro-hikey when the UEFI boot option is looking for initrd.img. You can change that (via the boot options menu)...
So far as I can tell, changes to the boot options are not copied into nvram, so you have to redo them each time you boot...
Any clue how to mount the boot image that's in mmcblk0p4 - it's of type 'bios boot'. Failing that, can it be changed to DOS / VFAT? I'm
trying
to run standalone here...
It moved to mmcblk0p6 with the latest ptable.img update. It's still
vfat and mountable, it's just in a different partition :)
Doh! OK, that makes things a lot easier, many thanks...
-- Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs
-- David Rusling, CTO Linaro
Harston Mill Royston Road Harston, cambridge CB22 7GG
Linaro.org │ Open source software for ARM SoCs _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 11 March 2015 at 11:35, David Rusling david.rusling@linaro.org wrote:
I followed the instructions in the wiki, together with the pre-built binaries and I get:
debug EMMC boot: print init OK debug EMMC boot: send RST_N . debug EMMC boot: start eMMC boot...... load fastboot1!
Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):9a97502 NOTICE: BL1: Built : 08:13:36, Mar 10 2015 NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 in 533MHz INFO: ddr3 rank1 init pass in 533MHz INFO: Elpida DDR ERROR: Failed to load BL2 firmware. PANIC at PC : 0x00000000f9805780
OK, so where's the BL2 firmware? Also, the image file BL33_AP_UEFI.fd is in the downloads, but not referenced in the wiki.
bl2/bl33 are shipped within the fip.bin (firmware package). most likely, you haven't flashed properly the binaries. retry the section "Flash binaries to eMMC".
On 11/03/15 10:00, Fathi Boudra wrote:
On 11 March 2015 at 11:35, David Rusling david.rusling@linaro.org wrote:
I followed the instructions in the wiki, together with the pre-built binaries and I get:
debug EMMC boot: print init OK debug EMMC boot: send RST_N . debug EMMC boot: start eMMC boot...... load fastboot1!
Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):9a97502 NOTICE: BL1: Built : 08:13:36, Mar 10 2015 NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 in 533MHz INFO: ddr3 rank1 init pass in 533MHz INFO: Elpida DDR ERROR: Failed to load BL2 firmware. PANIC at PC : 0x00000000f9805780
OK, so where's the BL2 firmware? Also, the image file BL33_AP_UEFI.fd is in the downloads, but not referenced in the wiki.
bl2/bl33 are shipped within the fip.bin (firmware package).
OK, looking at the build script, that wasn't obvious, but my next step is to build it all anyhow.
most likely, you haven't flashed properly the binaries. retry the section "Flash binaries to eMMC".
I retried and that fixed my problem. Many thanks...
David