| 
 | 
 
 This post was finally edited by Saddamko at 2023-3-28 02:41  
 
My i96 now can't boot from any MicroSD image (Debian, Android,Ubuntu) 
Process of OS loading is stopped at this point: 
 
- ## Loading init Ramdisk from Legacy Image at 85000000 ...
 
 -    Image Name:   uInitrd
 
 -    Image Type:   ARM Linux RAMDisk Image (gzip compressed)
 
 -    Data Size:    3091255 Bytes = 2.9 MiB
 
 -    Load Address: 00000000
 
 -    Entry Point:  00000000
 
  
- Starting kernel ...
 
  
- Uncompressing Linux... done, booting the kernel.
 
 - Loading, please wait...
 
 - Begin: Loading essential drivers ... done.
 
 - Begin: Running /scripts/init-premount ... done.
 
 - Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
 
 - Begin: Running /scripts/local-premount ... done.
 
 - Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
 
 - Begin: Running /scripts/local-block ... done.
 
 - Begin: Running /scripts/local-block ... done.
 
 - ...
 
 - Begin: Running /scripts/local-block ... done.
 
 - Begin: Running /scripts/local-block ... done.
 
 - done.
 
 - Gave up waiting for root device.  Common problems:
 
 -  - Boot args (cat /proc/cmdline)
 
 -    - Check rootdelay= (did the system wait long enough?)
 
 -    - Check root= (did the system wait for the right device?)
 
 -  - Missing modules (cat /proc/modules; ls /dev)
 
 - ALERT!  /dev/mmcblk0p2 does not exist.  Dropping to a shell!
 
 - Rebooting automatically due to panic= boot argument
 
 
  Copy code 
I'm trying to boot from  OrangePi_i96_debian_stretch_server_linux3.10.62_v0.0.4.img, OrangePi_i96_debian_stretch_server_linux3.10.62_v0.0.4.img, OrangePi_i96_ubuntu_xenial_server_linux3.10.62_v0.0.4 e.t.c. 
 
Maybe, I was changed something in NAND early in RDA console. 
(Some successful experiments have a place in past with adding CH341SER_LINUX driver to Debian). 
Now, my i96 switch settings is OFF-OFF-OFF-OFF-ON-ON-ON-ON, Boot mode is OS. 
I can stop process of booting and work in RDA console: 
 
- RDA8810 Boot_ROM V1.6
 
 - HW_CFG: 0286
 
 - SW_CFG: 0001
 
 - Load EMMC
 
 - Open eMMC
 
 - EMMC OCR timeout
 
 - Open eMMC card Failed
 
 - Load EMMC Fail
 
 - Load SD
 
 - Open SD card
 
 - mcd_Open
 
 - Card is SDHC
 
 - Inserted Card is a SD card
 
 - mcd_Open Done
 
 - Loading image from SD card ................................................................................................Done
 
 - Check Image ... Done
 
 - Run ...
 
 - Init Clock ...
 
 - Clock config ver: 1.0
 
 - PMU vbuck1 = 9, vbuck3 = 10
 
 - setup ddr vtt to 1
 
 - setup ddr vtt to 1
 
 - setup ddr vtt to 1
 
 - setup ddr vtt to 1
 
 - setup ddr vtt to 1
 
 - setup ddr vtt to 1
 
 - setup ddr vtt to 1
 
 - setup ddr vtt to 1
 
 - setup ddr vtt to 1
 
  
 
- rda2 stand for dqs_prsel_preset
 
 - rda2=0 rda2=1 rda2=2 rda2=3 rda2=4 rda2=5 rda2=6 rda2=7
 
 -    R      R      R      R      R      *      *      R
 
 - Please check the result and choose the best one
 
 -  final rda2= 1, rda2_old = 2
 
 - setup ddr vtt to 1
 
 - pll freq CPU = 988
 
 - pll freq BUS = 800
 
 - pll freq MEM = 260
 
 - Init DDR, flag = 0x0002, para = 0x00001338
 
 - 32bit dll-on Mode ...
 
 - ddr2 phy init done!
 
 - format ctrl value: 22000202
 
 - address ctrl value: 30301
 
 - decode ctrl value: 10
 
 - dram init done ...
 
 - Done
 
 - SETTING SECURITY CONTEXT
 
 - Board security: Not present
 
 - Init emmc ...
 
 - MMC: registered mmc interface 0
 
 - Spl init emmc first, use default zero mclk adj and inv.
 
 - MMC: registered mmc interface 1
 
 - raise: Signal # 8 caught
 
 - ERROR: v7_dcache_inval_range - stop address is not aligned - 0x0010fd48
 
 - -------------MMC information-----------
 
 - Manufacturer ID: 2,  Name: Unknown
 
 - OEM: 544d
 
 - Tran Speed: 25000000
 
 - Rd Block Len: 512
 
 - SD version 3.0
 
 - High Capacity: Yes
 
 - Capacity: Bus Width: 4-bit
 
 - -----------------------------------------
 
 - boot_mmc mfr id = 2
 
 - EMMC boot ...
 
 - Check Image ...Verify image:
 
 -  Done
 
  
 
- U-Boot 2012.04.442-rel5.0.2-gac25114-dirty (Jul 10 2017 - 14:20:25)
 
  
- RDA8810 SoC
 
 - Board: RDA8810
 
 - DRAM:  236 MiB
 
 - CPU: enable instruction caches
 
 - CPU: enable data caches
 
 - CPU: enable neon
 
 - CPU:   p15-c1-c1 (NSACR): 0x00000000 -> 0x00000c00
 
 - CPU:   p15-c1-c0 (CPACR): 0x00000000 -> 0x00f00000
 
 - NAND:  metal 28 hwcfg 286, use eMMC, skip nand init
 
 - 0 MiB
 
 - MMC:   MMC: registered mmc interface 0
 
 - Cannot find the emmc corresponding mclk adj and inv.Now use default zero. Please add it
 
 - MMC: registered mmc interface 1
 
 - ERROR: v7_dcache_inval_range - stop address is not aligned - 0x8dae5e88
 
 - -------------MMC information-----------
 
 - Manufacturer ID: 2,  Name: Unknown
 
 - OEM: 544d
 
 - Tran Speed: 25000000
 
 - Rd Block Len: 512
 
 - SD version 3.0
 
 - High Capacity: Yes
 
 - Capacity: Bus Width: 4-bit
 
 - -----------------------------------------
 
 - MMC: 0, MMC: 1
 
 - Using default environment
 
  
- In:    serial
 
 - Out:   serial
 
 - Err:   serial
 
 - Hit any key to stop autoboot:  0
 
 - RDA >
 
 
  Copy code 
Unfortunately, I don’t really understand the process of loading the operating system in i96, does anyone know how to restore NAND in factory state, maybe by loading some special image via MicroSD, OrangePi_2G-IOT_NandUpdate_Tools, TFTP? 
 
Feel free to help me   
 
 
 
 |   
 
 
 
 |