Booting from SD card on Pinetab2
#8
Hi,

Meaning of some log lines ...

>> "Trying to boot from SPI"
Your boot process starts on the SPI flash (which is ok° but needs configuration)

>> "INFO: Preloader serial: 2"
  "U-Boot 2023.07.02-00055-gc294612d38"
There is a U-boot preloader on it

>> "MMC: mmc@fe2b0000: 1, mmc@fe2c0000: 2, mmc@fe310000: 0"
There are 3 slots for MMCs: fe310000 = internal MMC, fe2b0000 = SD card slot
fe2c0000 slot not made operational on the Pintab2 board ?  (Card did not respond to voltage select! : -110)

>> "Hit any key to stop autoboot:  0"  (in minicom, be fast...)
You can stop the boot process here and work with the preloader (has useful U-Boot commands, type help to get list)

>> "** Booting bootflow 'mmc@fe310000.bootdev.part_1' with script"
Boot process is now passed to the internal MMC
Is U-boot on the SPI configured to boot from your SD card ?  Right boot order ?
Is there a bootable partition on the SD card ?

>> "Starting kernel ..."
There is a working kernel on the internal MMC

>> "/dev/mmcblk1p2: recovering journal"
The system on the internal MMC was damaged

>> "Welcome to Arch Linux ARM!"
Damage is solved, Arch Linux starting


° INFO
When unmodified, Pinetab2 starts the boot process on the internal eMMC (as SPI flash is not configured ?). An initial boot script (boot.txt) on the internal eMMC checks for the presence of a SDcard. If this one is correctly partitioned, it will boot the 2nd partition on the SD card. Since you installed U-Boot to the SPI, it's this boot environment that has to be configured to check the SD card if it's bootable (doesn't need to be the second partition, I presume).


General information on U-Boot and flashing images (not only Pinetab2):
https://wiki.pine64.org/wiki/Getting_started
https://roc-rk3328-cc.readthedocs.io/en/..._emmc.html
https://opensource.rock-chips.com/wiki_Boot_option



Good Luck !

Bart.
  Reply


Messages In This Thread
RE: Booting from SD card on Pinetab2 - by brt - 07-28-2023, 02:02 AM
RE: Booting from SD card on Pinetab2 - by brt - 07-31-2023, 05:19 AM
RE: Booting from SD card on Pinetab2 - by alpopa - 08-22-2023, 08:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PInetab2, Limit battery charge to less than 100%? rqkeating 0 662 06-30-2024, 08:54 PM
Last Post: rqkeating
  New PineTab2 dRateNWAytORy 2 1,325 05-11-2024, 09:46 AM
Last Post: frtodd
  Someone is interested for a PineTab2 8GB in Mexico? genobraker 0 831 03-06-2024, 07:22 PM
Last Post: genobraker
  Bricked my PineTab2 using Jumpdrive? jkboyd 2 1,321 02-24-2024, 07:14 PM
Last Post: jkboyd
  Castle Game Engine on PineTab2 now officially available michalis 1 1,585 12-14-2023, 12:22 AM
Last Post: tllim
  PinePhone or PineBook USB-C hubs on Pinetab2? Evergreen 1 1,425 11-05-2023, 10:20 AM
Last Post: WEF
  Pinetab2 screen issue. screen does not power on at all bluemage 5 2,638 09-25-2023, 08:29 PM
Last Post: bluemage
  What's the MAX RAM you can install to PineTab2? Ptab2newb 2 1,800 09-12-2023, 12:38 PM
Last Post: Ptab2newb
  pinetab 2 not booting ajhiii070 5 3,117 08-07-2023, 01:46 PM
Last Post: r.aliaskarov
  Pinetab2 without Wifi a comfort extra? Schlucker 8 4,881 07-14-2023, 03:09 AM
Last Post: gregb49

Forum Jump:


Users browsing this thread: 5 Guest(s)