From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [pull request] Pull request for branch bootloaders-cleanup
Date: Tue, 1 Jun 2010 00:07:46 +0200 [thread overview]
Message-ID: <cover.1275343447.git.thomas.petazzoni@free-electrons.com> (raw)
Hello,
Here is my first set of cleanup patches for 2010.08. This set tries to
cleanup the bootloader compilation code.
In short:
* Move bootloader code from target/ to boot/ (new directory)
* Add support for the Barebox bootloader
* Simplify how U-Boot is handled, with less configuration options
* Drop support for Yaboot
* Bump syslinux and fix various build issues
* Cleanup everywhere
* Mark grub2 as BROKEN: it wasn't working, it still doesn't build
properly.
The following configurations do work for me :
* U-Boot ARM at91sam9263ek + AT91bootstrap for the same board
* Barebox ARM at91sam9263ek
* Grub x86
* Syslinux x86
* Pxelinux x86
* Barebox PowerPC pcm030
* U-Boot PowerPC barco
As usual, there are certainly remaining issues, and possible further
cleanups. Don't hesitate to let me know about your ideas.
Cheers,
Thomas
The following changes since commit e1a7d916e9eeaa215551740de40c055130d6c073:
Peter Korsgaard (1):
Revert "Add -rpath option for host package compilation"
are available in the git repository at:
git://git.busybox.net/~tpetazzoni/git/buildroot bootloaders-cleanup
Thomas Petazzoni (46):
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
u-boot: remove unused U_BOOT_TARGET_TOOLS variable
u-boot: add a few comments
u-boot: remove unneeded symbolic link + blank line
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
grub2: only available on x86 and PowerPC and mark as BROKEN
syslinux: bump version and fix build
syslinux: remove the unnecessary SYSLINUX_SUPPORTED_ARCH check
nasm: new package, needed for syslinux
syslinux: depends on host-nasm
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
at91bootstrap: bump version to 2.13
at91bootstrap: don't use the ATMEL_MIRROR thing
at91bootstrap: fix install procedure
at91bootstrap: fix AT91BOOTSTRAP_BINARY
at91dataflashboot: fix configuration options
at91dataflashboot: various fixes
at91dataflashboot: add a patch step
at91dataflashboot: add two patches
defconfigs: remove references to old U-Boot versions
Add support for the Barebox bootloader
Config.in | 2 +
Makefile | 3 +-
boot/Config.in | 12 +
.../device/Atmel => boot}/at91bootstrap/Config.in | 26 +-
.../Atmel => boot}/at91bootstrap/at91bootstrap.mk | 47 +-
.../at91dataflashboot}/Config.in | 16 +-
.../at91dataflashboot-1.05-do-not-install.patch | 22 +
.../at91dataflashboot-1.05-eabi-fixes.patch | 43 +
.../at91dataflashboot/at91dataflashboot.mk | 23 +-
boot/barebox/Config.in | 14 +
boot/barebox/barebox.mk | 61 ++
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 | 9 +
boot/grub2/grub2.mk | 93 +++
{target/x86 => boot}/syslinux/Config.in | 0
boot/syslinux/syslinux-3.85-makefile.patch | 17 +
boot/syslinux/syslinux.mk | 54 ++
boot/u-boot/Config.in | 101 +++
boot/u-boot/u-boot.mk | 188 +++++
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 | 5 -
configs/atstk1005_defconfig | 2 -
configs/atstk100x_defconfig | 2 -
configs/integrator926_defconfig | 2 -
configs/integrator926_huge_defconfig | 2 -
package/nasm/nasm.mk | 19 +
target/Config.in | 9 -
target/Makefile.in | 8 -
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 | 378 ---------
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 -
target/x86/syslinux/syslinux.mk | 70 --
77 files changed, 679 insertions(+), 5369 deletions(-)
create mode 100644 boot/Config.in
rename {target/device/Atmel => boot}/at91bootstrap/Config.in (71%)
rename {target/device/Atmel => boot}/at91bootstrap/at91bootstrap.mk (65%)
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/barebox/Config.in
create mode 100644 boot/barebox/barebox.mk
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
create mode 100644 boot/syslinux/syslinux.mk
create mode 100644 boot/u-boot/Config.in
create mode 100644 boot/u-boot/u-boot.mk
create mode 100644 package/nasm/nasm.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
delete mode 100644 target/x86/syslinux/syslinux.mk
Thanks,
--
Thomas Petazzoni
next reply other threads:[~2010-05-31 22:07 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-31 22:07 Thomas Petazzoni [this message]
2010-05-31 22:07 ` [Buildroot] [PATCH 01/46] bootloaders: move bootloader build code to boot/ Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 02/46] yaboot: drop support Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 03/46] boot: remove references to COPYTO Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 04/46] u-boot: do not default to $(BOARD_NAME) for the board name Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 05/46] u-boot: remove ancient versions Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 06/46] u-boot: rename Makefile.in to u-boot.mk for coherency Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 07/46] u-boot: remove option to configure download site Thomas Petazzoni
2010-06-02 7:14 ` [Buildroot] [PATCH 07/46] u-boot: remove option to configuredownload site Paul Jones
2010-06-04 8:32 ` Thomas Petazzoni
2010-06-05 13:49 ` Thomas Petazzoni
2010-06-06 7:29 ` Paul Jones
2010-06-07 9:11 ` Thomas Petazzoni
2010-06-07 21:22 ` Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 08/46] u-boot: remove arch specific patches infrastructure Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 09/46] u-boot: remove u-boot-status make target Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 10/46] u-boot: remove reference to old 1.2.0-atmel version Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 11/46] u-boot: simplify custom patch handling Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 12/46] u-boot: remove patch for obsolete version Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 13/46] u-boot: remove useless symbolic link Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 14/46] u-boot: support building for mkimage Thomas Petazzoni
2010-06-08 21:45 ` Peter Korsgaard
2010-06-12 14:15 ` Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 15/46] u-boot: further simplify the configuration Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 16/46] u-boot: remove unused U_BOOT_TARGET_TOOLS variable Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 17/46] u-boot: add a few comments Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 18/46] u-boot: remove unneeded symbolic link + blank line Thomas Petazzoni
2010-06-08 21:53 ` Peter Korsgaard
2010-06-12 14:16 ` Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 19/46] grub: remove GRUB_SUPPORTED_ARCH Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 20/46] grub2: remove GRUB2_ARCH_SUPPORTED Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 21/46] grub/grub2: drop unnecessary dependency on uclibc Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 22/46] grub/grub2: update splash image location Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 23/46] grub2: bump version Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 24/46] grub2: fix build Thomas Petazzoni
2010-06-08 21:54 ` Peter Korsgaard
2010-05-31 22:08 ` [Buildroot] [PATCH 25/46] grub2: remove non-existing options Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 26/46] grub2: only available on x86 and PowerPC and mark as BROKEN Thomas Petazzoni
2010-06-08 21:55 ` Peter Korsgaard
2010-05-31 22:08 ` [Buildroot] [PATCH 27/46] syslinux: bump version and fix build Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 28/46] syslinux: remove the unnecessary SYSLINUX_SUPPORTED_ARCH check Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 29/46] nasm: new package, needed for syslinux Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 30/46] syslinux: depends on host-nasm Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 31/46] at91bootstrap: do not default to $(BOARD_NAME) Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 32/46] at91bootstrap: simplify configuration Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 33/46] at91bootstrap: fix the boot source selection Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 34/46] at91bootstrap: fix incorrect config option comment Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 35/46] at91bootstrap: remove unused/useless code Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 36/46] at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is set Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 37/46] at91bootstrap: bump version to 2.13 Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 38/46] at91bootstrap: don't use the ATMEL_MIRROR thing Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 39/46] at91bootstrap: fix install procedure Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 40/46] at91bootstrap: fix AT91BOOTSTRAP_BINARY Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 41/46] at91dataflashboot: fix configuration options Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 42/46] at91dataflashboot: various fixes Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 43/46] at91dataflashboot: add a patch step Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 44/46] at91dataflashboot: add two patches Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 45/46] defconfigs: remove references to old U-Boot versions Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 46/46] Add support for the Barebox bootloader Thomas Petazzoni
2010-06-09 7:51 ` Peter Korsgaard
2010-06-12 14:16 ` Thomas Petazzoni
2010-06-05 13:51 ` [Buildroot] [pull request] Pull request for branch bootloaders-cleanup Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2010-06-12 14:21 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.1275343447.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