Changes between Version 53 and Version 54 of buildroot


Ignore:
Timestamp:
03/30/2022 12:26:36 AM (8 months ago)
Author:
Cale Collins
Comment:

added venice section for booting initrd

Legend:

Unmodified
Added
Removed
Modified
  • buildroot

    v53 v54  
    7474}}}
    7575  - In the above example you can modify fsload to load for your storage interface, device, and filesystem (ie "setenv fsload 'fatload mmc 0:1'" for loading from fist mmc controller first partition fatfs filesystem)
     76
     77=== For Venice
     78
     79In your buildroot config enable:
     80{{{#!bash
     81BR2_TARGET_ROOTFS_CPIO
     82BR2_TARGET_ROOTFS_CPIO_GZIP
     83BR2_TARGET_ROOTFS_CPIO_UIMAGE
     84}}}
     85
     86Make and copy the necessary files to your hosted directory:
     87{{{#!bash
     88TFTPBOOT=<your hosted TFTP dir>
     89cp buildroot/output/build/linux-v5.4.45-venice/arch/arm64/boot/dts/freescale/imx8mm-venice*.dtb $TFTPBOOT
     90cp buildroot/output/images/Image buildroot/output/images/rootfs.cpio.uboot $TFTPBOOT
     91}}}
     92
     93Boot your Venice, break out in the bootlaoder:
     94{{{#!bash
     95setenv serverip <your server IP address>
     96setenv ipaddr <the IP for your board>
     97setenv bootargs "console=${console},${baudrate}"
     98setenv fsload tftpboot
     99setenv fdt_file1 imx8mm-venice-gw72xx-0x.dtb #or whichever dtb your board requires
     100$fsload $fdt_addr_r $fdt_file1 && $fsload $kernel_addr_r Image && $fsload $ramdisk_addr_r rootfs.cpio.uboot && booti $kernel_addr_r $ramdisk_addr_r $fdt_addr_r
     101}}}
    76102
    77103