01-16-2020, 11:59 PM
Hi Daniel,
Many thanks for sharing your debian-install script, it worked really well for me. I used it to perform a minimal install of Debian bullseye/sid onto a microSD card, then once booted into bullseye used the normal apt commands to install the other packages I wanted.
I have 1 comment on the script's default block device and 1 question regarding firmware.
"install-debian"'s default block device.
With my PBP running the default Debian 9.11 / Mint
Linux Debian-Desktop 4.4.207 #2 SMP Sat Dec 21 22:42:47 EST 2019 aarch64 GNU/Linux
The block device names are as follows:
mmcblk1 = internal eMMC device
mmcblk0 = microSDXC card
However, once booted into Debian bullseye/sid, those devices have different names
mmcblk2 = internal eMMC device
mmcblk1 = microSDXC card
Note how mmcblk1 can either be the internal eMMC or the MicroSD card.
Caution is needed here as if one is running from the default OS on the eMMC and intends to install to micoSD card the default device used by install-debian script looks like it would overwrite the internal eMMC rather than installing to the microSD slot. This might catch people out, maybe the script have no default value for the block device and insist it is specified.
(If anyone reading this post wants to install the SD and is now concerned about which device name to use for; one way to double check which device has been given which name is by running the blkdev command with the SD slot empty then again with an SD card inserted. The 2nd run of blkdev should show an additional device, this will be the SD card. Now without rebooting use this device name and BLKDEV argument of the install-debian script. ./install-debian BLKDEV=/dev/???? )
Firmware dptx:
I see the same firmware issue with dptx as Antoine reported in #73
Does anyone have dptx.bin loading ? How ?
Many thanks for sharing your debian-install script, it worked really well for me. I used it to perform a minimal install of Debian bullseye/sid onto a microSD card, then once booted into bullseye used the normal apt commands to install the other packages I wanted.
I have 1 comment on the script's default block device and 1 question regarding firmware.
"install-debian"'s default block device.
With my PBP running the default Debian 9.11 / Mint
Linux Debian-Desktop 4.4.207 #2 SMP Sat Dec 21 22:42:47 EST 2019 aarch64 GNU/Linux
The block device names are as follows:
mmcblk1 = internal eMMC device
mmcblk0 = microSDXC card
However, once booted into Debian bullseye/sid, those devices have different names
mmcblk2 = internal eMMC device
mmcblk1 = microSDXC card
Note how mmcblk1 can either be the internal eMMC or the MicroSD card.
Caution is needed here as if one is running from the default OS on the eMMC and intends to install to micoSD card the default device used by install-debian script looks like it would overwrite the internal eMMC rather than installing to the microSD slot. This might catch people out, maybe the script have no default value for the block device and insist it is specified.
(If anyone reading this post wants to install the SD and is now concerned about which device name to use for; one way to double check which device has been given which name is by running the blkdev command with the SD slot empty then again with an SD card inserted. The 2nd run of blkdev should show an additional device, this will be the SD card. Now without rebooting use this device name and BLKDEV argument of the install-debian script. ./install-debian BLKDEV=/dev/???? )
Firmware dptx:
I see the same firmware issue with dptx as Antoine reported in #73
Code:
root@Debian-Desktop:~# dpkg -S /lib/firmware/rockchip/dptx.bin
firmware-misc-nonfree: /lib/firmware/rockchip/dptx.bin
root@Debian-Desktop:~# md5sum /lib/firmware/rockchip/dptx.bin
cb5347ba640a3f091816d21f19b7cae4 /lib/firmware/rockchip/dptx.bin
root@Debian-Desktop:~# dmesg | grep dptx -B 2 -A 2
[ 4.471977] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 4.471979] [drm] No driver support for vblank timestamp query.
[ 4.472968] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[ 4.514911] panfrost ff9a0000.gpu: clock rate = 500000000
[ 4.515246] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
--
[ 5.195658] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 5.195667] cfg80211: failed to load regulatory.db
[ 5.511177] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[ 6.232603] random: plymouthd: uninitialized urandom read (8 bytes read)
[ 6.233032] random: plymouthd: uninitialized urandom read (8 bytes read)
root@Debian-Desktop:~#
Does anyone have dptx.bin loading ? How ?