From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: buildroot@buildroot.org
Cc: linux-amarula@amarulasolutions.com,
Damien Le Moal <dlemoal@kernel.org>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
"Yann E . MORIN" <yann.morin.1998@free.fr>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH v4 0/3] tinyinit and stm32f746_disco_sd_defconfig
Date: Sat, 31 Aug 2024 14:08:30 +0200 [thread overview]
Message-ID: <20240831120833.2915529-1-dario.binacchi@amarulasolutions.com> (raw)
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/20240822183742.3550055-3-dario.binacchi@amarulasolutions.com/
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
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-08-31 12:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-31 12:08 Dario Binacchi [this message]
2024-08-31 12:08 ` [Buildroot] [PATCH v4 1/3] package/tinyinit: new package Dario Binacchi
2024-09-02 0:26 ` Damien Le Moal via buildroot
2024-09-14 9:24 ` Yann E. MORIN
2024-08-31 12:08 ` [Buildroot] [PATCH v4 2/3] configs/stm32f746_disco_sd: new defconfig Dario Binacchi
2024-09-14 10:15 ` Yann E. MORIN
2024-08-31 12:08 ` [Buildroot] [PATCH v4 3/3] board/canaan/k210-soc: use tinyinit as Linux init process Dario Binacchi
2024-09-02 0:26 ` Damien Le Moal via buildroot
2024-09-14 9:35 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240831120833.2915529-1-dario.binacchi@amarulasolutions.com \
--to=dario.binacchi@amarulasolutions.com \
--cc=buildroot@buildroot.org \
--cc=dlemoal@kernel.org \
--cc=linux-amarula@amarulasolutions.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.