---
# System prepended metadata

title: Regular Meeting (2021.11.22)
tags: [Regular Meeting, DeWei]

---

# Regular Meeting (2021.11.22)

* About prebuild image file for rootfs
  > There are two types of formats being used for root filesystems. 
  > Before Vivado/SDK version 2013.1, 
  > Linux for Zynq AP SoC used an initial ramdisk/initrd (ramdisk.image.gz); 
  > Since then, the Zynq uses initramfs. 
  > MicroBlaze and PowerPC are using initramfs(initramfs.cpio.gz).
[link is here](https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842473/Build+and+Modify+a+Rootfs)

* Most importan is here:
``` bash
# Create initramfs with some folder
sh -c 'cd tmp_mnt/ && find . | cpio -H newc -o' | gzip -9 > new_initramfs.cpio.gz
```
* [why `find`?](https://mywiki.wooledge.org/BashPitfalls#for_f_in_.24.28ls_.2A.mp3.29)
* [*Busybox*](https://en.wikipedia.org/wiki/BusyBox) seems can be integrated into *initramfs* (researching...)
* Combind above script into my makefile (researching...)



###### tags: `Regular Meeting` `DeWei`