Mobian Boot Problem
#11
(10-15-2023, 12:47 AM)alpopa Wrote: Hi flanders51,

I did not fresh install mobian on PineTab2 recently, however, I regularly update already installed mobian. The first time I succeed, I did the following:

1. Download the latest mobian image (not installer) from https://images.mobian.org/pinetab2/weekly/.
2. Download u-boot from https://gitlab.com/julianfairfax/u-boot-...s/download.
3. Flash the downloaded mobian image to microSD card of at least 8 GB. I use Balena Etcher for this.
4. Mount microSD card, it has 2 partitions: boot and rootfs, both with Ext4 filesystem. Copy u-boot-rockchip-spi.bin from u-boot archive file to boot partition:

-rw-r--r-- 1 root root  4025731 Jul 14 15:35 System.map-6.3-rockchip
-rw-r--r-- 1 root root  220243 Jul 14 15:35 config-6.3-rockchip
drwxr-xr-x 3 root root    1024 Sep  3 03:57 dtb-6.3-rockchip
drwxr-xr-x 2 root root    1024 Sep  3 04:02 extlinux
-rw-r--r-- 1 root root 17242346 Sep  3 04:00 initrd.img-6.3-rockchip
drwx------ 2 root root    12288 Sep  3 03:56 lost+found
-rw-r--r-- 1 root root 1485824 Jul 14 13:20 u-boot-rockchip-spi.bin # This file is manually copied
-rw-r--r-- 1 root root  9793886 Jul 14 15:35 vmlinuz-6.3-rockchip

5. Power off PineTab2, insert microSD card in it and power on. Mobian should be able to boot. Default user is mobian, default password is 1234.

Attention: At the very first boot, the filesystem resizes to actual microSD card size, so it is a bit longer.

Hi alpopa

How many time take the 8GB?, I'm not sure if I did it well. I'm using UART adapter to see logs but I'm not sure if it boot right. So The screen doesn't show anything
Code:
DDR V1.18 f366f69a7d typ 23/07/17-15:48:58
ln
LP4/4x derate en, other dram:1x trefi
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=8192MB
tdqss: cs0 dqs0: -24ps, dqs1: -96ps, dqs2: -72ps, dqs3: -192ps,
tdqss: cs1 dqs0: -24ps, dqs1: -96ps, dqs2: -72ps, dqs3: -192ps,

change to: 324MHz
clk skew:0x64

change to: 528MHz
clk skew:0x58

change to: 780MHz
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:0x3f
cs 0:
the read training result:
DQS0:0x3a, DQS1:0x3e, DQS2:0x41, DQS3:0x37,
min  : 0x9  0xb  0xd  0xa  0x1  0x3  0x7  0x1 , 0x8  0x9  0x2  0x1  0xe  0xb  0xe  0xa ,
      0x11 0x11  0xe  0xd  0x9  0x1  0x3  0x8 , 0xb  0x7  0x7  0x2  0xe  0xd  0x9  0xf ,
mid  :0x28 0x29 0x2b 0x29 0x1e 0x21 0x23 0x1f ,0x27 0x28 0x21 0x20 0x2b 0x2a 0x2c 0x28 ,
      0x2f 0x31 0x2d 0x2b 0x27 0x21 0x23 0x27 ,0x2b 0x27 0x27 0x23 0x2e 0x2e 0x29 0x2f ,
max  :0x47 0x48 0x49 0x48 0x3b 0x3f 0x40 0x3e ,0x46 0x47 0x40 0x40 0x48 0x49 0x4a 0x47 ,
      0x4e 0x51 0x4c 0x4a 0x45 0x42 0x44 0x47 ,0x4b 0x47 0x47 0x44 0x4e 0x4f 0x4a 0x50 ,
range:0x3e 0x3d 0x3c 0x3e 0x3a 0x3c 0x39 0x3d ,0x3e 0x3e 0x3e 0x3f 0x3a 0x3e 0x3c 0x3d ,
      0x3d 0x40 0x3e 0x3d 0x3c 0x41 0x41 0x3f ,0x40 0x40 0x40 0x42 0x40 0x42 0x41 0x41 ,
the write training result:
DQS0:0x3c, DQS1:0x33, DQS2:0x36, DQS3:0x26,
min  :0x5f 0x64 0x64 0x63 0x57 0x5a 0x5d 0x5d 0x5c ,0x54 0x53 0x4e 0x4d 0x57 0x56 0x58 0x56 0x53 ,
      0x5f 0x60 0x5c 0x5c 0x56 0x53 0x55 0x59 0x5a ,0x52 0x50 0x50 0x4d 0x56 0x56 0x52 0x57 0x50 ,
mid  :0x7d 0x80 0x82 0x7f 0x74 0x77 0x7a 0x79 0x79 ,0x71 0x70 0x6b 0x6a 0x74 0x72 0x74 0x72 0x70 ,
      0x7b 0x7c 0x77 0x77 0x72 0x6d 0x70 0x73 0x75 ,0x6d 0x6b 0x6a 0x69 0x72 0x72 0x6d 0x73 0x6b ,
