06-20-2020, 05:55 AM
Ok, that's very helpful, thanks!
uname tells me I have kernel 5.7.0-1-MANJARO-ARM, and I installed bsp uboot: uboot-pinebookpro-bsp (1.5-7), which tells me this at the end of the installation:
A new U-Boot version needs to be flashed our install drive. Please use lsblk to determine your drive, before proceeding.
You can do this by running:
# dd if=/boot/idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc
# dd if=/boot/uboot.img of=/dev/mmcblkX seek=16384 conv=notrunc
# dd if=/boot/trust.img of=/dev/mmcblkX seek=24576 conv=notrunc
Transaction successfully finished.
lsblk outputs this:
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk2 179:0 0 58.2G 0 disk
├─mmcblk2p1 179:1 0 213.6M 0 part /boot
└─mmcblk2p2 179:2 0 58G 0 part /
mmcblk2boot0 179:32 0 4M 1 disk
mmcblk2boot1 179:64 0 4M 1 disk
zram0 252:0 0 5.6G 0 disk [SWAP]
So I figure I should move on to this (as root):
# dd if=/boot/idbloader.img of=/dev/mmcblk2boot0 seek=64 conv=notrunc
which unfortunately results in this:
dd: writing to '/dev/mmcblk2boot0': Operation not permitted
1+0 records in
0+0 records out
0 bytes copied, 0.00123433 s, 0.0 kB/s
?
What am I missing?
I have read lots of pages, mostly to be sure which device to dd to... but this is unclear to me.
uname tells me I have kernel 5.7.0-1-MANJARO-ARM, and I installed bsp uboot: uboot-pinebookpro-bsp (1.5-7), which tells me this at the end of the installation:
A new U-Boot version needs to be flashed our install drive. Please use lsblk to determine your drive, before proceeding.
You can do this by running:
# dd if=/boot/idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc
# dd if=/boot/uboot.img of=/dev/mmcblkX seek=16384 conv=notrunc
# dd if=/boot/trust.img of=/dev/mmcblkX seek=24576 conv=notrunc
Transaction successfully finished.
lsblk outputs this:
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk2 179:0 0 58.2G 0 disk
├─mmcblk2p1 179:1 0 213.6M 0 part /boot
└─mmcblk2p2 179:2 0 58G 0 part /
mmcblk2boot0 179:32 0 4M 1 disk
mmcblk2boot1 179:64 0 4M 1 disk
zram0 252:0 0 5.6G 0 disk [SWAP]
So I figure I should move on to this (as root):
# dd if=/boot/idbloader.img of=/dev/mmcblk2boot0 seek=64 conv=notrunc
which unfortunately results in this:
dd: writing to '/dev/mmcblk2boot0': Operation not permitted
1+0 records in
0+0 records out
0 bytes copied, 0.00123433 s, 0.0 kB/s
?
What am I missing?
I have read lots of pages, mostly to be sure which device to dd to... but this is unclear to me.