Trouble booting in Gentoo
#7
Sometimes (but not that often) the dtb for a SPECIFIC device is appended to kernel,
but I doubt this is the case here
My pbp is setup this way (still)
using dd, copy 1st sector (mbr) somewhere, give name like emmc.mbr
copy 1st 16 MB somewhere (named as 1st-16.emmc.$DISTRO)
use something like dd if=/dev/emmc of=~/1st-16.emmc.manj bs=1M count=16,,,,, change emmc as appropriate
(that is emmc = mmcblk1 OR mmcblk2 OR maybe mmcblk0)
blank,,, dd if=/dev/zero of=/dev/emmc bs=1M count=16
restore mbr,,,,, dd if=emmc.mbr of=/dev/emmc (emmc.mbr should only be 512 bytes
(unless GPT ,, use 34 sectors,,,, dd default bs is 512 bytes so only need count)
So, if you check with fdisk /dev/emmc should all show correctly
Rest of 1st 16 M is /dev/zero,, blank,,,, so only uboot on SD can be used, it is the only one
If you want to restore just dd 1st-16M back to emmc
---edit---
I have never seen (unless very old) an arm device without dtb,
except for specific devices only, appended to kernel,,
so I think the gentoo is broken
  Reply


Messages In This Thread
Trouble booting in Gentoo - by tdiggitydog - 07-16-2021, 04:28 PM
RE: Trouble booting in Gentoo - by 33YN2 - 07-18-2021, 01:00 PM
RE: Trouble booting in Gentoo - by wdt - 07-18-2021, 03:40 PM
RE: Trouble booting in Gentoo - by tdiggitydog - 07-19-2021, 03:09 PM
RE: Trouble booting in Gentoo - by wdt - 07-19-2021, 04:18 PM
RE: Trouble booting in Gentoo - by tdiggitydog - 07-19-2021, 04:42 PM
RE: Trouble booting in Gentoo - by moonwalkers - 07-19-2021, 08:41 PM
RE: Trouble booting in Gentoo - by wdt - 07-19-2021, 05:39 PM
RE: Trouble booting in Gentoo - by tdiggitydog - 07-20-2021, 01:37 PM
RE: Trouble booting in Gentoo - by wdt - 07-19-2021, 10:58 PM
RE: Trouble booting in Gentoo - by moonwalkers - 07-20-2021, 10:16 PM
RE: Trouble booting in Gentoo - by Arwen - 07-20-2021, 08:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Gentoo on Pinebook Pro RELEASE jannik2099 54 89,722 12-08-2023, 11:25 PM
Last Post: tllim
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 996 08-18-2023, 01:58 AM
Last Post: juliamenendez
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 3,949 04-01-2023, 02:58 PM
Last Post: TRS-80
  Booting Arch from USB lorebett 6 3,076 09-18-2022, 11:35 AM
Last Post: lorebett
  pinebook pro not booting cricket 1 1,206 08-17-2022, 04:38 PM
Last Post: cricket
  PBP not booting anymore jsch 5 2,987 04-21-2022, 11:24 AM
Last Post: tophneal
  Problems installing/ booting a different Linux on PinebookPro v-man 3 3,123 03-22-2022, 06:37 PM
Last Post: pentamassiv
  trouble switching window managers junefish 0 1,009 01-23-2022, 03:57 PM
Last Post: junefish
  NVMe timeout when booting from eMMC but not SD satwell 5 5,671 10-29-2021, 07:41 AM
Last Post: psstoev
  Migrating from glibc to musl on Gentoo pkubaj 6 5,323 07-24-2021, 05:00 PM
Last Post: pkubaj

Forum Jump:


Users browsing this thread: 2 Guest(s)