Booting from SD card on Pinetab2
#1
Hello,
I recently received a Pinetab2, and I'm very pleased with the quality of manufacture. However, I wanted to try using Ubuntu touch or Mobian instead of Danctnix. I flashed the Ubuntu touch image listed on the releases page onto an SD card, plugged the SD card into the tablet, and turned it on. Every time I tried booting, it booted Danctnix. When I plugged the UART adaptor into the bottom USB C port and turned the switch to the "on" position, nothing at all booted. The same thing happened when I tried booting Mobian. 

I tethered the tablet to a phone and updated the Danctnix system, because I saw that on the most recent factory image, Mobian could supposedly boot without using the UART adapter. Nothing changed. 

I followed the instructions on this page to install Mobian. I installed U-boot, but I didn't see any change in behavior. According to the "About this System" page, the the version of U-Boot is 2023.07.02-00055-gc294612d38 and the kernel version is 6.4.3-danctnix1-1-pinetab2.

Does anyone have any suggestions?
  Reply
#2
(07-27-2023, 08:33 PM)samochimaaron Wrote: Hello,
I recently received a Pinetab2, and I'm very pleased with the quality of manufacture. However, I wanted to try using Ubuntu touch or Mobian instead of Danctnix. I flashed the Ubuntu touch image listed on the releases page onto an SD card, plugged the SD card into the tablet, and turned it on. Every time I tried booting, it booted Danctnix. When I plugged the UART adaptor into the bottom USB C port and turned the switch to the "on" position, nothing at all booted. The same thing happened when I tried booting Mobian. 

I tethered the tablet to a phone and updated the Danctnix system, because I saw that on the most recent factory image, Mobian could supposedly boot without using the UART adapter. Nothing changed. 

I followed the instructions on this page to install Mobian. I installed U-boot, but I didn't see any change in behavior. According to the "About this System" page, the the version of U-Boot is 2023.07.02-00055-gc294612d38 and the kernel version is 6.4.3-danctnix1-1-pinetab2.

Does anyone have any suggestions?

Hi,

Check Pinetab2: (multi)boot normal image on eMMC and some OS on SD- card, #3. To boot the SD card, it needs 2 partitions in a specific way. I didn't try other OSes yet but this might be the way ...

Bart.

06-10-2023, 08:48 PM
  Reply
#3
Thank you for the advice,

I tried following your procedure on the linked thread. I found the "osimage.img" file and wrote that to my SD card. It formed four volumes: one 32 mb volume of free space, one boot partition, one OS partition, and then another 9.7 GB volume of free space. I tried booting again, but it only booted from the eMMC. I'm not very familiar with this, so it might be a dumb question, but could the bootloader not be recognising the SD card because the card starts with a partition of blank space?

I also tested mounting the SD card on the tablet, so I know that it isn't a hardware problem.
  Reply
#4
I think your SD isn't booting bc you've grabbed and are trying to boot Ubunut Touch for the first PineTab. original PineTab imgs will not boot on the PineTab2.
  Reply
#5
All of the images that I downloaded were from the websites linked on the "Releases" part of the Pinetab2 wiki, and all the files had "pinetab2" in the file name, so I Don't think they can be the wrong images.
  Reply
#6
Have you checked the minicom or screen output while the card is booting?

https://wiki.pine64.org/wiki/PineTab2#Co...RT_adapter
  Reply
#7
Okay, I've recorded the output while the Pinetab2 was booting. I don't really know what I'm looking at, so I've included all the output up to the login. Most of it will probably be useless. 

Code:
Welcome to minicom 2.8

OPTIONS: I18n
Port /dev/ttyUSB0, 18:29:24

Press CTRL-A Z for help on special keys

DDR V1.16 6f71c736ce typ 23/03/02-20:01:48
ln
LP4/4x derate en, other dram:1x trefi
ddrconfig:0
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS=1 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: -24ps, dqs1: -96ps, dqs2: -48ps, dqs3: -192ps,

