Skip to content

tinyinit and stm32f746_disco_sd_defconfig

Dario Binacchi buildroot 3 versions – Applied

Status from this message: Applied to master with 'imply' dropped, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 5 repliesApplied
  2. v33 patches 8 repliesSuperseded
  3. v23 patches 2 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3package/tinyinit: new packageDEVELOPERS package/Config.in package/busybox/busybox.mk +4 more+65 -02 replies
2/3configs/stm32f746_disco_sd: new defconfigDEVELOPERS board/stmicroelectronics/stm32f746-disco/extlinux.conf board/stmicroelectronics/stm32f746-disco/flash_sd.sh +8 more+139 -01 reply
3/3board/canaan/k210-soc: use tinyinit as Linux init process.checkpackageignore board/canaan/k210-soc/rootfs_overlay/init board/canaan/k210-soc/rootfs_overlay/sbin/init +9 more+9 -612 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchWaldemar BrodkorbDamien Le Moal
1/3R-b
2/3T-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 0/3] tinyinit and stm32f746_disco_sd_defconfig

This series is inspired by reading the following topic:

https://lore.kernel.org/buildroot/20230206230203.70e2dbd8@windsurf/T

Starting from that patch, and following Thomas Petazzoni's suggestions regarding the possibility of using a single minimal script without duplicating it within Buildroot, I developed these three patches. Meanwhile, the configuration for the stm32f746_disco board was useful for developing the display support for the board, which was later merged into Linux.

This time the patches have been applied to Yann's series:
https://patchwork.ozlabs.org/project/buildroot/list/?series=421768
and therefore not directly to the master.

Regarding Thomas's suggestion to remove the u-boot partition:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
I removed it, but the system became more unstable, so I kept the vfat partition, as is already done in other configurations for ST boards.

Dario Binacchi (3):
package/tinyinit: new package configs/stm32f746_disco_sd: new defconfig board/canaan/k210-soc: use tinyinit as Linux init process

 .checkpackageignore                           |  1 -
 DEVELOPERS                                    |  3 ++
 board/canaan/k210-soc/rootfs_overlay/init     |  1 -
 .../stm32f746-disco/extlinux.conf             |  4 +++
 .../stm32f746-disco/flash_sd.sh               | 22 +++++++++++++
 .../stm32f746-disco/genimage.cfg              | 27 ++++++++++++++++
 .../stm32f746-disco/linux.fragment            | 13 ++++++++
 .../patches/linux-headers/linux-headers.hash  |  1 +
 .../stm32f746-disco/patches/linux/linux.hash  |  2 ++
 .../stm32f746-disco/patches/uboot/uboot.hash  |  2 ++
 .../stm32f746-disco/post-build.sh             |  4 +++
 .../stm32f746-disco/readme.txt                | 31 +++++++++++++++++++
 configs/canaan_kd233_defconfig                |  3 +-
 configs/sipeed_maix_bit_defconfig             |  3 +-
 configs/sipeed_maix_bit_sdcard_defconfig      |  3 +-
 configs/sipeed_maix_dock_defconfig            |  3 +-
 configs/sipeed_maix_dock_sdcard_defconfig     |  3 +-
 configs/sipeed_maix_go_defconfig              |  3 +-
 configs/sipeed_maix_go_sdcard_defconfig       |  3 +-
 configs/sipeed_maixduino_defconfig            |  3 +-
 configs/sipeed_maixduino_sdcard_defconfig     |  3 +-
 configs/stm32f746_disco_sd_defconfig          | 31 +++++++++++++++++++
 package/Config.in                             |  1 +
 package/busybox/busybox.mk                    |  1 +
 package/tinyinit/Config.in                    |  8 +++++
 .../sbin => package/tinyinit}/init            | 11 +------
 package/tinyinit/tinyinit.mk                  | 13 ++++++++
 system/Config.in                              |  9 ++++++
 28 files changed, 182 insertions(+), 30 deletions(-)
 delete mode 120000 board/canaan/k210-soc/rootfs_overlay/init
 create mode 100644 board/stmicroelectronics/stm32f746-disco/extlinux.conf
 create mode 100755 board/stmicroelectronics/stm32f746-disco/flash_sd.sh
 create mode 100644 board/stmicroelectronics/stm32f746-disco/genimage.cfg
 create mode 100644 board/stmicroelectronics/stm32f746-disco/linux.fragment
 create mode 120000 board/stmicroelectronics/stm32f746-disco/patches/linux-headers/linux-headers.hash
 create mode 100644 board/stmicroelectronics/stm32f746-disco/patches/linux/linux.hash
 create mode 100644 board/stmicroelectronics/stm32f746-disco/patches/uboot/uboot.hash
 create mode 100755 board/stmicroelectronics/stm32f746-disco/post-build.sh
 create mode 100644 board/stmicroelectronics/stm32f746-disco/readme.txt
 create mode 100644 configs/stm32f746_disco_sd_defconfig
 create mode 100644 package/tinyinit/Config.in
 rename {board/canaan/k210-soc/rootfs_overlay/sbin => package/tinyinit}/init (75%)
 mode change 100755 => 100644
 create mode 100644 package/tinyinit/tinyinit.mk
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot