Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Image can be flashed to sdcard using dd command or balenaEtcher.

Flashing steps.

1)Image generated after execution of script "bpi-r4_sdmmc_rdk-broadband-image.img.gz"can be flashed directly to sdcard using dd command or balenaEtcher.
2)For 2nd time flashing you can follow below mentioned flashing instructions instead if executing script,but use existing sdcard only.

Code Block
themeRDark
titleBPIR4 2nd time flashing instructions.
collapsetrue
1)copy mentioned files from deploy dir to local pc if using vm(fitImage, mt7988a-bananapi-bpi-r4-sd.dtb, rdkb-generic-broadband-image_rdk-next_20241028072748.bin.ext4)
2)copy fitImage and mt7988a-bananapi-bpi-r4-sd.dtb to 3rd partitionheam@Dellpartition
     heam@Dell-OptiPlex-9020:~/tr69$ sudo mount /dev/sdc3 /mnt/
     [sudo] password for heam: 
     heam@Dell-OptiPlex-9020:~/tr69$ cd /mnt/
     heam@Dell-OptiPlex-9020:/mnt$ ls
     fitImage mt7988a-bananapi-bpi-r4-sd.dtb
     heam@Dell-OptiPlex-9020:/mnt$ sudo rm -rf *
     heam@Dell-OptiPlex-9020:~/tr69$ sudo cp fitImage mt7988a-bananapi-bpi-r4-sd.dtb /mnt/

3)Flash rdkb rootfs to 4th partition.
     heam@Dell-OptiPlex-9020:~/tr69$ sudo dd if=rdkb-generic-broadband-image_rdk-next_20241028072748.bin.ext4 of=/dev/sdc4
     541914+0 records in
     541914+0 records out
     277459968 bytes (277 MB, 265 MiB) copied, 24.6373 s, 11.3 MB/s
heam@Dell-OptiPlex-9020:~/tr69$ 4)Remove sdcard and insert into BPIR4 device.5)Latest image will be loaded.

Script file expansion.

Script content used for final image generation

...