Can't boot from eMMc with Armbian 23.8 Bookworm
#1
Hello team!

I try to evaluate the platform based on:
  • Sopine Baseboard model A
  • Sopine A64 compute module
  • Armbian 23.8 Bookworm

There is no issue with SDCard boot.

But when I try to boot the same image from eMMC (32G), the process stopped when the kernel start.

Here is an extract of the log from the serial console:
Please go to the last line to see the last operation.

Code:
[10:40:49:671] U-Boot SPL 2023.07.02-armbian (Aug 31 2023 - 08:27:25 +0000)
[10:40:49:695] DRAM: 2048 MiB
[10:40:49:695] Trying to boot from MMC2
[10:40:50:402] NOTICE:  BL31: v2.9(debug):armbian
[10:40:50:402] NOTICE:  BL31: Built : 08:27:02, Aug 31 2023
[10:40:50:402] NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
[10:40:50:402] NOTICE:  BL31: Found U-Boot DTB at 0x20ab818, model: SoPine with baseboard
[10:40:50:402] INFO:    ARM GICv2 driver initialized
[10:40:50:402] INFO:    Configuring SPC Controller
[10:40:50:402] INFO:    PMIC: Probing AXP803 on RSB
[10:40:50:402] INFO:    PMIC: dcdc1 voltage: 3.300V
[10:40:50:402] INFO:    PMIC: dcdc5 voltage: 1.200V
[10:40:50:402] INFO:    PMIC: dcdc6 voltage: 1.100V
[10:40:50:402] INFO:    PMIC: dldo1 voltage: 3.300V
[10:40:50:402] INFO:    PMIC: dldo2 voltage: 3.300V
[10:40:50:448] INFO:    PMIC: dldo4 voltage: 3.300V
[10:40:50:448] INFO:    PMIC: fldo1 voltage: 1.200V
[10:40:50:448] INFO:    PMIC: Enabling DC SW
[10:40:50:448] INFO:    BL31: Platform setup done
[10:40:50:448] INFO:    BL31: Initializing runtime services
[10:40:50:448] INFO:    BL31: cortex_a53: CPU workaround for 843419 was applied
[10:40:50:448] INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
[10:40:50:448] INFO:    BL31: cortex_a53: CPU workaround for 1530924 was applied
[10:40:50:448] SCP/INF: Crust v0.5.10000
[10:40:50:448] INFO:    PSCI: Suspend is available via SCPI
[10:40:50:448] INFO:    BL31: Preparing for EL3 exit to normal world
[10:40:50:468] INFO:    Entry point address = 0x4a000000
[10:40:50:468] INFO:    SPSR = 0x3c9
[10:40:50:961] ns16550_serial serial@1c28000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
[10:40:50:961]
[10:40:50:961]
[10:40:50:961] U-Boot 2023.07.02-armbian (Aug 31 2023 - 08:27:25 +0000) Allwinner Technology
[10:40:50:961]
[10:40:50:961] CPU:   Allwinner A64 (SUN50I)
[10:40:50:961] Model: SoPine with baseboard
[10:40:50:961] DRAM:  2 GiB
[10:40:51:022] Core:  73 devices, 22 uclasses, devicetree: separate
[10:40:51:022] WDT:   Not starting watchdog@1c20ca0
[10:40:51:022] MMC:   mmc@1c0f000: 0, mmc@1c11000: 1
[10:40:51:045] Loading Environment from FAT... Unable to use mmc 1:1...
[10:40:52:787] In:    serial
[10:40:52:787] Out:   serial
[10:40:52:787] Err:   serial
[10:40:52:803] Net:   eth0: ethernet@1c30000
[10:40:52:843] MMC: no card present
[10:40:52:843] ** Bad device specification mmc 0 **
[10:40:52:843] Couldn't find partition mmc 0
[10:40:52:843] MMC: no card present
[10:40:52:843] ** Bad device specification mmc 0 **
[10:40:52:843] Couldn't find partition mmc 0
[10:40:52:843] starting USB...
[10:40:52:843] Bus usb@1c1a000: sun4i_usb_phy phy@1c19400: External vbus detected, not enabling our own vbus
[10:40:52:881] USB EHCI 1.00
[10:40:52:881] Bus usb@1c1a400: USB OHCI 1.0
[10:40:52:897] Bus usb@1c1b000: USB EHCI 1.00
[10:40:52:924] Bus usb@1c1b400: USB OHCI 1.0
[10:40:52:924] scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
[10:40:54:067] scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
[10:40:55:194] scanning bus usb@1c1b000 for devices... 1 USB Device(s) found
[10:40:56:329] scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
[10:40:57:468]        scanning usb for storage devices... 0 Storage Device(s) found
[10:40:57:468] Autoboot in 1 seconds, press <Space> to stop
[10:40:58:507] switch to partitions #0, OK
[10:40:58:523] mmc1(part 0) is current device
[10:40:58:523] Scanning mmc 1:1...
[10:40:58:555] Found U-Boot script /boot/boot.scr
[10:40:58:602] 3259 bytes read in 5 ms (635.7 KiB/s)
[10:40:58:602] ## Executing script at 4fc00000
[10:40:58:602] U-boot loaded from eMMC or secondary SD
[10:40:58:602] Boot script loaded from mmc
[10:40:58:602] 155 bytes read in 4 ms (37.1 KiB/s)
[10:40:58:602] MMC: no card present
[10:40:58:602] ** Bad device specification mmc 0 **
[10:40:58:642] 41715 bytes read in 11 ms (3.6 MiB/s)
[10:40:58:642] Working FDT set to 4fa00000
[10:40:58:642] 3821 bytes read in 5 ms (746.1 KiB/s)
[10:40:58:642] Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
[10:40:58:642] ## Executing script at 45000000
[10:40:59:041] 18215274 bytes read in 395 ms (44 MiB/s)
[10:40:59:533] 22390792 bytes read in 476 ms (44.9 MiB/s)
[10:40:59:533] Moving Image from 0x40080000 to 0x40200000, end=417d0000
[10:40:59:733] ## Loading init Ramdisk from Legacy Image at 4ff00000 ...
[10:40:59:733]    Image Name:   uInitrd
[10:40:59:733]    Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
[10:40:59:733]    Data Size:    18215210 Bytes = 17.4 MiB
[10:40:59:733]    Load Address: 00000000
[10:40:59:733]    Entry Point:  00000000
[10:40:59:733]    Verifying Checksum ... OK
[10:40:59:861] ## Flattened Device Tree blob at 4fa00000
[10:40:59:861]    Booting using the fdt blob at 0x4fa00000
[10:40:59:882] Working FDT set to 4fa00000
[10:40:59:882]    Loading Ramdisk to 48ea0000, end 49fff12a ... OK
[10:40:59:912]    Loading Device Tree to 0000000048e2d000, end 0000000048e9ffff ... OK
[10:40:59:912] Working FDT set to 48e2d000
[10:41:00:344]
[10:41:00:344] Starting kernel ...
[10:41:00:344]
[10:41:03:989] <0x1b>[2J<0x1b>[3J<0x1b>[-1;-1fdone.
[10:41:04:014] Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
[10:41:04:014] Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems


It would be helpfull if somebody have any idea to solved this .

thanks for the support,
BR
  Reply
#2
(11-07-2023, 02:50 AM)francoispawlus Wrote: Hello team!

I try to evaluate the platform based on:
  • Sopine Baseboard model A
  • Sopine A64 compute module
  • Armbian 23.8 Bookworm

There is no issue with SDCard boot.

But when I try to boot the same image from eMMC (32G), the process stopped when the kernel start.

Here is an extract of the log from the serial console:
Please go to the last line to see the last operation.

Code:
[10:40:49:671] U-Boot SPL 2023.07.02-armbian (Aug 31 2023 - 08:27:25 +0000)
[10:40:49:695] DRAM: 2048 MiB
[10:40:49:695] Trying to boot from MMC2
[10:40:50:402] NOTICE:  BL31: v2.9(debug):armbian
[10:40:50:402] NOTICE:  BL31: Built : 08:27:02, Aug 31 2023
[10:40:50:402] NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
[10:40:50:402] NOTICE:  BL31: Found U-Boot DTB at 0x20ab818, model: SoPine with baseboard
[10:40:50:402] INFO:    ARM GICv2 driver initialized
[10:40:50:402] INFO:    Configuring SPC Controller
[10:40:50:402] INFO:    PMIC: Probing AXP803 on RSB
[10:40:50:402] INFO:    PMIC: dcdc1 voltage: 3.300V
[10:40:50:402] INFO:    PMIC: dcdc5 voltage: 1.200V
[10:40:50:402] INFO:    PMIC: dcdc6 voltage: 1.100V
[10:40:50:402] INFO:    PMIC: dldo1 voltage: 3.300V
[10:40:50:402] INFO:    PMIC: dldo2 voltage: 3.300V
[10:40:50:448] INFO:    PMIC: dldo4 voltage: 3.300V
[10:40:50:448] INFO:    PMIC: fldo1 voltage: 1.200V
[10:40:50:448] INFO:    PMIC: Enabling DC SW
[10:40:50:448] INFO:    BL31: Platform setup done
[10:40:50:448] INFO:    BL31: Initializing runtime services
[10:40:50:448] INFO:    BL31: cortex_a53: CPU workaround for 843419 was applied
[10:40:50:448] INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
[10:40:50:448] INFO:    BL31: cortex_a53: CPU workaround for 1530924 was applied
[10:40:50:448] SCP/INF: Crust v0.5.10000
[10:40:50:448] INFO:    PSCI: Suspend is available via SCPI
[10:40:50:448] INFO:    BL31: Preparing for EL3 exit to normal world
[10:40:50:468] INFO:    Entry point address = 0x4a000000
[10:40:50:468] INFO:    SPSR = 0x3c9
[10:40:50:961] ns16550_serial serial@1c28000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
[10:40:50:961]
[10:40:50:961]
[10:40:50:961] U-Boot 2023.07.02-armbian (Aug 31 2023 - 08:27:25 +0000) Allwinner Technology
[10:40:50:961]
[10:40:50:961] CPU:   Allwinner A64 (SUN50I)
[10:40:50:961] Model: SoPine with baseboard
[10:40:50:961] DRAM:  2 GiB
[10:40:51:022] Core:  73 devices, 22 uclasses, devicetree: separate
[10:40:51:022] WDT:   Not starting watchdog@1c20ca0
[10:40:51:022] MMC:   mmc@1c0f000: 0, mmc@1c11000: 1
[10:40:51:045] Loading Environment from FAT... Unable to use mmc 1:1...
[10:40:52:787] In:    serial
[10:40:52:787] Out:   serial
[10:40:52:787] Err:   serial
[10:40:52:803] Net:   eth0: ethernet@1c30000
[10:40:52:843] MMC: no card present
[10:40:52:843] ** Bad device specification mmc 0 **
[10:40:52:843] Couldn't find partition mmc 0
[10:40:52:843] MMC: no card present
[10:40:52:843] ** Bad device specification mmc 0 **
[10:40:52:843] Couldn't find partition mmc 0
[10:40:52:843] starting USB...
[10:40:52:843] Bus usb@1c1a000: sun4i_usb_phy phy@1c19400: External vbus detected, not enabling our own vbus
[10:40:52:881] USB EHCI 1.00
[10:40:52:881] Bus usb@1c1a400: USB OHCI 1.0
[10:40:52:897] Bus usb@1c1b000: USB EHCI 1.00
[10:40:52:924] Bus usb@1c1b400: USB OHCI 1.0
[10:40:52:924] scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
[10:40:54:067] scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
[10:40:55:194] scanning bus usb@1c1b000 for devices... 1 USB Device(s) found
[10:40:56:329] scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
[10:40:57:468]        scanning usb for storage devices... 0 Storage Device(s) found
[10:40:57:468] Autoboot in 1 seconds, press <Space> to stop
[10:40:58:507] switch to partitions #0, OK
[10:40:58:523] mmc1(part 0) is current device
[10:40:58:523] Scanning mmc 1:1...
[10:40:58:555] Found U-Boot script /boot/boot.scr
[10:40:58:602] 3259 bytes read in 5 ms (635.7 KiB/s)
[10:40:58:602] ## Executing script at 4fc00000
[10:40:58:602] U-boot loaded from eMMC or secondary SD
[10:40:58:602] Boot script loaded from mmc
[10:40:58:602] 155 bytes read in 4 ms (37.1 KiB/s)
[10:40:58:602] MMC: no card present
[10:40:58:602] ** Bad device specification mmc 0 **
[10:40:58:642] 41715 bytes read in 11 ms (3.6 MiB/s)
[10:40:58:642] Working FDT set to 4fa00000
[10:40:58:642] 3821 bytes read in 5 ms (746.1 KiB/s)
[10:40:58:642] Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
[10:40:58:642] ## Executing script at 45000000
[10:40:59:041] 18215274 bytes read in 395 ms (44 MiB/s)
[10:40:59:533] 22390792 bytes read in 476 ms (44.9 MiB/s)
[10:40:59:533] Moving Image from 0x40080000 to 0x40200000, end=417d0000
[10:40:59:733] ## Loading init Ramdisk from Legacy Image at 4ff00000 ...
[10:40:59:733]    Image Name:   uInitrd
[10:40:59:733]    Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
[10:40:59:733]    Data Size:    18215210 Bytes = 17.4 MiB
[10:40:59:733]    Load Address: 00000000
[10:40:59:733]    Entry Point:  00000000
[10:40:59:733]    Verifying Checksum ... OK
[10:40:59:861] ## Flattened Device Tree blob at 4fa00000
[10:40:59:861]    Booting using the fdt blob at 0x4fa00000
[10:40:59:882] Working FDT set to 4fa00000
[10:40:59:882]    Loading Ramdisk to 48ea0000, end 49fff12a ... OK
[10:40:59:912]    Loading Device Tree to 0000000048e2d000, end 0000000048e9ffff ... OK
[10:40:59:912] Working FDT set to 48e2d000
[10:41:00:344]
[10:41:00:344] Starting kernel ...
[10:41:00:344]
[10:41:03:989] <0x1b>[2J<0x1b>[3J<0x1b>[-1;-1fdone.
[10:41:04:014] Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
[10:41:04:014] Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems


It would be helpfull if somebody have any idea to solved this .

thanks for the support,
BR


Hello,
this issue seems to be solved by using an older image: Armbian_23.02.2_Pine64so_bullseye_current_5.15.93.img.xz

So, there is/are bug/s in the current one (Armbian 23.8 Bookworm) that avoid the using of eMMC module!

See you!
BR
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Try to boot armbian 22.02 on SoPine baseboard adjivas 1 989 01-11-2023, 03:20 PM
Last Post: MNtinkerer
  Manjaro won't boot from EmmC adjivas 0 523 12-30-2022, 06:25 PM
Last Post: adjivas
  Armbian 22.02 Release Announcement TRS-80 0 1,135 02-28-2022, 05:00 PM
Last Post: TRS-80
  Warning: Boot regression in latest kernels (4.19, 5.10 etc.) kuleszdl 4 3,712 08-22-2021, 01:27 PM
Last Post: kuleszdl
  No HDMI output on standard Debian install / no boot sagada 2 4,708 09-06-2020, 03:54 AM
Last Post: kuleszdl
  SOPINE Network boot Ninazu 1 3,863 05-11-2020, 12:40 PM
Last Post: lbruno
  Armbian - Xenial (SOPINE) pineadmin 6 14,435 08-05-2019, 01:17 AM
Last Post: pineadmin
  Armbian Luke 1 4,043 07-07-2019, 03:53 AM
Last Post: igorp
  Trying to boot archlinux-minimal-sopine-20170708-1.img kris240376 0 2,577 05-25-2018, 10:30 AM
Last Post: kris240376
  Cannot boot into Xenial Mate Jacob5146 4 6,957 04-22-2018, 11:00 AM
Last Post: Jacob5146

Forum Jump:


Users browsing this thread: 1 Guest(s)