max  :0x9c 0x9d 0xa1 0x9c 0x92 0x94 0x97 0x96 0x97 ,0x8e 0x8e 0x88 0x87 0x92 0x8f 0x90 0x8f 0x8d ,
      0x97 0x98 0x92 0x92 0x8e 0x87 0x8b 0x8e 0x90 ,0x89 0x87 0x85 0x85 0x8f 0x8e 0x89 0x8f 0x87 ,
range:0x3d 0x39 0x3d 0x39 0x3b 0x3a 0x3a 0x39 0x3b ,0x3a 0x3b 0x3a 0x3a 0x3b 0x39 0x38 0x39 0x3a ,
      0x38 0x38 0x36 0x36 0x38 0x34 0x36 0x35 0x36 ,0x37 0x37 0x35 0x38 0x39 0x38 0x37 0x38 0x37 ,
cs 1:
the read training result:
DQS0:0x3d, DQS1:0x3e, DQS2:0x40, DQS3:0x36,
min  : 0xc  0xf  0xf  0xd  0x1  0x5  0x8  0x5 , 0x9  0x8  0x3  0x1  0xb  0xb  0xd  0x9 ,
      0x12 0x11  0xe  0xd  0x9  0x1  0x5  0x7 , 0xa  0x7  0x5  0x1  0xe  0xc  0x9  0xd ,
mid  :0x2b 0x2c 0x2e 0x2b 0x21 0x23 0x27 0x23 ,0x28 0x27 0x22 0x20 0x2a 0x29 0x2c 0x29 ,
      0x30 0x30 0x2d 0x2b 0x27 0x21 0x24 0x27 ,0x29 0x27 0x25 0x21 0x2d 0x2d 0x29 0x2d ,
max  :0x4a 0x4a 0x4d 0x4a 0x41 0x41 0x47 0x42 ,0x47 0x47 0x41 0x3f 0x4a 0x48 0x4b 0x49 ,
      0x4e 0x50 0x4c 0x4a 0x45 0x41 0x44 0x47 ,0x49 0x47 0x46 0x42 0x4d 0x4e 0x49 0x4d ,
range:0x3e 0x3b 0x3e 0x3d 0x40 0x3c 0x3f 0x3d ,0x3e 0x3f 0x3e 0x3e 0x3f 0x3d 0x3e 0x40 ,
      0x3c 0x3f 0x3e 0x3d 0x3c 0x40 0x3f 0x40 ,0x3f 0x40 0x41 0x41 0x3f 0x42 0x40 0x40 ,
the write training result:
DQS0:0x3c, DQS1:0x33, DQS2:0x36, DQS3:0x26,
min  :0x63 0x66 0x66 0x66 0x59 0x5b 0x5f 0x5e 0x5f ,0x55 0x54 0x50 0x4e 0x58 0x57 0x58 0x56 0x54 ,
      0x5f 0x5f 0x5c 0x5c 0x56 0x53 0x54 0x59 0x5a ,0x50 0x4f 0x4e 0x4b 0x55 0x54 0x50 0x55 0x4e ,
mid  :0x7f 0x80 0x81 0x80 0x75 0x77 0x7a 0x79 0x7a ,0x71 0x70 0x6b 0x6a 0x74 0x72 0x73 0x72 0x6f ,
      0x7b 0x7b 0x77 0x77 0x72 0x6d 0x6f 0x73 0x75 ,0x6c 0x6b 0x69 0x67 0x71 0x70 0x6c 0x71 0x6a ,
max  :0x9b 0x9b 0x9d 0x9b 0x91 0x93 0x96 0x95 0x96 ,0x8d 0x8c 0x86 0x86 0x90 0x8e 0x8e 0x8e 0x8b ,
      0x97 0x98 0x92 0x92 0x8e 0x87 0x8b 0x8e 0x90 ,0x89 0x87 0x84 0x83 0x8d 0x8d 0x88 0x8e 0x86 ,
range:0x38 0x35 0x37 0x35 0x38 0x38 0x37 0x37 0x37 ,0x38 0x38 0x36 0x38 0x38 0x37 0x36 0x38 0x37 ,
      0x38 0x39 0x36 0x36 0x38 0x34 0x37 0x35 0x36 ,0x39 0x38 0x36 0x38 0x38 0x39 0x38 0x39 0x38 ,
