Index of /irradium/images/raspberry_pi_4
Installation
------------------
Unpack the IMAGE file and copy the image an SD card: (assuming SD card at /dev/mmcblk0):
# zstd -d irradium-*-core-*-build-*.img.zst
# dd if=irradium-*-core-*-build-*.img of=/dev/mmcblk0 bs=1M
or unpack directly to the card
# zstdcat irradium-*-core-*-build-*.img.zst > /dev/mmcblk0
Instalation eMMC/NAND/USB-HDD
------------------
Flash the image to USB-SSD/HDD:
# dd if=irradium-*-core-*-build-*.img of=/dev/sda bs=10M
or
# dd if=irradium-*-xfce-*-build-*.img of=/dev/sda bs=10M
then edit 2 files in USB-SSD/HDD:
# mount /dev/sda2 /media
# mount /dev/sda1 /media/boot
# sed -i 's:mmcblk0p:sda:' /media/boot/uEnv.txt
# sed -i 's:mmcblk0p:sda:' /media/etc/fstab
# sed -i 's:,data.*\-ro::g' /media/etc/fstab
or
to transfer a system with the SD to eMMC, you need to boot from the start and run the script:
# transfer-to-disk
Raspberry Pi 400 Support
------------------
After first boot, edit /boot/uEnv.txt and change:
fdtfile=bcm2711-rpi-4-b.dtb
to
fdtfile=bcm2711-rpi-400.dtb
Raspberry Pi CM4 Support
------------------
After first boot, edit /boot/uEnv.txt and change:
fdtfile=bcm2711-rpi-4-b.dtb
to
fdtfile=bcm2711-rpi-cm4.dtb
Default Login
------------------
login: root
debug speed(baudrate) 115200
Raspberry Pi 4 <---> USB to TTL cable
GND (pin 13) <---> GND
RX (pin 14) <---> TXD
TX (pin 15) <---> RXD