Pinetab2: (multi)boot normal image on eMMC and some OS on SD- card
#1
Hello,

Beside the default OS from DanctNix I would like to experiment with other OSes. Documentation states simply said "... put bootable OS on an SD-card and reboot ..." but that aint't gonna work obviously.

So now I try getting grip on the boot procedure. the boot partition (EFI) on the eMMC contains files for the u-boot boot loader. It has a routine (boot.txt) that checks for the presence of a SD and two or more partitions on it. It expects /boot with Image.gz, initramfs-linux.img and .dtb files on the first, and / (root) sits as the OS on the second.

As far as I can understand (I am not familiar with u-boot), without changing things on the eMMC, if I copy the files from the eMMC to a SD-card first partition and a compatible OS to a second partition, the SD-card might be bootable but I suppose Image.gz and initramfs-linux.img will need (Q1) to be altered ?  In this setup, if no SD-card is present, my Pinetab2 boots the default OS, if SD-card is present it will boot the one (and not more than one) OS on the SD-card.

Is there an easy way with u-boot to provide a boot menu and thus possible (Q2) access to multiple OSes ?  Has Tow-Boot something to do with it ?  I found some references but I'm not sure things apply to the Pinetab2 ...

Is it possible to (Q3) let UEFI provide boot options ?  It would need the Rockchip RK3566 and it's chipset to be UEFI aware, I suppose.

If I check the danctnix factory image file, I find multiple partitions. The first two have no mountable filesystem, the third has a extlinux.conf file and the fourth has the OS files. In this post Manuel Traut uses this setup to start from and then adapts partition 3 and 4 to run another OS. But (Q4) what is the function of the first two 'mystery' partitions ?  And (Q5) could there be some risk this setup will overwrite the eMMC as is originally intended ?

Finally, the Pinetab2 ships with a debug UART adapter. Is there (Q6) more information about this adapter than what I find in the Pinetab2 Wiki ?  Can I use this adapter to change the initial boot order where the eMMC has prevalence over the SD-card ?

Anyway, I'm looking forward to the next experiments !
  Reply


Messages In This Thread
Pinetab2: (multi)boot normal image on eMMC and some OS on SD- card - by Bart - 06-09-2023, 05:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Someone is interested for a PineTab2 8GB in Mexico? genobraker 0 219 03-06-2024, 07:22 PM
Last Post: genobraker
  Bricked my PineTab2 using Jumpdrive? jkboyd 2 375 02-24-2024, 07:14 PM
Last Post: jkboyd
  Castle Game Engine on PineTab2 now officially available michalis 1 852 12-14-2023, 12:22 AM
Last Post: tllim
  PinePhone or PineBook USB-C hubs on Pinetab2? Evergreen 1 724 11-05-2023, 10:20 AM
Last Post: WEF
  Pinetab2 screen issue. screen does not power on at all bluemage 5 1,399 09-25-2023, 08:29 PM
Last Post: bluemage
  What's the MAX RAM you can install to PineTab2? Ptab2newb 2 993 09-12-2023, 12:38 PM
Last Post: Ptab2newb
  Booting from SD card on Pinetab2 samochimaaron 10 3,036 08-23-2023, 09:38 AM
Last Post: diederik
  Pinetab2 without Wifi a comfort extra? Schlucker 8 3,204 07-14-2023, 03:09 AM
Last Post: gregb49
  PineTab2 virtual keyboard: symbols instead of numbers clemfandango 5 2,043 07-12-2023, 05:32 AM
Last Post: mtomaschett
  Pinetab2 not booting. elix 10 3,002 07-09-2023, 02:42 PM
Last Post: elix

Forum Jump:


Users browsing this thread: 1 Guest(s)