CA Training result:
cs:0 min  :0x43 0x3a 0x3a 0x2f 0x3a 0x2f 0x39 ,0x45 0x36 0x3a 0x2a 0x3a 0x2c 0x3c ,
cs:0 mid  :0x7d 0x7e 0x75 0x73 0x74 0x73 0x68 ,0x7d 0x7c 0x72 0x70 0x73 0x71 0x6a ,
cs:0 max  :0xb8 0xc2 0xb0 0xb7 0xaf 0xb7 0x97 ,0xb6 0xc2 0xab 0xb7 0xac 0xb7 0x98 ,
cs:0 range:0x75 0x88 0x76 0x88 0x75 0x88 0x5e ,0x71 0x8c 0x71 0x8d 0x72 0x8b 0x5c ,
cs:1 min  :0x3f 0x40 0x34 0x34 0x35 0x34 0x36 ,0x3e 0x38 0x33 0x2c 0x34 0x2e 0x36 ,
cs:1 mid  :0x7e 0x7f 0x74 0x73 0x74 0x74 0x68 ,0x7a 0x7a 0x6f 0x6d 0x71 0x70 0x65 ,
cs:1 max  :0xbd 0xbe 0xb4 0xb3 0xb3 0xb4 0x9a ,0xb7 0xbc 0xac 0xaf 0xae 0xb3 0x95 ,
cs:1 range:0x7e 0x7e 0x80 0x7f 0x7e 0x80 0x64 ,0x79 0x84 0x79 0x83 0x7a 0x85 0x5f ,
out

U-Boot SPL 2023.07.02-00095-g81dac0348f (Sep 24 2023 - 13:04:24 +0000)
Trying to boot from MMC2
## 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-607-gbf602aff1:cl
NOTICE:  BL31: Built : 10:16:03, Jun  5 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:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE wK
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-00095-g81dac0348f (Sep 24 2023 - 13:04:24 +0000)

Model: Pine64 PineTab2 v2.0
DRAM:  8 GiB (effective 7.7 GiB)
PMIC:  RK8170 (on=0x80, off=0x04)
Core:  341 devices, 29 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
Bus usb@fd000000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@fd800000: USB EHCI 1.00
Bus usb@fd840000: USB OHCI 1.0
scanning bus usb@fd000000 for devices... 1 USB Device(s) found
scanning bus usb@fd800000 for devices... 1 USB Device(s) found
scanning bus usb@fd840000 for devices... 2 USB Device(s) found
No ethernet found.
No ethernet found.
=>

Thanks in advance
  Reply


Messages In This Thread
Mobian Boot Problem - by rogerwegmann - 06-26-2023, 09:47 AM
RE: Mobian Boot Problem - by rogerwegmann - 06-26-2023, 11:59 AM
RE: Mobian Boot Problem - by spenk - 06-28-2023, 01:01 PM
RE: Mobian Boot Problem - by spenk - 06-28-2023, 03:49 PM
RE: Mobian Boot Problem - by GloriousCoffee - 07-06-2023, 12:55 AM
RE: Mobian Boot Problem - by alpopa - 08-20-2023, 01:54 AM
RE: Mobian Boot Problem - by flanders51 - 09-21-2023, 11:57 AM
RE: Mobian Boot Problem - by alpopa - 09-25-2023, 01:40 AM
RE: Mobian Boot Problem - by flanders51 - 10-12-2023, 01:34 PM
RE: Mobian Boot Problem - by alpopa - 10-15-2023, 12:47 AM
RE: Mobian Boot Problem - by genobraker - 11-17-2023, 03:40 PM
RE: Mobian Boot Problem - by alpopa - 11-18-2023, 12:50 AM
RE: Mobian Boot Problem - by Corfromleuven - 12-07-2023, 04:52 AM
RE: Mobian Boot Problem - by alpopa - 12-13-2023, 10:55 AM
RE: Mobian Boot Problem - by diederik - 12-13-2023, 11:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Where to find older Mobian image? guenther 2 259 10-30-2024, 02:50 AM
Last Post: guenther
  Mobian OS stefan_hdb 0 473 08-19-2024, 07:56 AM
Last Post: stefan_hdb
  boot/init sequenze into rescue mode TomZa 0 528 07-09-2024, 09:35 AM
Last Post: TomZa
  Pine won't boot after last update Corfromleuven 1 1,175 03-31-2024, 05:21 AM
Last Post: Surehand53
  [PineTab2] Issues with Mobian Networking Cornelia Xaos 7 4,571 12-30-2023, 10:02 PM
Last Post: Cornelia Xaos
  Mobian won't boot after ton of updates bartgrefte 11 7,467 12-10-2023, 02:47 AM
Last Post: bartgrefte
  Mobian - Phosh frtodd 1 1,590 06-18-2023, 04:51 AM
Last Post: GloriousCoffee
  New images with 6.1 kernel won't boot (mobian / postmarketos) gischpelino 0 1,186 01-17-2023, 11:36 AM
Last Post: gischpelino
  Booting issue for postmarketos (tow-boot)? olyavi 0 1,256 09-15-2022, 05:38 AM
Last Post: olyavi
  PineTab Mobian bcnaz 150 167,686 04-26-2022, 11:58 AM
Last Post: thomzane

Forum Jump:


Users browsing this thread: 8 Guest(s)