change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0
vrefinner:24%, vrefout:41%
dram drv:40,odt:0
clk skew:0x64

change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0                                               
vrefinner:24%, vrefout:41%                                                     
dram drv:40,odt:0                                                               
clk skew:0x58                                                                   
                                                                               
change to: 780MHz                                                               
PHY drv:clk:36,ca:36,DQ:29,odt:0                                               
vrefinner:24%, vrefout:41%                                                     
dram drv:40,odt:0                                                               
clk skew:0x58                                                                   
                                                                               
change to: 1056MHz(final freq)                                                 
PHY drv:clk:36,ca:36,DQ:29,odt:60                                               
vrefinner:16%, vrefout:22%                                                     
dram drv:40,odt:80                                                             
vref_ca:00000071                                                               
clk skew:0x3c                                                                   
cs 0:                                                                           
the read training result:                                                       
DQS0:0x36, DQS1:0x39, DQS2:0x3d, DQS3:0x33,                                     
min  : 0x8  0xa  0xc  0x9  0x1  0x3  0x6  0x2 , 0x9  0x8  0x3  0x2  0xd  0xa  0,
       0xf  0xf  0xb  0xa  0x5  0x1  0x3  0x7 , 0x8  0x6  0x6  0x1  0xd  0xd  0,
mid  :0x25 0x26 0x28 0x25 0x1c 0x1e 0x22 0x1e ,0x24 0x24 0x1e 0x1d 0x26 0x26 0x,
      0x2d 0x2d 0x28 0x26 0x22 0x1f 0x21 0x23 ,0x26 0x23 0x22 0x1e 0x2a 0x29 0x,
max  :0x43 0x43 0x44 0x42 0x37 0x3a 0x3e 0x3b ,0x3f 0x41 0x39 0x38 0x40 0x42 0x,
      0x4b 0x4b 0x45 0x43 0x40 0x3e 0x3f 0x40 ,0x44 0x40 0x3e 0x3c 0x47 0x46 0x,
range:0x3b 0x39 0x38 0x39 0x36 0x37 0x38 0x39 ,0x36 0x39 0x36 0x36 0x33 0x38 0x,
      0x3c 0x3c 0x3a 0x39 0x3b 0x3d 0x3c 0x39 ,0x3c 0x3a 0x38 0x3b 0x3a 0x39 0x,
the write training result:                                                     
DQS0:0x39, DQS1:0x30, DQS2:0x36, DQS3:0x23,                                     
min  :0x5e 0x61 0x62 0x5f 0x56 0x58 0x5c 0x5c 0x5c ,0x52 0x52 0x4d 0x4b 0x56 0x,
      0x5b 0x5c 0x58 0x58 0x53 0x4e 0x52 0x57 0x57 ,0x4d 0x4d 0x4a 0x49 0x51 0x,
mid  :0x7c 0x7e 0x7f 0x7d 0x73 0x75 0x79 0x78 0x78 ,0x6f 0x6f 0x69 0x68 0x73 0x,
      0x79 0x7a 0x75 0x75 0x70 0x6a 0x6e 0x73 0x74 ,0x6b 0x69 0x67 0x66 0x6f 0x,
max  :0x9a 0x9b 0x9d 0x9b 0x91 0x92 0x96 0x94 0x95 ,0x8d 0x8d 0x86 0x86 0x91 0x,
      0x98 0x98 0x92 0x92 0x8d 0x87 0x8b 0x8f 0x92 ,0x89 0x86 0x84 0x83 0x8d 0x,
range:0x3c 0x3a 0x3b 0x3c 0x3b 0x3a 0x3a 0x38 0x39 ,0x3b 0x3b 0x39 0x3b 0x3b 0x,
      0x3d 0x3c 0x3a 0x3a 0x3a 0x39 0x39 0x38 0x3b ,0x3c 0x39 0x3a 0x3a 0x3c 0x,
CA Training result:                                                             
cs:0 min  :0x3c 0x3f 0x35 0x31 0x35 0x32 0x36 ,0x40 0x3a 0x33 0x32 0x34 0x30 0x,
cs:0 mid  :0x7b 0x7e 0x73 0x71 0x73 0x73 0x67 ,0x7d 0x7a 0x72 0x70 0x72 0x70 0x,
cs:0 max  :0xba 0xbd 0xb2 0xb2 0xb1 0xb4 0x98 ,0xbb 0xbb 0xb1 0xaf 0xb1 0xb1 0x,
cs:0 range:0x7e 0x7e 0x7d 0x81 0x7c 0x82 0x62 ,0x7b 0x81 0x7e 0x7d 0x7d 0x81 0x,
out                                                                             
                                                                               
U-Boot SPL 2023.07.02-00055-gc294612d38 (Jul 14 2023 - 10:19:20 +0000)         
Trying to boot from SPI                                                         
## Checking hash(es) for config config-2 ... OK                                 
## Checking hash(es) for Image atf-1 ... sha256+ OK                             
## Checking hash(es) for Image u-boot ... sha256+ OK                           
## Checking hash(es) for Image fdt-2 ... sha256+ OK                             
## Checking hash(es) for Image atf-2 ... sha256+ OK                             
## Checking hash(es) for Image atf-3 ... sha256+ OK                             
## Checking hash(es) for Image atf-4 ... sha256+ OK                             
## Checking hash(es) for Image atf-5 ... sha256+ OK                             
## Checking hash(es) for Image atf-6 ... sha256+ OK                             
INFO:    Preloader serial: 2                                                   
NOTICE:  BL31: v2.3():v2.3-594-g7f859117f:cl                                   
NOTICE:  BL31: Built : 04:51:16, May 11 2023                                   
INFO:    GICv3 without legacy support detected.                                 
INFO:    ARM GICv3 driver initialized in EL3                                   
INFO:    pmu v1 is valid 220114                                                 
INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz                                 
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz                                 
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz                                 
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz                                 
INFO:    BL31: Initialising Exception Handling Framework                       
INFO:    BL31: Initializing runtime services                                   
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE iniK
ERROR:   Error initializing runtime service opteed_fast                         
INFO:    BL31: Preparing for EL3 exit to normal world                           
INFO:    Entry point address = 0xa00000                                         
INFO:    SPSR = 0x3c9                                                           
                                                                               
                                                                               
U-Boot 2023.07.02-00055-gc294612d38 (Jul 14 2023 - 10:19:20 +0000)             
                                                                               
Model: Pine64 PineTab2 v2.0                                                     
DRAM:  4 GiB (effective 3.7 GiB)                                               
PMIC:  RK8170 (on=0x80, off=0x04)                                               
Core:  321 devices, 25 uclasses, devicetree: separate                           
MMC:   mmc@fe2b0000: 1, mmc@fe2c0000: 2, mmc@fe310000: 0                       
Loading Environment from nowhere... OK                                         
In:    serial@fe660000                                                         
Out:   serial@fe660000                                                         
Err:   serial@fe660000                                                         
Model: Pine64 PineTab2 v2.0                                                     
Net:   No ethernet found.                                                       
Hit any key to stop autoboot:  0                                               
Card did not respond to voltage select! : -110                                 
** Booting bootflow 'mmc@fe310000.bootdev.part_1' with script                   
Booting from eMMC                                                               
Loading kernel...                                                               
10953985 bytes read in 100 ms (104.5 MiB/s)                                     
Uncompressing kernel...                                                         
Uncompressed size: 30736896 = 0x1D50200                                         
Loading initramfs...                                                           
7689646 bytes read in 66 ms (111.1 MiB/s)                                       
Loading dtb...                                                                 
120164 bytes read in 39 ms (2.9 MiB/s)                                         
Booting...                                                                     
Moving Image from 0x2080000 to 0x2200000, end=4030000                           
## Flattened Device Tree blob at 0a100000                                       
   Booting using the fdt blob at 0xa100000                                     
Working FDT set to a100000                                                     
   Loading Ramdisk to ec79d000, end ecef25ae ... OK                             
   Loading Device Tree to 00000000ec77c000, end 00000000ec79c563 ... OK         
Working FDT set to ec77c000                                                     
                                                                               
Starting kernel ...                                                             
                                                                               
[    0.000000] clk: failed to reparent gpll to clk_rtc32k_frac: -22             
[    0.000000] clk: failed to reparent gpll to clk_rtc32k_frac: -22             
:: running early hook [udev]                                                   
Starting systemd-udevd version 253.7-1-arch                                     
:: running hook [udev]                                                         
:: Triggering uevents...                                                       
:: running hook [keymap]                                                       
:: Loading keymap...kbd_mode: KDSKBMODE: Inappropriate ioctl for device         
Gdone.                                                                         
:: performing fsck on '/dev/mmcblk1p2'                                         
/dev/mmcblk1p2: recovering journal                                             
/dev/mmcblk1p2: Clearing orphaned inode 154509 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 154516 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 454282 (uid=1000, gid=1000, mode=010064)
/dev/mmcblk1p2: Clearing orphaned inode 195250 (uid=0, gid=0, mode=0100644, siz)
/dev/mmcblk1p2: Clearing orphaned inode 206553 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 131876 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 212240 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 213921 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 153504 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 153555 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 154546 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 162168 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 162952 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 162953 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 163113 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 163372 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 165031 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 166332 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 153534 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 153707 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 154046 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 154498 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 154571 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 154677 (uid=0, gid=0, mode=0100755, siz)
/dev/mmcblk1p2: Clearing orphaned inode 282919 (uid=0, gid=0, mode=0100644, siz)
/dev/mmcblk1p2: Clearing orphaned inode 454280 (uid=1000, gid=1000, mode=010064)
/dev/mmcblk1p2: Clearing orphaned inode 454250 (uid=1000, gid=1000, mode=010064)
/dev/mmcblk1p2: Clearing orphaned inode 413317 (uid=1000, gid=1000, mode=010064)
/dev/mmcblk1p2: Clearing orphaned inode 413316 (uid=1000, gid=1000, mode=010060)
/dev/mmcblk1p2: Clearing orphaned inode 413219 (uid=1000, gid=1000, mode=010064)
/dev/mmcblk1p2: Clearing orphaned inode 413218 (uid=1000, gid=1000, mode=010060)
/dev/mmcblk1p2: Clearing orphaned inode 454175 (uid=1000, gid=1000, mode=010064)
/dev/mmcblk1p2: clean, 261170/3794400 files, 2461567/15228416 blocks           
:: mounting '/dev/mmcblk1p2' on real root                                       
:: running cleanup hook [udev]                                                 
                                                                               
Welcome to Arch Linux ARM!                                                     
                                                                               
[    4.505555] systemd[1]: bpf-lsm: Failed to load BPF object: No such process 
[  OK  ] Created slice Slice /system/getty.                                     
[  OK  ] Created slice Slice /system/modprobe.                                 
[  OK  ] Created slice Slice /system/serial-getty.                             
[  OK  ] Created slice Slice /system/systemd-fsck.                             
[  OK  ] Created slice User and Session Slice.                                 
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.             
[  OK  ] Set up automount Arbitrary…s File System Automount Point.             
[  OK  ] Reached target Local Integrity Protected Volumes.                     
[  OK  ] Reached target Remote File Systems.                                   
[  OK  ] Reached target Slice Units.                                           
[  OK  ] Reached target Swaps.                                                 
[  OK  ] Reached target Local Verity Protected Volumes.                         
[  OK  ] Listening on Device-mapper event daemon FIFOs.                         
[  OK  ] Listening on LVM2 poll daemon socket.                                 
[  OK  ] Listening on Process Core Dump Socket.                                 
[  OK  ] Listening on Journal Socket (/dev/log).                               
[  OK  ] Listening on Journal Socket.                                           
[  OK  ] Listening on udev Control Socket.                                     
[  OK  ] Listening on udev Kernel Socket.                                       
         Mounting Huge Pages File System...                                     
         Mounting POSIX Message Queue File System...                           
         Mounting Kernel Debug File System...                                   
         Mounting Kernel Trace File System...                                   
         Mounting Temporary Directory /tmp...                                   
         Starting Create List of Static Device Nodes...                         
         Starting Monitoring of LVM…meventd or progress polling...             
         Starting Load Kernel Module configfs...                               
         Starting Load Kernel Module dm_mod...                                 
         Starting Load Kernel Module drm...                                     
         Starting Load Kernel Module fuse...                                   
         Starting Load Kernel Module loop...                                   
         Starting Journal Service...                                           
         Starting Load Kernel Modules...                                       
         Starting Remount Root and Kernel File Systems...                       
         Starting Coldplug All udev Devices...                                 
[  OK  ] Mounted Huge Pages File System.                                       
[  OK  ] Mounted POSIX Message Queue File System.                               
[  OK  ] Mounted Kernel Debug File System.                                     
[  OK  ] Mounted Kernel Trace File System.                                     
[  OK  ] Mounted Temporary Directory /tmp.                                     
[  OK  ] Finished Create List of Static Device Nodes.                           
[  OK  ] Finished Load Kernel Module configfs.                                 
[  OK  ] Finished Load Kernel Module dm_mod.                                   
[  OK  ] Finished Load Kernel Module drm.                                       
[  OK  ] Finished Load Kernel Module fuse.                                     
[  OK  ] Finished Load Kernel Module loop.                                     
[  OK  ] Finished Load Kernel Modules.                                         
[  OK  ] Finished Remount Root and Kernel File Systems.                         
[  OK  ] Started Journal Service.                                               
         Mounting FUSE Control File System...                                   
         Mounting Kernel Configuration File System...                           
         Starting Flush Journal to Persistent Storage...                       
         Starting Load/Save OS Random Seed...                                   
         Starting Apply Kernel Variables...                                     
         Starting Create System Users...                                       
         Starting Setup Virtual Console...                                     
[  OK  ] Mounted FUSE Control File System.                                     
[  OK  ] Mounted Kernel Configuration File System.                             
[  OK  ] Finished Setup Virtual Console.                                       
[  OK  ] Finished Apply Kernel Variables.                                       
[  OK  ] Finished Flush Journal to Persistent Storage.                         
[  OK  ] Finished Create System Users.                                         
         Starting Create Static Device Nodes in /dev...                         
[  OK  ] Finished Create Static Device Nodes in /dev.                           
         Starting Rule-based Manage…for Device Events and Files...             
[  OK  ] Finished Coldplug All udev Devices.                                   
[  OK  ] Started Rule-based Manager for Device Events and Files.               
         Starting Show Plymouth Boot Screen...                                 

