Jump to content

[SOLVED] helios64 doesn't boot (EMMc filesystem corrupted)


Recommended Posts

Posted (edited)

Hi!

 

My Helios64 crashed, rebooted, then refuses to continue. Seems something is corrupted : the eMMC module?

The eMMC contains the /boot folder, then the rootfs is on 1st disk, sda1.

So I didn't lose anything, I guess.

 

I will try to boot an microSD card with armbian and if it works, I will boot from it.

With the sd card, it doesn't boot, I will disable eMMC with the jumper as documented in the wiki

 

Is it fixable?

 

Here are the startup messages:

DDR Version 1.25 20210517
In
channel 0
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 416MHz 0,1
Channel 0: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
Channel 1: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
256B stride
channel 0
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 416MHz 0,1
Channel 0: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
Channel 1: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
256B stride
channel 0
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
channel 0, cs 0, advanced training done
channel 1, cs 0, advanced training done
change freq to 856MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x40
ch 1 ddrconfig = 0x101, ddrsize = 0x40
pmugrf_os_reg[2] = 0x32C1F2C1, stride = 0xD
ddr_set_rate to 328MHZ
ddr_set_rate to 666MHZ
ddr_set_rate to 928MHZ
channel 0, cs 0, advanced training done                                                                                                                                                                                                      
channel 1, cs 0, advanced training done                                                                                                                                                                                                      
ddr_set_rate to 416MHZ, ctl_index 0                                                                                                                                                                                                          
ddr_set_rate to 856MHZ, ctl_index 1                                                                                                                                                                                                          
support 416 856 328 666 928 MHz, current 856MHz                                                                                                                                                                                              
OUT                                                                                                                                                                                                                                          
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26                                                                                                                                                                                      
CPUId = 0x0                                                                                                                                                                                                                                  
ChipType = 0x10, 351                                                                                                                                                                                                                         
SdmmcInit=2 0                                                                                                                                                                                                                                
BootCapSize=100000                                                                                                                                                                                                                           
UserCapSize=14910MB                                                                                                                                                                                                                          
FwPartOffset=2000 , 100000                                                                                                                                                                                                                   
mmc0:cmd8,20                                                                                                                                                                                                                                 
mmc0:cmd5,20                                                                                                                                                                                                                                 
mmc0:cmd55,20                                                                                                                                                                                                                                
mmc0:cmd1,20                                                                                                                                                                                                                                 
mmc0:cmd8,20                                                                                                                                                                                                                                 
mmc0:cmd5,20                                                                                                                                                                                                                                 
mmc0:cmd55,20                                                                                                                                                                                                                                
mmc0:cmd1,20                                                                                                                                                                                                                                 
mmc0:cmd8,20                                                                                                                                                                                                                                 
mmc0:cmd5,20                                                                                                                                                                                                                                 
mmc0:cmd55,20                                                                                                                                                                                                                                
mmc0:cmd1,20                                                                                                                                                                                                                                 
SdmmcInit=0 1                                                                                                                                                                                                                                
StorageInit ok = 68635                                                                                                                                                                                                                       
SecureMode = 0                                                                                                                                                                                                                               
SecureInit read PBA: 0x4                                                                                                                                                                                                                     
SecureInit read PBA: 0x404                                                                                                                                                                                                                   
SecureInit read PBA: 0x804                                                                                                                                                                                                                   
SecureInit read PBA: 0xc04                                                                                                                                                                                                                   
SecureInit read PBA: 0x1004                                                                                                                                                                                                                  
SecureInit read PBA: 0x1404                                                                                                                                                                                                                  
SecureInit read PBA: 0x1804                                                                                                                                                                                                                  
SecureInit read PBA: 0x1c04                                                                                                                                                                                                                  
SecureInit ret = 0, SecureMode = 0                                                                                                                                                                                                           
atags_set_bootdev: ret:(0)                                                                                                                                                                                                                   
GPT 0x3335db8 signature is wrong                                                                                                                                                                                                             
recovery gpt...                                                                                                                                                                                                                              
GPT 0x3335db8 signature is wrong                                                                                                                                                                                                             
recovery gpt fail!                                                                                                                                                                                                                           
Trust Addr:0x4000, 0x58334c42                                                                                                                                                                                                                
No find bl30.bin                                                                                                                                                                                                                             
No find bl32.bin                                                                                                                                                                                                                             
Load uboot, ReadLba = 2000                                                                                                                                                                                                                   
Load OK, addr=0x200000, size=0xea92c                                                                                                                                                                                                         
RunBL31 0x40000 @ 95489 us                                                                                                                                                                                                                   
NOTICE:  BL31: v1.3(release):845ee93                                                                                                                                                                                                         
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9

U-Boot 2021.07-armbian (Feb 27 2022 - 08:44:53 +0000)

SoC: Rockchip rk3399
Reset cause: POR
DRAM:  3.9 GiB
PMIC:  RK808 
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
MMC:   mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Helios64
Revision: 1.2 - 4GB non ECC
Net:   dw_dm_mdio_init: mdio node is missing, registering legacy mdio busNo ethernet found.

scanning bus for devices...
Hit any key to stop autoboot:  0 
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk mmc@fe320000.blk...
Disk mmc@fe320000.blk not ready
Scanning disk sdhci@fe330000.blk...
Found 2 disks
No EFI system partition
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busBootOrder not defined
EFI boot manager: Cannot load any image
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus dwc3 for devices... cannot reset port 4!?
5 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
scanning bus for devices...

Device 0: unknown device                                                                                                                                                                                                                     
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, 
registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_i
nit: mdio node is missing, registering legacy mdio busNo ethernet found.                                                                                                                                                                     
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: pxeuuid                                                                    
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile                                                                   
Retrieving file: pxelinux.cfg/00000000                                                                                                                                                                                                       
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, 
registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_i
nit: mdio node is missing, registering legacy mdio busNo ethernet found.                                                                                                                                                                     
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile                                                                   
Retrieving file: pxelinux.cfg/0000000                                                                                                                                                                                                        
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, 
registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_i
nit: mdio node is missing, registering legacy mdio busNo ethernet found.                                                                                                                                                                     
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile                                                                   
Retrieving file: pxelinux.cfg/000000
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, 
registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_i
nit: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, 
registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_i
nit: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, 
registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_i
nit: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, h
registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_i
nit: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk3399-helios64
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, 
registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_i
nit: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk3399
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busmissing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busConfig file not found
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio busNo ethernet found.
dw_dm_mdio_init: mdio node is missing, registering legacy mdio busdw_dm_mdio_init: mdio node is missing, registering legacy mdio bus=> 

 

Edited by alchemist
Posted (edited)

OK , I can boot from USB. Let's see what happened...

 

EDIT: and access to the eMMC and disk 1 (system + swap). Both seems OK. Will reformat eMMC and see what happens

Edited by alchemist
Posted

yeah, after reformatting eMMC (using nand-sata-install), I have a blank armbian running on eMMC. Now I can push my backop on eMMC and roll again ;)

 

This helios64 has too much failures, I will transfer the disks back to the helios4 I still have, and the server software to a Intel N100 mini PC...

  • alchemist changed the title to [SOLVED] helios64 doesn't boot (EMMc filesystem corrupted)

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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines