Hi Guys,
I am looking to setup dual boot with Android (emmc) and Ubuntu (SD) on hikey board. And am facing some difficulties currently.
I took bootloaders from here: http://builds.96boards.org/snapshots/hikey/linaro/uefi-openplatformpkg/57/
Debian SD card image from: http://builds.96boards.org/snapshots/reference-platform/debian/latest/hikey/ and did dd to the SD card which has boot and rootfs partitions now.
I took AOSP images from here: http://builds.96boards.org/releases/hikey/linaro/aosp/latest/ and I am using boot_fat.uefi.img.
Now when the SD card isn't inserted and pin 5-6 are shorted, the board boots into fastboot with options to boot from SD, emmc, etc. I can boot into emmc and boot android just fine. All works fine. If I insert the SD card now, I can see the partitions in /dev/block/mmcblk1**.
But, if I insert the SD card before booting up, then I get this on terminal: http://pastebin.com/A7JkPZS7 and don't see any more prints after that.
If I power on the board before inserting SD card and get up to the menu, where I can select SD or emmc or fastboot and then insert SD card, the minicom terminal hangs.
I have tried two 8 GB SDHC cards from Trascend and sandisk already.
Any clues ?
-- viresh
I see the same thing. It doesn't matter what the image on the SD card is. It's hanging somewhere in EUFI. It's a pain as I actually want to run with an SD card as the root (I need the space).
David
On 13/02/17 09:41, Viresh Kumar wrote:
Hi Guys,
I am looking to setup dual boot with Android (emmc) and Ubuntu (SD) on hikey board. And am facing some difficulties currently.
I took bootloaders from here: http://builds.96boards.org/snapshots/hikey/linaro/uefi-openplatformpkg/57/
Debian SD card image from: http://builds.96boards.org/snapshots/reference-platform/debian/latest/hikey/ and did dd to the SD card which has boot and rootfs partitions now.
I took AOSP images from here: http://builds.96boards.org/releases/hikey/linaro/aosp/latest/ and I am using boot_fat.uefi.img.
Now when the SD card isn't inserted and pin 5-6 are shorted, the board boots into fastboot with options to boot from SD, emmc, etc. I can boot into emmc and boot android just fine. All works fine. If I insert the SD card now, I can see the partitions in /dev/block/mmcblk1**.
But, if I insert the SD card before booting up, then I get this on terminal: http://pastebin.com/A7JkPZS7 and don't see any more prints after that.
If I power on the board before inserting SD card and get up to the menu, where I can select SD or emmc or fastboot and then insert SD card, the minicom terminal hangs.
I have tried two 8 GB SDHC cards from Trascend and sandisk already.
Any clues ?
-- viresh _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 13 February 2017 at 18:18, David A Rusling david.rusling@linaro.org wrote:
I see the same thing. It doesn't matter what the image on the SD card is. It's hanging somewhere in EUFI. It's a pain as I actually want to run with an SD card as the root (I need the space).
I do not try this version. But I could boot upstream kernel from sd card successful. Are you sure it is hang or it is just no output in serial?
Do you attach some mezzanine board? I could not find my sd card when I attach Grove Starter Kit.
Regards
Bamvor
David
On 13/02/17 09:41, Viresh Kumar wrote:
Hi Guys,
I am looking to setup dual boot with Android (emmc) and Ubuntu (SD) on hikey board. And am facing some difficulties currently.
I took bootloaders from here: http://builds.96boards.org/snapshots/hikey/linaro/uefi-openplatformpkg/57/
Debian SD card image from:
http://builds.96boards.org/snapshots/reference-platform/debian/latest/hikey/ and did dd to the SD card which has boot and rootfs partitions now.
I took AOSP images from here: http://builds.96boards.org/releases/hikey/linaro/aosp/latest/ and I am using boot_fat.uefi.img.
Now when the SD card isn't inserted and pin 5-6 are shorted, the board boots into fastboot with options to boot from SD, emmc, etc. I can boot into emmc and boot android just fine. All works fine. If I insert the SD card now, I can see the partitions in /dev/block/mmcblk1**.
But, if I insert the SD card before booting up, then I get this on terminal: http://pastebin.com/A7JkPZS7 and don't see any more prints after that.
If I power on the board before inserting SD card and get up to the menu, where I can select SD or emmc or fastboot and then insert SD card, the minicom terminal hangs.
I have tried two 8 GB SDHC cards from Trascend and sandisk already.
Any clues ?
-- viresh _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
-- 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 13-02-17, 19:05, Bamvor Zhang Jian wrote:
I do not try this version. But I could boot upstream kernel from sd card successful. Are you sure it is hang or it is just no output in serial?
The minicom doesn't do an I/O after the card is inserted, that's it.
Do you attach some mezzanine board? I could not find my sd card when I attach Grove Starter Kit.
I had the UART debugger board attached. It looks like some SD card timing issue here. Some SD cards don't work while others do.
Hi, Viresh
On 13 February 2017 at 19:07, Viresh Kumar viresh.kumar@linaro.org wrote:
On 13-02-17, 19:05, Bamvor Zhang Jian wrote:
I do not try this version. But I could boot upstream kernel from sd card successful. Are you sure it is hang or it is just no output in serial?
The minicom doesn't do an I/O after the card is inserted, that's it.
Do you attach some mezzanine board? I could not find my sd card when I attach Grove Starter Kit.
I had the UART debugger board attached. It looks like some SD card timing issue here. Some SD cards don't work while others do.
Maybe it is the different issue. The UART debugger board works fine with sd card in my case.
Regards
I think that it is an SD timing issue. I can confirm that you can boot to UEFI and then insert the SD card - it hangs the system. I can also confirm that I have two systems, one of which sees and boots from the SD card and the other of which just hangs. I haven't tried using the 'working' SD card in the non-working system, but I'll try that later...
David
On 13/02/17 11:12, Bamvor Zhang Jian wrote:
Hi, Viresh
On 13 February 2017 at 19:07, Viresh Kumar viresh.kumar@linaro.org wrote:
On 13-02-17, 19:05, Bamvor Zhang Jian wrote:
I do not try this version. But I could boot upstream kernel from sd card successful. Are you sure it is hang or it is just no output in serial?
The minicom doesn't do an I/O after the card is inserted, that's it.
Do you attach some mezzanine board? I could not find my sd card when I attach Grove Starter Kit.
I had the UART debugger board attached. It looks like some SD card timing issue here. Some SD cards don't work while others do.
Maybe it is the different issue. The UART debugger board works fine with sd card in my case.
Regards
We have seen a number of SD issues in the bootloader related to getting stuck in loops waiting for state changes that don't happen, but I think we have them all fixed in the bootloader source we use in AOSP.
Can you flash the loader and fip from the AOSP hikey/installer directory and see if you can reproduce?
Haojian: did those fixes not make it to the upstream openplatformpackage project?
-john
On Feb 13, 2017 1:42 AM, "Viresh Kumar" viresh.kumar@linaro.org wrote:
Hi Guys,
I am looking to setup dual boot with Android (emmc) and Ubuntu (SD) on hikey board. And am facing some difficulties currently.
I took bootloaders from here: http://builds.96boards.org/snapshots/hikey/linaro/uefi-openplatformpkg/57/
Debian SD card image from: http://builds.96boards.org/snapshots/reference-platform/ debian/latest/hikey/ and did dd to the SD card which has boot and rootfs partitions now.
I took AOSP images from here: http://builds.96boards.org/releases/hikey/linaro/aosp/latest/ and I am using boot_fat.uefi.img.
Now when the SD card isn't inserted and pin 5-6 are shorted, the board boots into fastboot with options to boot from SD, emmc, etc. I can boot into emmc and boot android just fine. All works fine. If I insert the SD card now, I can see the partitions in /dev/block/mmcblk1**.
But, if I insert the SD card before booting up, then I get this on terminal: http://pastebin.com/A7JkPZS7 and don't see any more prints after that.
If I power on the board before inserting SD card and get up to the menu, where I can select SD or emmc or fastboot and then insert SD card, the minicom terminal hangs.
I have tried two 8 GB SDHC cards from Trascend and sandisk already.
Any clues ?
-- viresh _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 13 Feb 2017 10:07 p.m., "John Stultz" john.stultz@linaro.org wrote:
We have seen a number of SD issues in the bootloader related to getting stuck in loops waiting for state changes that don't happen, but I think we have them all fixed in the bootloader source we use in AOSP.
Can you flash the loader and fip from the AOSP hikey/installer directory and see if you can reproduce?
The bootloader used has all the fixes which are pushed into AOSP. I have tried same setup as Viresh but I haven't been able to reproduce it locally. The problem seems to happen with select sdcard since Viresh was able to see the same issue with same sdcard on 2 different HiKeys.
Haojian: did those fixes not make it to the upstream openplatformpackage project?
-john
On Feb 13, 2017 1:42 AM, "Viresh Kumar" viresh.kumar@linaro.org wrote:
Hi Guys,
I am looking to setup dual boot with Android (emmc) and Ubuntu (SD) on hikey board. And am facing some difficulties currently.
I took bootloaders from here: http://builds.96boards.org/snapshots/hikey/linaro/uefi-openplatformpkg/57/
Debian SD card image from: http://builds.96boards.org/snapshots/reference-platform/debi an/latest/hikey/ and did dd to the SD card which has boot and rootfs partitions now.
I took AOSP images from here: http://builds.96boards.org/releases/hikey/linaro/aosp/latest/ and I am using boot_fat.uefi.img.
Now when the SD card isn't inserted and pin 5-6 are shorted, the board boots into fastboot with options to boot from SD, emmc, etc. I can boot into emmc and boot android just fine. All works fine. If I insert the SD card now, I can see the partitions in /dev/block/mmcblk1**.
But, if I insert the SD card before booting up, then I get this on terminal: http://pastebin.com/A7JkPZS7 and don't see any more prints after that.
If I power on the board before inserting SD card and get up to the menu, where I can select SD or emmc or fastboot and then insert SD card, the minicom terminal hangs.
I have tried two 8 GB SDHC cards from Trascend and sandisk already.
Any clues ?
-- viresh _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
_______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
I think all SD patches are applied into hikey code base.
Regards Haojian
From: John Stultzmailto:john.stultz@linaro.org Sent: 2017年2月14日 0:37 To: Viresh Kumarmailto:viresh.kumar@linaro.org; Haojian Zhuangmailto:haojian.zhuang@linaro.org Cc: devmailto:dev@lists.96boards.org Subject: Re: [Dev] Hikey hangs with SD card
We have seen a number of SD issues in the bootloader related to getting stuck in loops waiting for state changes that don't happen, but I think we have them all fixed in the bootloader source we use in AOSP.
Can you flash the loader and fip from the AOSP hikey/installer directory and see if you can reproduce?
Haojian: did those fixes not make it to the upstream openplatformpackage project?
-john
On Feb 13, 2017 1:42 AM, "Viresh Kumar" <viresh.kumar@linaro.orgmailto:viresh.kumar@linaro.org> wrote: Hi Guys,
I am looking to setup dual boot with Android (emmc) and Ubuntu (SD) on hikey board. And am facing some difficulties currently.
I took bootloaders from here: http://builds.96boards.org/snapshots/hikey/linaro/uefi-openplatformpkg/57/
Debian SD card image from: http://builds.96boards.org/snapshots/reference-platform/debian/latest/hikey/ and did dd to the SD card which has boot and rootfs partitions now.
I took AOSP images from here: http://builds.96boards.org/releases/hikey/linaro/aosp/latest/ and I am using boot_fat.uefi.img.
Now when the SD card isn't inserted and pin 5-6 are shorted, the board boots into fastboot with options to boot from SD, emmc, etc. I can boot into emmc and boot android just fine. All works fine. If I insert the SD card now, I can see the partitions in /dev/block/mmcblk1**.
But, if I insert the SD card before booting up, then I get this on terminal: http://pastebin.com/A7JkPZS7 and don't see any more prints after that.
If I power on the board before inserting SD card and get up to the menu, where I can select SD or emmc or fastboot and then insert SD card, the minicom terminal hangs.
I have tried two 8 GB SDHC cards from Trascend and sandisk already.
Any clues ?
-- viresh _______________________________________________ Dev mailing list Dev@lists.96boards.orgmailto:Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 13-02-17, 08:37, John Stultz wrote:
We have seen a number of SD issues in the bootloader related to getting stuck in loops waiting for state changes that don't happen, but I think we have them all fixed in the bootloader source we use in AOSP.
Can you flash the loader and fip from the AOSP hikey/installer directory and see if you can reproduce?
Haojian: did those fixes not make it to the upstream openplatformpackage project?
Finally I have handed over my SD card to Vishal and he is able to reproduce the issue now. He should be able to get a solution soon :)
Hi,
I have pushed a fix for the sd hang issue. Please try the latest build of the bootloader and let me know if people are still facing the same issue: https://builds.96boards.org/snapshots/reference-platform/components/uefi/150...
Regards, Vishal
On 14 February 2017 at 16:38, Viresh Kumar viresh.kumar@linaro.org wrote:
On 13-02-17, 08:37, John Stultz wrote:
We have seen a number of SD issues in the bootloader related to getting stuck in loops waiting for state changes that don't happen, but I think
we
have them all fixed in the bootloader source we use in AOSP.
Can you flash the loader and fip from the AOSP hikey/installer directory and see if you can reproduce?
Haojian: did those fixes not make it to the upstream openplatformpackage project?
Finally I have handed over my SD card to Vishal and he is able to reproduce the issue now. He should be able to get a solution soon :)
-- viresh _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Vishal, thanks, I'll give it a spin before the end of my day today and let you know. David
On Wed, 15 Feb 2017, 14:30 Vishal Bhoj, vishal.bhoj@linaro.org wrote:
Hi,
I have pushed a fix for the sd hang issue. Please try the latest build of the bootloader and let me know if people are still facing the same issue:
https://builds.96boards.org/snapshots/reference-platform/components/uefi/150...
Regards, Vishal
On 14 February 2017 at 16:38, Viresh Kumar viresh.kumar@linaro.org wrote:
On 13-02-17, 08:37, John Stultz wrote:
We have seen a number of SD issues in the bootloader related to getting stuck in loops waiting for state changes that don't happen, but I think
we
have them all fixed in the bootloader source we use in AOSP.
Can you flash the loader and fip from the AOSP hikey/installer directory and see if you can reproduce?
Haojian: did those fixes not make it to the upstream openplatformpackage project?
Finally I have handed over my SD card to Vishal and he is able to reproduce the issue now. He should be able to get a solution soon :)
-- viresh _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 02/15/2017 03:30 PM, Vishal Bhoj wrote:
Hi,
I have pushed a fix for the sd hang issue. Please try the latest build of the bootloader and let me know if people are still facing the same issue: https://builds.96boards.org/snapshots/reference-platform/components/uefi/150...
Regards,
hi Vishal, could you send a link to the commit please?
On 15 Feb 2017 8:07 p.m., "Jorge Ramirez" jorge.ramirez-ortiz@linaro.org wrote:
On 02/15/2017 03:30 PM, Vishal Bhoj wrote:
Hi,
I have pushed a fix for the sd hang issue. Please try the latest build of the bootloader and let me know if people are still facing the same issue: https://builds.96boards.org/snapshots/reference-platform/com ponents/uefi/150/release/hikey/
Regards,
hi Vishal, could you send a link to the commit please?
https://github.com/96boards-hikey/edk2/commit/c8fac638773d78ff3f84e57fe664a2...
I can confirm that it works on another board now. It also auto boots from the SD card when booted with the card inserted. Many thanks for fixing an irritating issue.
David
On 15/02/17 14:39, Vishal Bhoj wrote:
On 15 Feb 2017 8:07 p.m., "Jorge Ramirez" <jorge.ramirez-ortiz@linaro.org mailto:jorge.ramirez-ortiz@linaro.org> wrote:
On 02/15/2017 03:30 PM, Vishal Bhoj wrote: Hi, I have pushed a fix for the sd hang issue. Please try the latest build of the bootloader and let me know if people are still facing the same issue: https://builds.96boards.org/snapshots/reference-platform/components/uefi/150/release/hikey/ <https://builds.96boards.org/snapshots/reference-platform/components/uefi/150/release/hikey/> Regards, hi Vishal, could you send a link to the commit please?
https://github.com/96boards-hikey/edk2/commit/c8fac638773d78ff3f84e57fe664a2...
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
I can confirm that this firmware works on a system (with an SD Card) that hung on the latest release. In other words, the only change was the firmware and it started working. Many thanks, I'll buy you a beer in Budapest...
David
On 15/02/17 14:37, Jorge Ramirez wrote:
On 02/15/2017 03:30 PM, Vishal Bhoj wrote:
Hi,
I have pushed a fix for the sd hang issue. Please try the latest build of the bootloader and let me know if people are still facing the same issue: https://builds.96boards.org/snapshots/reference-platform/components/uefi/150...
Regards,
hi Vishal, could you send a link to the commit please? _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev