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
  No updates on pinetab2 arch danctnix? Ingen 8 680 10-16-2025, 02:57 AM
Last Post: TcCoy
  Libre Office on Pinetab2? Anonymous1989 1 663 08-07-2025, 09:50 PM
Last Post: Kevin Kofler
  Pinetab2: (multi)boot normal image on eMMC and some OS on SD- card Bart 4 4,660 05-31-2025, 02:34 PM
Last Post: stevepaesani
  New pinetab2 - can't charge it tmhorne 10 4,702 05-13-2025, 12:42 PM
Last Post: tmhorne
  PInetab2, Limit battery charge to less than 100%? rqkeating 0 1,599 06-30-2024, 08:54 PM
Last Post: rqkeating
  New PineTab2 dRateNWAytORy 2 3,005 05-11-2024, 09:46 AM
Last Post: frtodd
  Someone is interested for a PineTab2 8GB in Mexico? genobraker 0 1,750 03-06-2024, 07:22 PM
Last Post: genobraker
  Bricked my PineTab2 using Jumpdrive? jkboyd 2 2,995 02-24-2024, 07:14 PM
Last Post: jkboyd
  Castle Game Engine on PineTab2 now officially available michalis 1 2,795 12-14-2023, 12:22 AM
Last Post: tllim
  PinePhone or PineBook USB-C hubs on Pinetab2? Evergreen 1 2,643 11-05-2023, 10:20 AM
Last Post: WEF

Forum Jump:


Users browsing this thread: 1 Guest(s)