1;-1f[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Started Forward Password R…s to Plymouth Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Found device /dev/ttyS2.
[  OK  ] Found device /dev/disk/by-uuid/0159-FDB0.
[  OK  ] Created slice Slice /system/systemd-backlight.
         Starting Load/Save Screen …ness of backlight:backlight...
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Finished Load/Save Screen …htness of backlight:backlight.
[  OK  ] Finished Load/Save OS Random Seed.
[    8.523872] ov5648 2-0036: failed to find 168000000 clk rate in endpoint lins
[  OK  ] Finished Monitoring of LVM… dmeventd or progress polling.
[  OK  ] Reached target Preparation for Local File Systems.
         Starting File System Check…/dev/disk/by-uuid/0159-FDB0...
[  OK  ] Finished File System Check…n /dev/disk/by-uuid/0159-FDB0.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Rebuild Dynamic Linker Cache...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Reached target Sound Card.
         Starting Load Kernel Module dm_mod...                                 
         Starting Load Kernel Module loop...                                   
[  OK  ] Finished Load Kernel Module dm_mod.                                   
[  OK  ] Finished Load Kernel Module loop.                                     
[  OK  ] Finished Create Volatile Files and Directories.                       
         Starting Rebuild Journal Catalog...                                   
         Starting Network Time Synchronization...                               
         Starting Record System Boot/Shutdown in UTMP...                       
[  OK  ] Finished Record System Boot/Shutdown in UTMP.                         
[  OK  ] Finished Rebuild Journal Catalog.                                     
.[  OK  ] Started Network Time Synchronization.                                 
[  OK  ] Reached target System Time Set.                                       
[  OK  ] Finished Rebuild Dynamic Linker Cache.                                 
         Starting Update is Completed...                                       
[  OK  ] Finished Update is Completed.                                         
[  OK  ] Reached target System Initialization.                                 
[  OK  ] Started CUPS Scheduler.                                               
[  OK  ] Started Refresh existing P…f archlinux-keyring regularly.             
[  OK  ] Started Daily verification of password and group files.               
[  OK  ] Started Daily Cleanup of Temporary Directories.                       
[  OK  ] Reached target Path Units.                                             
[  OK  ] Reached target Timer Units.                                           
[  OK  ] Listening on CUPS Scheduler.                                           
[  OK  ] Listening on D-Bus System Message Bus Socket.                         
[  OK  ] Reached target Socket Units.                                           
[  OK  ] Reached target Basic System.                                           
         Starting D-Bus System Message Bus...                                   
         Starting IIO Sensor Proxy service...                                   
         Starting User Login Management...                                     
         Starting Zram-based swap (…mpressed RAM block devices)...             
[  OK  ] Finished Zram-based swap (compressed RAM block devices).               
[  OK  ] Started D-Bus System Message Bus.                                     
         Starting Network Manager...                                           
         Starting Authorization Manager...                                     
[  OK  ] Started User Login Management.                                         
[  OK  ] Started Authorization Manager.                                         
[  OK  ] Started IIO Sensor Proxy service.                                     
[  OK  ] Started Network Manager.                                               
[  OK  ] Reached target Network.                                               
         Starting CUPS Scheduler...                                             
         Starting Permit User Sessions...                                       
         Starting Hostname Service...                                           
[  OK  ] Finished Permit User Sessions.                                         
         Starting Hold until boot process finishes up...                       
         Starting Terminate Plymouth Boot Screen...                             
                                                                               
Arch Linux 6.4.3-danctnix1-1-pinetab2 (ttyS2)                                   
                                                                               
danctnix login:
  Reply
#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
#9
Thank you, I'll look into the resources!
  Reply
#10
You may also see this answer https://forum.pine64.org/showthread.php?...#pid119305
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Someone is interested for a PineTab2 8GB in Mexico? genobraker 0 166 03-06-2024, 07:22 PM
Last Post: genobraker
  Bricked my PineTab2 using Jumpdrive? jkboyd 2 294 02-24-2024, 07:14 PM
Last Post: jkboyd
  Castle Game Engine on PineTab2 now officially available michalis 1 791 12-14-2023, 12:22 AM
Last Post: tllim
  PinePhone or PineBook USB-C hubs on Pinetab2? Evergreen 1 665 11-05-2023, 10:20 AM
Last Post: WEF
  Pinetab2 screen issue. screen does not power on at all bluemage 5 1,301 09-25-2023, 08:29 PM
Last Post: bluemage
  What's the MAX RAM you can install to PineTab2? Ptab2newb 2 922 09-12-2023, 12:38 PM
Last Post: Ptab2newb
  pinetab 2 not booting ajhiii070 5 1,765 08-07-2023, 01:46 PM
Last Post: r.aliaskarov
  Pinetab2 without Wifi a comfort extra? Schlucker 8 3,076 07-14-2023, 03:09 AM
Last Post: gregb49
  PineTab2 virtual keyboard: symbols instead of numbers clemfandango 5 1,940 07-12-2023, 05:32 AM
Last Post: mtomaschett
  Pinetab2 not booting. elix 10 2,870 07-09-2023, 02:42 PM
Last Post: elix

Forum Jump:


Users browsing this thread: 1 Guest(s)