Rock64 Debian 11 (Bullseye) install problem
#6
(07-05-2022, 04:46 PM)t4_4t Wrote: Rockchip's 'u-boot' requires 16MB of free space at the top of the media for installation.
On the other hand, the 'partitioning-tools' included with 'debian-installer' does not take any of the above requirements into account.
As with a standard x86-PC, only 1MB of space is allocated at the top of the media.

Allocation of 'u-boot' space must be done intentionally by the user at the time of partitioning.

----
In short, unless you do something about it, you will end up with a partition allocation that has no space for the 'u-boot' installation.
If the 'u-boot' installation operation is performed on media configured as described above, the original data will of course be destroyed.

As an example, 'debian-installer' or 'Armbian' or 'Other-distribution' are all partitioned with the first 16MB of free space on the media.
We recommend that you compare this with the image you have created.


Thanks for the info.  I used the (Debian Bulseye) debian-installer and apparently only 1MB precedes the /boot partition.

It seems to boot and run fine; what do you suggest?

My partition info:
Code:
# fdisk -l
Disk /dev/mmcblk1: 29.11 GiB, 31255953408 bytes, 61046784 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 296D4F2A-EF97-4DC6-B59D-80AFCF64E47A

Device            Start      End  Sectors  Size Type
/dev/mmcblk1p1    2048  999423  997376  487M Linux filesystem
/dev/mmcblk1p2  999424 59043839 58044416 27.7G Linux filesystem
/dev/mmcblk1p3 59043840 61044735  2000896  977M Linux swap

(07-05-2022, 04:46 PM)t4_4t Wrote: Rockchip's 'u-boot' requires 16MB of free space at the top of the media for installation.
On the other hand, the 'partitioning-tools' included with 'debian-installer' does not take any of the above requirements into account.
As with a standard x86-PC, only 1MB of space is allocated at the top of the media.

Allocation of 'u-boot' space must be done intentionally by the user at the time of partitioning.

----
In short, unless you do something about it, you will end up with a partition allocation that has no space for the 'u-boot' installation.
If the 'u-boot' installation operation is performed on media configured as described above, the original data will of course be destroyed.

As an example, 'debian-installer' or 'Armbian' or 'Other-distribution' are all partitioned with the first 16MB of free space on the media.
We recommend that you compare this with the image you have created.

I went back and examined what u-boot-install-rockchip does on my Rock64.  And it does indeed require at least the first 8,467,720 bytes.

So it looks like I'm starting over from scratch.  Thanks for bringing this to my attention.
  Reply


Messages In This Thread
RE: Rock64 Debian 11 (Bullseye) install problem - by jbize - 07-06-2022, 07:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PBP Debian 11 GRUB install error zlth 2 322 11-18-2022, 07:42 AM
Last Post: zlth
  MRAA Rock64 support jbize 2 908 07-09-2022, 04:40 AM
Last Post: igorp
  dependency problem cerno 4 3,586 05-07-2021, 08:18 AM
Last Post: cerno
  How to boot from the SD card and install to eMMC? ravanh 2 5,304 03-18-2020, 09:42 AM
Last Post: tophneal
  Rock64 with Debian netinst usb Bloris 6 7,111 12-03-2019, 12:37 PM
Last Post: madalin
  The differences between Rock64 and RockPro64 phamoanh 1 3,419 06-12-2019, 10:44 PM
Last Post: evilbunny
  Install OS on RAID1 thanks to dual SATA board? Thatoo 12 12,084 05-15-2019, 02:55 PM
Last Post: Thatoo
  The Debian Jessie User Accounts? jesse1234 6 6,106 01-20-2019, 06:07 PM
Last Post: zer0sig
  Custom Kernel for ROCK64 mayst 2 4,201 01-07-2019, 08:04 AM
Last Post: mayst
  Creating bootable Debian backup image Drago 3 4,755 12-11-2018, 03:42 PM
Last Post: evilbunny

Forum Jump:


Users browsing this thread: 2 Guest(s)