Mobian Boot Problem
#6
I also seem more comfortable with Mobian than with Arch. I read this and several other topics and wan unable to boot any Mobian images flashed to SD card. The problem is: these images do not have u-boot installed (they expect u-boot to be flashed in SPI) and also their partition scheme leaves no room to install u-boot. I even tried to create a custom image with bootfs and rootfs partitions moved so that the first 16 MB of the image is clean and it is possible to put u-boot there. I had a partial success. But this procedure is very inconvenient.

Then, I found this document:
https://github.com/u-boot/u-boot/blob/ma...ip.rst#spi
In the section 1, subtitle SPI I found:
Quote:Write u-boot-rockchip-spi.bin to offset 0 of SPI flash.
Copy u-boot-rockchip-spi.bin into SD card and boot from SD:
Code:
sf probe
load mmc 1:1 $kernel_addr_r u-boot-rockchip-spi.bin
sf update $fileaddr 0 $filesize

So, I just flashed the Mobian image to SD card with Etcher and then copied u-boot-rockchip-spi.bin file to the bootfs partition (1st) on SD. And voila, Mobian successfully starts from SD card.

The u-boot is already flased in SPI of PineTab2 and its searches for SD card before eMMC. So, no UART adapter is necessary. If you want to see the boot logs, you can of course attach it, but do not switch on the SD boot maskrom on the adapter.
  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
  Pine won't boot after last update Corfromleuven 1 409 03-31-2024, 05:21 AM
Last Post: Surehand53
  [PineTab2] Issues with Mobian Networking Cornelia Xaos 7 2,866 12-30-2023, 10:02 PM
Last Post: Cornelia Xaos
  Mobian won't boot after ton of updates bartgrefte 11 5,074 12-10-2023, 02:47 AM
Last Post: bartgrefte
  Mobian - Phosh frtodd 1 1,284 06-18-2023, 04:51 AM
Last Post: GloriousCoffee
  New images with 6.1 kernel won't boot (mobian / postmarketos) gischpelino 0 990 01-17-2023, 11:36 AM
Last Post: gischpelino
  Booting issue for postmarketos (tow-boot)? olyavi 0 1,066 09-15-2022, 05:38 AM
Last Post: olyavi
  PineTab Mobian bcnaz 150 149,408 04-26-2022, 11:58 AM
Last Post: thomzane
  PineTab Mobian Upgrade issue - Pin no longer works thomzane 3 4,191 04-30-2021, 06:52 AM
Last Post: thomzane
  PineTab Mobian LXDE desktop fjord 0 2,288 02-24-2021, 06:32 PM
Last Post: fjord
  Pinetab Mobian optimization tomoqv 13 12,847 02-06-2021, 04:36 AM
Last Post: barray

Forum Jump:


Users browsing this thread: 1 Guest(s)