Add defconfigs for LPC3250 boards
v3 cover Add defconfigs for LPC3250 boards
V3 using feedback from Thomas.
Alexandre Belloni (2):
lpc32xx: Add CDL to the available bootloaders
Add defconfigs for LPC3250 boards
boot/Config.in | 1 + boot/lpc32xxcdl/Config.in | 10 + .../lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch | 52 ++ .../lpc32xxcdl-2.11-delete_redundant_files.patch | 964 ++++++++++++++++++++ boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch | 183 ++++ boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch | 521 +++++++++++ boot/lpc32xxcdl/lpc32xxcdl.mk | 60 ++ configs/ea3250_defconfig | 39 + configs/fdi3250_defconfig | 39 + configs/phy3250_defconfig | 39 + 10 files changed, 1908 insertions(+), 0 deletions(-) create mode 100644 boot/lpc32xxcdl/Config.in create mode 100644 boot/lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch create mode 100644 boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch create mode 100644 boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch create mode 100644 boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch create mode 100644 boot/lpc32xxcdl/lpc32xxcdl.mk create mode 100644 configs/ea3250_defconfig create mode 100644 configs/fdi3250_defconfig create mode 100644 configs/phy3250_defconfig
Signature · 1 line
1.7.8.2
PATCH v3 1/2 lpc32xx: Add CDL to the available bootloaders
This will build kickstart and s1l for the selected board and install them alongside u-boot.
--- boot/Config.in | 1 + boot/lpc32xxcdl/Config.in | 10 + .../lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch | 52 ++ .../lpc32xxcdl-2.11-delete_redundant_files.patch | 964 ++++++++++++++++++++ boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch | 183 ++++ boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch | 521 +++++++++++ boot/lpc32xxcdl/lpc32xxcdl.mk | 60 ++ 7 files changed, 1791 insertions(+), 0 deletions(-) create mode 100644 boot/lpc32xxcdl/Config.in create mode 100644 boot/lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch create mode 100644 boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch create mode 100644 boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch create mode 100644 boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch create mode 100644 boot/lpc32xxcdl/lpc32xxcdl.mk
boot/Config.in +1 -0
@@ -7,6 +7,7 @@ source "boot/uboot/Config.in" source "boot/at91bootstrap/Config.in" source "boot/at91dataflashboot/Config.in" source "boot/xloader/Config.in" +source "boot/lpc32xxcdl/Config.in" endmenu
boot/lpc32xxcdl/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_TARGET_LPC32XXCDL + depends on BR2_arm + bool "LPC32XX CDL (kickstart and S1L)" + +if BR2_TARGET_LPC32XXCDL + +config BR2_TARGET_LPC32XXCDL_BOARDNAME + string "LPC32xx board name" + +endif #BR2_TARGET_LPC32XXCDL
boot/lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch new file +52 -0
52 lines not on this page · raw message
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch new file +964 -0
964 lines not on this page · raw message
boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch new file +183 -0
183 lines not on this page · raw message
boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch new file +521 -0
521 lines not on this page · raw message
boot/lpc32xxcdl/lpc32xxcdl.mk new file +60 -0
60 lines not on this page · raw message
Signature · 1 line
1.7.8.2
PATCH v3 1/2 lpc32xx: Add CDL to the available bootloaders
Le Wed, 4 Jan 2012 18:13:34 +0100,
Alexandre Belloni <[email protected]> a ?crit :
boot/Config.in source "boot/uboot/Config.in" · line 10
Quoted 5 lines
boot/Config.in +1
-0@@ -7,6 +7,7 @@ source "boot/uboot/Config.in" source "boot/at91bootstrap/Config.in" source "boot/at91dataflashboot/Config.in" source "boot/xloader/Config.in" +source "boot/lpc32xxcdl/Config.in"
Sorry, I didn't notice that in my previous review. Entries should be ordered alphabetically.
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch
Quoted 2 lines
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch new file +0
-0
This patch requires a description + Signed-off-by.
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch line 1
Quoted 3 lines
+++
b/boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patchboot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch new file +1
-0@@ -0,0 +1,183 @@ +Fix compilation and eabi issues
A slightly extended description of what the patch does and why it is needed would be good to have.
Quoted 52 lines
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch new file +51
-0+++ b/boot/lpc32xxcdl/lpc32xxcdl.mk@@ -0,0 +1,60 @@ +############################################################# +# +# LPC32XX CDL +# +############################################################# + +LPC32XXCDL_VERSION = lpc32xx_cdl_v2.11 +LPC32XXCDL_SITE = http://git.lpcware.com/lpc3xxx_cdl.git +LPC32XXCDL_SITE_METHOD = git + +LPC32XXCDL_INSTALL_TARGET = NO +LPC32XXCDL_INSTALL_IMAGES = YES + +ifeq ($(BR2_TARGET_LPC32XXCDL_BOARDNAME),"ea3250") +LPC32XXCDL_KICKSTART = kickstart/nand +LPC32XXCDL_KICKSTART_BURNER = nand/kickstart +LPC32XXCDL_S1L = s1l +LPC32XXCDL_S1L_BURNER = nand/s1lapp +endif + +ifeq ($(BR2_TARGET_LPC32XXCDL_BOARDNAME),"phy3250") +LPC32XXCDL_KICKSTART = kickstart/kickstart_nand +LPC32XXCDL_KICKSTART_BURNER = nand/kickstart +LPC32XXCDL_S1L = s1l/s1l_nand_boot +LPC32XXCDL_S1L_BURNER = nand/s1lapp +endif + +ifeq ($(BR2_TARGET_LPC32XXCDL_BOARDNAME),"fdi3250") +LPC32XXCDL_KICKSTART = kickstart/nand +LPC32XXCDL_KICKSTART_BURNER = nand/kickstart_jtag +LPC32XXCDL_S1L = s1l +LPC32XXCDL_S1L_BURNER = nand/s1lapp_jtag +endif + +LPC32XXCDL_BUILD_FLAGS = \ + CROSS_COMPILE=$(TARGET_CROSS) \ + NXPMCU_WINBASE=$(@D) \ + NXPMCU_SOFTWARE=$(@D) \ + BSP=$(BR2_TARGET_LPC32XXCDL_BOARDNAME) \ + CSP=lpc32xx TOOL=gnu GEN=lpc + +LPC32XXCDL_BOARD_STARTUP_DIR = \ + csps/lpc32xx/bsps/$(BR2_TARGET_LPC32XXCDL_BOARDNAME)/startup/examples/ + +define LPC32XXCDL_BUILD_CMDS + $(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D) + $(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/Burners/$(LPC32XXCDL_KICKSTART_BURNER) + $(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/$(LPC32XXCDL_KICKSTART) + $(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/Burners/$(LPC32XXCDL_S1L_BURNER) + $(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/$(LPC32XXCDL_S1L)
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch line 60
Quoted 10 lines
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch new file +10
-0+endef + +define LPC32XXCDL_INSTALL_IMAGES_CMDS + cp $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/Burners/$(LPC32XXCDL_KICKSTART_BURNER)/*gnu.bin $(BINARIES_DIR) + cp $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/$(LPC32XXCDL_KICKSTART)/*gnu.bin $(BINARIES_DIR) + cp $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/Burners/$(LPC32XXCDL_S1L_BURNER)/*gnu.bin $(BINARIES_DIR) + cp $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/$(LPC32XXCDL_S1L)/*gnu.bin $(BINARIES_DIR) +endef + +$(eval $(call GENTARGETS))
Looks much better now, thanks!
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v3 1/2 lpc32xx: Add CDL to the available bootloaders
Quoted 12 lines · Thomas Petazzoni
Le Wed, 4 Jan 2012 18:13:34 +0100,
Alexandre Belloni <[email protected]> a ?crit :boot/Config.in source "boot/uboot/Config.in" · line 10
Quoted 5 lines
boot/Config.in +1
-0@@ -7,6 +7,7 @@ source "boot/uboot/Config.in" source "boot/at91bootstrap/Config.in" source "boot/at91dataflashboot/Config.in" source "boot/xloader/Config.in" +source "boot/lpc32xxcdl/Config.in"Sorry, I didn't notice that in my previous review. Entries should be ordered alphabetically.
I read that on the mailing list but that is not the case at the moment, should I reorder all the entries ?
Signature · 16 lines
Alexandre Belloni Adeneo Embedded Adetel Group 2, ch. du Ruisseau - 69134 Ecully, France www.adeneo-embedded.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120105/958a1476/attachment.html>
PATCH v3 1/2 lpc32xx: Add CDL to the available bootloaders
Le Thu, 05 Jan 2012 10:51:29 +0100,
Alexandre Belloni <[email protected]> a ?crit :
Quoted 2 lines
I read that on the mailing list but that is not the case at the moment, should I reorder all the entries ?
Yes, as a preliminary patch in your series, re-order the entries, and then add LPC CDL at the right location.
Thanks!
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v3 2/2 Add defconfigs for LPC3250 boards
In reply to Alexandre Belloniea3250: Embedded Artists
http://www.embeddedartists.com/products/kits/lpc3250_kit.php
fdi3250: Future Designs Inc.
http://www.teamfdi.com/development-tools-kits/products/6/SOMDIMM-LPC3250
phy3250: Phytec
http://www.phytec.com/products/som/ARM-XScale/phyCORE-ARM9-LPC3250.html
--- configs/ea3250_defconfig | 39 +++++++++++++++++++++++++++++++++++++++ configs/fdi3250_defconfig | 39 +++++++++++++++++++++++++++++++++++++++ configs/phy3250_defconfig | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 117 insertions(+), 0 deletions(-) create mode 100644 configs/ea3250_defconfig create mode 100644 configs/fdi3250_defconfig create mode 100644 configs/phy3250_defconfig
configs/ea3250_defconfig new file +39 -0
@@ -0,0 +1,39 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +BR2_ARM_TYPE="ARM926T" +BR2_ARM_EABI=y + +# +# GCC Options +# We need to force GCC 4.3.x because it is the last version +# that will compile a kernel with ethernet working correctly +BR2_GCC_VERSION_4_3_X=y + + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="ea3250" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_VERSION="master" +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/uboot-2009.03-lpc32xx" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master" +BR2_TARGET_UBOOT_FORMAT_BIN=y +BR2_TARGET_LPC32XXCDL=y +BR2_TARGET_LPC32XXCDL_BOARDNAME="ea3250" + + +# +# Kernel +# +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/linux-2.6.34-lpc32xx" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master" +BR2_LINUX_KERNEL_VERSION="master" +BR2_LINUX_KERNEL_PATCH="" +BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="ea3250" +BR2_LINUX_KERNEL_UIMAGE=y +
configs/fdi3250_defconfig new file +39 -0
@@ -0,0 +1,39 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +BR2_ARM_TYPE="ARM926T" +BR2_ARM_EABI=y + +# +# GCC Options +# We need to force GCC 4.3.x because it is the last version +# that will compile a kernel with ethernet working correctly +BR2_GCC_VERSION_4_3_X=y + + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="fdi3250" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_VERSION="master" +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/uboot-2009.03-lpc32xx" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master" +BR2_TARGET_UBOOT_FORMAT_BIN=y +BR2_TARGET_LPC32XXCDL=y +BR2_TARGET_LPC32XXCDL_BOARDNAME="fdi3250" + + +# +# Kernel +# +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/linux-2.6.34-lpc32xx" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master" +BR2_LINUX_KERNEL_VERSION="master" +BR2_LINUX_KERNEL_PATCH="" +BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="fdi3250" +BR2_LINUX_KERNEL_UIMAGE=y +
configs/phy3250_defconfig new file +39 -0
@@ -0,0 +1,39 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +BR2_ARM_TYPE="ARM926T" +BR2_ARM_EABI=y + +# +# GCC Options +# We need to force GCC 4.3.x because it is the last version +# that will compile a kernel with ethernet working correctly +BR2_GCC_VERSION_4_3_X=y + + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="phy3250" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_VERSION="master" +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/uboot-2009.03-lpc32xx" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master" +BR2_TARGET_UBOOT_FORMAT_BIN=y +BR2_TARGET_LPC32XXCDL=y +BR2_TARGET_LPC32XXCDL_BOARDNAME="phy3250" + + +# +# Kernel +# +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/linux-2.6.34-lpc32xx" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master" +BR2_LINUX_KERNEL_VERSION="master" +BR2_LINUX_KERNEL_PATCH="" +BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="phy3250" +BR2_LINUX_KERNEL_UIMAGE=y +
Signature · 1 line
1.7.8.2