please choosego to mobile | Continue to access the PC version
View: 1660|Reply: 2

OrangePi i96 Boot Problem

[Copy link]

1

threads

2

posts

31

credits

Novice

Rank: 1

credits
31
Published in 2023-3-28 02:37:38 | Show all floors |Read mode
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:

  1. ## Loading init Ramdisk from Legacy Image at 85000000 ...
  2.    Image Name:   uInitrd
  3.    Image Type:   ARM Linux RAMDisk Image (gzip compressed)
  4.    Data Size:    3091255 Bytes = 2.9 MiB
  5.    Load Address: 00000000
  6.    Entry Point:  00000000

  7. Starting kernel ...

  8. Uncompressing Linux... done, booting the kernel.
  9. Loading, please wait...
  10. Begin: Loading essential drivers ... done.
  11. Begin: Running /scripts/init-premount ... done.
  12. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
  13. Begin: Running /scripts/local-premount ... done.
  14. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
  15. Begin: Running /scripts/local-block ... done.
  16. Begin: Running /scripts/local-block ... done.
  17. ...
  18. Begin: Running /scripts/local-block ... done.
  19. Begin: Running /scripts/local-block ... done.
  20. done.
  21. Gave up waiting for root device.  Common problems:
  22. - Boot args (cat /proc/cmdline)
  23.    - Check rootdelay= (did the system wait long enough?)
  24.    - Check root= (did the system wait for the right device?)
  25. - Missing modules (cat /proc/modules; ls /dev)
  26. ALERT!  /dev/mmcblk0p2 does not exist.  Dropping to a shell!
  27. 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:

  1. RDA8810 Boot_ROM V1.6
  2. HW_CFG: 0286
  3. SW_CFG: 0001
  4. Load EMMC
  5. Open eMMC
  6. EMMC OCR timeout
  7. Open eMMC card Failed
  8. Load EMMC Fail
  9. Load SD
  10. Open SD card
  11. mcd_Open
  12. Card is SDHC
  13. Inserted Card is a SD card
  14. mcd_Open Done
  15. Loading image from SD card ................................................................................................Done
  16. Check Image ... Done
  17. Run ...
  18. Init Clock ...
  19. Clock config ver: 1.0
  20. PMU vbuck1 = 9, vbuck3 = 10
  21. setup ddr vtt to 1
  22. setup ddr vtt to 1
  23. setup ddr vtt to 1
  24. setup ddr vtt to 1
  25. setup ddr vtt to 1
  26. setup ddr vtt to 1
  27. setup ddr vtt to 1
  28. setup ddr vtt to 1
  29. setup ddr vtt to 1


  30. rda2 stand for dqs_prsel_preset
  31. rda2=0 rda2=1 rda2=2 rda2=3 rda2=4 rda2=5 rda2=6 rda2=7
  32.    R      R      R      R      R      *      *      R
  33. Please check the result and choose the best one
  34. final rda2= 1, rda2_old = 2
  35. setup ddr vtt to 1
  36. pll freq CPU = 988
  37. pll freq BUS = 800
  38. pll freq MEM = 260
  39. Init DDR, flag = 0x0002, para = 0x00001338
  40. 32bit dll-on Mode ...
  41. ddr2 phy init done!
  42. format ctrl value: 22000202
  43. address ctrl value: 30301
  44. decode ctrl value: 10
  45. dram init done ...
  46. Done
  47. SETTING SECURITY CONTEXT
  48. Board security: Not present
  49. Init emmc ...
  50. MMC: registered mmc interface 0
  51. Spl init emmc first, use default zero mclk adj and inv.
  52. MMC: registered mmc interface 1
  53. raise: Signal # 8 caught
  54. ERROR: v7_dcache_inval_range - stop address is not aligned - 0x0010fd48
  55. -------------MMC information-----------
  56. Manufacturer ID: 2,  Name: Unknown
  57. OEM: 544d
  58. Tran Speed: 25000000
  59. Rd Block Len: 512
  60. SD version 3.0
  61. High Capacity: Yes
  62. Capacity: Bus Width: 4-bit
  63. -----------------------------------------
  64. boot_mmc mfr id = 2
  65. EMMC boot ...
  66. Check Image ...Verify image:
  67. Done


  68. U-Boot 2012.04.442-rel5.0.2-gac25114-dirty (Jul 10 2017 - 14:20:25)

  69. RDA8810 SoC
  70. Board: RDA8810
  71. DRAM:  236 MiB
  72. CPU: enable instruction caches
  73. CPU: enable data caches
  74. CPU: enable neon
  75. CPU:   p15-c1-c1 (NSACR): 0x00000000 -> 0x00000c00
  76. CPU:   p15-c1-c0 (CPACR): 0x00000000 -> 0x00f00000
  77. NAND:  metal 28 hwcfg 286, use eMMC, skip nand init
  78. 0 MiB
  79. MMC:   MMC: registered mmc interface 0
  80. Cannot find the emmc corresponding mclk adj and inv.Now use default zero. Please add it
  81. MMC: registered mmc interface 1
  82. ERROR: v7_dcache_inval_range - stop address is not aligned - 0x8dae5e88
  83. -------------MMC information-----------
  84. Manufacturer ID: 2,  Name: Unknown
  85. OEM: 544d
  86. Tran Speed: 25000000
  87. Rd Block Len: 512
  88. SD version 3.0
  89. High Capacity: Yes
  90. Capacity: Bus Width: 4-bit
  91. -----------------------------------------
  92. MMC: 0, MMC: 1
  93. Using default environment

  94. In:    serial
  95. Out:   serial
  96. Err:   serial
  97. Hit any key to stop autoboot:  0
  98. 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



1

threads

2

posts

31

credits

Novice

Rank: 1

credits
31
 Author| Published in 2023-4-3 00:01:09 | Show all floors
Thank you all for your help. She wasn't there. The device itself began to work after a while, stably. I associate the problems with the recent alignment of the planets. The question is removed.
  1. <p>Linux version 3.10.62-rel5.0.2-legendary-v1.37+ (root@james-Standard-PC-Q35-ICH9-2009) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1 -2012.02-20120222 - Linaro GCC 2012.02) ) #2 PREEMPT Wed Mar 22 13:44:45 MDT 2023</p><p>...</p><p>Debian GNU/Linux 11 orangepii96 ttyS0</p><p>
  2. </p><p>orangepii96 login:</p>
Copy code


0

threads

2

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2023-4-5 14:10:30 | Show all floors
Hi. Did you use original image or patched? I know one guy who patch all popular problems in stock image for this device. If you not familliar with this, try learn Legendary-OrangePi-i96 image by TheRemote.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list