From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC] Bootloader cleanup work
Date: Tue, 13 Apr 2010 17:05:12 +0200 [thread overview]
Message-ID: <cover.1271170913.git.thomas.petazzoni@free-electrons.com> (raw)
Hello,
Since I didn't get a lot of feedback on my latest "target/ cleanup
status" e-mail, dated April, 4th, I'm sending the different remaining
parts of the work I've done so far.
This part is the bootloader cleanup part. I think it needs more review
and testing than the filesystem cleanup I've done (especially the
U-Boot code). Here is a summary of the changes :
- Instead of spreading all bootloader's code in various directories
in target/, it is now gathered in a boot/ directory
- In terms of configuration, a new top-level configuration item is
available to configure bootloaders, instead of hiding them in
"Target filesystem support"
- Support for yaboot has been removed.
- Support for U-Boot has been considerably simplified, with much
fewer configuration options. I'd appreciate if people using the
removed options could tell us why they are useful in their
projects.
- Support for grub, grub2 and syslinux has been slightly
cleaned-up. More work is needed on grub2 to make it really useful.
Please tell me what you think about this, and whether I should
continue to push this.
Best regards,
Thomas
The following changes since commit 04ba0089a672863e333a2de6b19d9b77fd0b26c1:
Thomas Petazzoni (1):
Get rid of the OPTIMIZE_FOR_CPU variable
are available in the git repository at:
git://git.busybox.net/~tpetazzoni/git/buildroot bootloaders-cleanup
Thomas Petazzoni (35):
bootloaders: move bootloader build code to boot/
yaboot: drop support
boot: remove references to COPYTO
u-boot: do not default to $(BOARD_NAME) for the board name
u-boot: remove ancient versions
u-boot: rename Makefile.in to u-boot.mk for coherency
u-boot: remove option to configure download site
u-boot: remove arch specific patches infrastructure
u-boot: remove u-boot-status make target
u-boot: remove reference to old 1.2.0-atmel version
u-boot: simplify custom patch handling
u-boot: remove patch for obsolete version
u-boot: remove useless symbolic link
u-boot: support building for mkimage
u-boot: further simplify the configuration
grub: remove GRUB_SUPPORTED_ARCH
grub2: remove GRUB2_ARCH_SUPPORTED
grub/grub2: drop unnecessary dependency on uclibc
grub/grub2: update splash image location
grub2: bump version
grub2: fix build
grub2: remove non-existing options
syslinux: bump version and fix build
syslinux: remove the unnecessary SYSLINUX_SUPPORTED_ARCH check
at91bootstrap: do not default to $(BOARD_NAME)
at91bootstrap: simplify configuration
at91bootstrap: fix the boot source selection
at91bootstrap: fix incorrect config option comment
at91bootstrap: remove unused/useless code
at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is set
at91dataflashboot: fix configuration options
at91dataflashboot: various fixes
at91dataflashboot: add a patch step
at91dataflashboot: add two patches
defconfigs: remove references to old U-Boot versions
Config.in | 2 +
Makefile | 1 +
boot/Config.in | 11 +
.../device/Atmel => boot}/at91bootstrap/Config.in | 26 +-
.../Atmel => boot}/at91bootstrap/at91bootstrap.mk | 25 +-
.../at91dataflashboot}/Config.in | 16 +-
.../at91dataflashboot-1.05-do-not-install.patch | 22 +
.../at91dataflashboot-1.05-eabi-fixes.patch | 43 +
.../at91dataflashboot/at91dataflashboot.mk | 23 +-
boot/common.mk | 1 +
{target/x86 => boot}/grub/Config.in | 0
.../x86 => boot}/grub/grub.100-autoreconf.patch | 0
.../grub/grub.200-fix_mbr_handling.patch | 0
.../grub/grub.300-honor_UCLIBC_HAS_LFS.patch | 0
.../grub/grub.400-nic_update2.patch.bz2 | Bin 328903 -> 328903 bytes
{target/x86 => boot}/grub/grub.mk | 25 +-
{target/x86 => boot}/grub/menu.lst | 0
{target/x86 => boot}/grub/splash.xpm.gz | Bin 45185 -> 45185 bytes
boot/grub2/Config.in | 4 +
boot/grub2/grub2.mk | 92 +++
{target/x86 => boot}/syslinux/Config.in | 0
boot/syslinux/syslinux-3.85-makefile.patch | 17 +
{target/x86 => boot}/syslinux/syslinux.mk | 46 +-
boot/u-boot/Config.in | 103 +++
boot/u-boot/u-boot.mk | 178 +++++
configs/at91rm9200df_defconfig | 2 -
configs/at91rm9200df_ext_defconfig | 2 -
configs/at91sam9260dfc_defconfig | 2 -
configs/at91sam9260dfc_ext_defconfig | 2 -
configs/at91sam9261ek_defconfig | 2 -
configs/at91sam9261ek_ext_defconfig | 2 -
configs/at91sam9263ek_defconfig | 2 -
configs/at91sam9263ek_ext_defconfig | 2 -
configs/at91sam9g20dfc_defconfig | 2 -
configs/at91sam9g20dfc_ext_defconfig | 2 -
configs/atngw100-base_defconfig | 2 -
configs/atngw100_defconfig | 2 -
configs/atstk1005_defconfig | 2 -
configs/atstk100x_defconfig | 2 -
configs/integrator926_defconfig | 2 -
configs/integrator926_huge_defconfig | 2 -
target/Config.in | 9 -
target/Makefile.in | 6 -
target/device/Atmel/Config.in | 4 -
target/device/Atmel/Makefile.in | 12 -
target/device/Atmel/arch-arm/Makefile.in | 2 -
.../2009.01/u-boot-2009.01-001-at91rm9200.patch | 723 ------------------
.../u-boot-2009.01-002-at91rm9200dk.h.patch | 309 --------
.../2009.01/u-boot-2009.01-003-at91rm9200dk.patch | 324 --------
.../2009.01/u-boot-2009.01-004-at91rm9200ek.patch | 536 -------------
.../2009.01/u-boot-2009.01-005-at91sam9g20ek.patch | 801 --------------------
.../u-boot-2009.01-006-drivers-net-macb.c.patch | 28 -
.../u-boot/2009.01/u-boot-2009.01-007-tools.patch | 576 --------------
.../2009.01/u-boot-2009.01-008-Makefile.patch | 64 --
.../2009.01/u-boot-2009.01-009-factory.patch | 323 --------
.../2009.01/u-boot-2009.01-010-coloured_led.patch | 196 -----
.../u-boot/2009.01/u-boot-2009.01-011-spimux.patch | 93 ---
.../2009.01/u-boot-2009.01-012-ethinit.patch | 77 --
.../2009.01/u-boot-2009.01-013-configs.patch | 130 ----
target/device/Atmel/arch-arm/u-boot/Config.in | 21 -
target/device/Atmel/arch-arm/u-boot/Makefile.in | 4 -
target/device/Config.in.u-boot | 9 -
target/powerpc/Makefile.in | 1 -
target/powerpc/yaboot/Config.in | 5 -
target/powerpc/yaboot/yaboot.mk | 44 --
target/u-boot/Config.in | 380 ----------
target/u-boot/Makefile.in | 293 -------
...boot-2009.01-include_asm-avr32_io.h.patch.avr32 | 13 -
target/x86/Makefile.in | 3 -
target/x86/grub2/Config.in | 13 -
.../x86/grub2/grub-1.95-001-fix-grub-install.patch | 23 -
target/x86/grub2/grub2.mk | 134 ----
target/x86/syslinux/syslinux-3.82-makefile.patch | 11 -
73 files changed, 523 insertions(+), 5311 deletions(-)
create mode 100644 boot/Config.in
rename {target/device/Atmel => boot}/at91bootstrap/Config.in (71%)
rename {target/device/Atmel => boot}/at91bootstrap/at91bootstrap.mk (79%)
rename {target/device/Atmel/DataFlashBoot => boot/at91dataflashboot}/Config.in (53%)
create mode 100644 boot/at91dataflashboot/at91dataflashboot-1.05-do-not-install.patch
create mode 100644 boot/at91dataflashboot/at91dataflashboot-1.05-eabi-fixes.patch
rename target/device/Atmel/DataFlashBoot/DataflashBoot.mk => boot/at91dataflashboot/at91dataflashboot.mk (65%)
create mode 100644 boot/common.mk
rename {target/x86 => boot}/grub/Config.in (100%)
rename {target/x86 => boot}/grub/grub.100-autoreconf.patch (100%)
rename {target/x86 => boot}/grub/grub.200-fix_mbr_handling.patch (100%)
rename {target/x86 => boot}/grub/grub.300-honor_UCLIBC_HAS_LFS.patch (100%)
rename {target/x86 => boot}/grub/grub.400-nic_update2.patch.bz2 (100%)
rename {target/x86 => boot}/grub/grub.mk (89%)
rename {target/x86 => boot}/grub/menu.lst (100%)
rename {target/x86 => boot}/grub/splash.xpm.gz (100%)
create mode 100644 boot/grub2/Config.in
create mode 100644 boot/grub2/grub2.mk
rename {target/x86 => boot}/syslinux/Config.in (100%)
create mode 100644 boot/syslinux/syslinux-3.85-makefile.patch
rename {target/x86 => boot}/syslinux/syslinux.mk (52%)
create mode 100644 boot/u-boot/Config.in
create mode 100644 boot/u-boot/u-boot.mk
delete mode 100644 target/device/Atmel/arch-arm/Makefile.in
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-001-at91rm9200.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-002-at91rm9200dk.h.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-003-at91rm9200dk.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-004-at91rm9200ek.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-005-at91sam9g20ek.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-006-drivers-net-macb.c.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-007-tools.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-008-Makefile.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-009-factory.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-010-coloured_led.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-011-spimux.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-012-ethinit.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/2009.01/u-boot-2009.01-013-configs.patch
delete mode 100644 target/device/Atmel/arch-arm/u-boot/Config.in
delete mode 100644 target/device/Atmel/arch-arm/u-boot/Makefile.in
delete mode 100644 target/device/Config.in.u-boot
delete mode 100644 target/powerpc/Makefile.in
delete mode 100644 target/powerpc/yaboot/Config.in
delete mode 100644 target/powerpc/yaboot/yaboot.mk
delete mode 100644 target/u-boot/Config.in
delete mode 100644 target/u-boot/Makefile.in
delete mode 100644 target/u-boot/u-boot-2009.01-include_asm-avr32_io.h.patch.avr32
delete mode 100644 target/x86/Makefile.in
delete mode 100644 target/x86/grub2/Config.in
delete mode 100644 target/x86/grub2/grub-1.95-001-fix-grub-install.patch
delete mode 100644 target/x86/grub2/grub2.mk
delete mode 100644 target/x86/syslinux/syslinux-3.82-makefile.patch
Thanks,
--
Thomas Petazzoni
next reply other threads:[~2010-04-13 15:05 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-13 15:05 Thomas Petazzoni [this message]
2010-04-13 15:05 ` [Buildroot] [PATCH 01/35] bootloaders: move bootloader build code to boot/ Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 02/35] yaboot: drop support Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 03/35] boot: remove references to COPYTO Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 04/35] u-boot: do not default to $(BOARD_NAME) for the board name Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 05/35] u-boot: remove ancient versions Thomas Petazzoni
2010-04-13 15:13 ` Jonathan dumaresq
2010-04-14 14:54 ` Thomas Petazzoni
2010-04-14 17:26 ` Jonathan dumaresq
2010-04-13 15:05 ` [Buildroot] [PATCH 06/35] u-boot: rename Makefile.in to u-boot.mk for coherency Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 07/35] u-boot: remove option to configure download site Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 08/35] u-boot: remove arch specific patches infrastructure Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 09/35] u-boot: remove u-boot-status make target Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 10/35] u-boot: remove reference to old 1.2.0-atmel version Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 11/35] u-boot: simplify custom patch handling Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 12/35] u-boot: remove patch for obsolete version Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 13/35] u-boot: remove useless symbolic link Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 14/35] u-boot: support building for mkimage Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 15/35] u-boot: further simplify the configuration Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 16/35] grub: remove GRUB_SUPPORTED_ARCH Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 17/35] grub2: remove GRUB2_ARCH_SUPPORTED Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 18/35] grub/grub2: drop unnecessary dependency on uclibc Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 19/35] grub/grub2: update splash image location Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 20/35] grub2: bump version Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 21/35] grub2: fix build Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 22/35] grub2: remove non-existing options Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 23/35] syslinux: bump version and fix build Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 24/35] syslinux: remove the unnecessary SYSLINUX_SUPPORTED_ARCH check Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 25/35] at91bootstrap: do not default to $(BOARD_NAME) Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 26/35] at91bootstrap: simplify configuration Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 27/35] at91bootstrap: fix the boot source selection Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 28/35] at91bootstrap: fix incorrect config option comment Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 29/35] at91bootstrap: remove unused/useless code Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 30/35] at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is set Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 31/35] at91dataflashboot: fix configuration options Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 32/35] at91dataflashboot: various fixes Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 33/35] at91dataflashboot: add a patch step Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 34/35] at91dataflashboot: add two patches Thomas Petazzoni
2010-04-13 15:05 ` [Buildroot] [PATCH 35/35] defconfigs: remove references to old U-Boot versions Thomas Petazzoni
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=cover.1271170913.git.thomas.petazzoni@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox