0
SecT0uch

A64-LTS/SOPine not booting on SD when eMMC inserted

Recommended Posts

(edited)

Hi everybody and thanks the armbian team for your work.

 

I'm owning a SOPine module (SOPine-A64-Rev C) with a SOPine Baseboard (Model A Rev B), with the 16Go eMMC module sold by Pine64.

 

I tried these builds with the same issue:

  • Armbian_20.02.1_Pine64so_buster_current_5.4.20.img   (All the provided logs are from this build)
  • Armbian_20.02.1_Pine64so_bionic_current_5.4.20.img
  • Armbian_19.11.6_Pine64so_buster_current_5.4.7.img

 

I tried at first to write the image direclty to the eMMC  before noticing it wasn't the right way to do => I removed all the partitions from the eMMC.

 

When writing the image to the microSD card:

  • If I insert microSD card only => System boots properly
  • If I insert microSD card + eMMC module => Boot hangs after U-boot at :

 

Loading, please wait...
starting version 241
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Loading root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems


 

 

 

I also tried the image Armbian_20.05.0-trunk.117_Pine64so_focal_dev_5.6.5_minimal.img.

This image however hangs  1 or 2 minutes at:

Loading, please wait...
starting version 245.4-4ubuntu3

But ends by booting!

I have 2 relevant devices under /dev/:

  • mmcblk0:
    • mmcblk0p1
  • mmcblk2:
    • mmcblk2boot0
    • mmcblk2boot1

 

 

I would like to use if possible the Debian base, than the Ubuntu dev..

 

 While in U-boot console (with eMMC inserted):

  • With Armbian_20.02.1_Pine64so_buster_current_5.4.20.img:
=> version
U-Boot 2019.10-armbian (Feb 17 2020 - 09:28:03 +0100) Allwiner Tchnology

aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0
GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321
=> mmc dev
switch to patitions #0, OK
mmc0 is current device

=> mmc list
mmc@1c0f000: 0 (SD)
mmc@1c11000: 1

=> mmc dev 1
switch to patitions #0, OK
mmc1 (part 0) is current device

=> mmc list
mmc@1c0f000: 0 (SD)
mmc@1c11000: 1 (eMMC)

                   => I have to change device  for eMMC to be recognised ?

 

  • With Armbian_20.05.0-trunk.117_Pine64so_focal_dev_5.6.5_minimal.img:
=> version
U-Boot 2020.04-armbian (Apr 26 2020 - 09:12:13 +0200) Allwiner Tchnology

aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0
GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321
=> mmc dev
switch to patitions #0, OK
mmc0 is current device

=> mmc list
mmc@1c0f000: 0 (SD)
mmc@1c11000: 1 (eMMC)

=> eMMC recognised automatically.

 

Similar issues:

 

Edited by SecT0uch

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0