From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 8.mo3.mail-out.ovh.net ([87.98.172.249] helo=mo3.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TwbPV-0003lU-7K for barebox@lists.infradead.org; Sat, 19 Jan 2013 16:36:50 +0000 Received: from mail412.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo3.mail-out.ovh.net (Postfix) with SMTP id 8C4E5FF860C for ; Sat, 19 Jan 2013 17:50:25 +0100 (CET) Date: Sat, 19 Jan 2013 17:35:24 +0100 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20130119163524.GC26329@game.jcrosoft.org> MIME-Version: 1.0 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 0/9 v4] at91: add bootstrap support To: barebox@lists.infradead.org Hi, v4: make the code arm & mips supported for barebox head detection v3: send correct patch series and pull can we have it on master the v2 does not cange much since v1 v2: fix whitesapce fix comment fix command default This patch serie introduce a common bootstrap code aka xloder for TI and at91bootstrap for Atmel to barebox As I do not have with me right now a TI platform I did not switch it to the new generic bootstrap code. On at91 add it on the calao usb-a9263 test on nand and spi This patch serie depends on the previous at91 patch series The following changes since commit cef34886b745cf3f6dff55bf326e29a5857b2206: graphic_utils/fb_open: fix fbsize (2013-01-16 21:33:14 +0100) are available in the git repository at: git://git.jcrosoft.org/barebox.git delivery/at91_bootstrap for you to fetch changes up to dfb8584a950895f3e264ad3ee1c13a626c4e979a: at91: usb_a9263: add bootstrap version (2013-01-17 01:22:43 +0800) ---------------------------------------------------------------- Jean-Christophe PLAGNIOL-VILLARD (9): filetype: add is_barebox_mips_head support filetype: add is_barebox_head at91: add test commamd to emulate bootrom boot at91sam926x: lowlevel add external boot support at91: sam926x: switch lowlevel param to c code at91: usb-a9263 add lowlevel init introduce common bootstrap code at91: add bootstrap version at91: usb_a9263: add bootstrap version arch/arm/boards/at91sam9263ek/Makefile | 5 +++++ arch/arm/boards/at91sam9263ek/config.h | 87 --------------------------------------------------------------------------------------- arch/arm/boards/at91sam9263ek/lowlevel_init.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/boards/mmccpu/Makefile | 5 +++++ arch/arm/boards/mmccpu/config.h | 118 ---------------------------------------------------------------------------------------------------------------------- arch/arm/boards/mmccpu/lowlevel_init.c | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/boards/pm9261/Makefile | 5 +++++ arch/arm/boards/pm9261/config.h | 87 --------------------------------------------------------------------------------------- arch/arm/boards/pm9261/lowlevel_init.c | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/boards/pm9263/Makefile | 5 +++++ arch/arm/boards/pm9263/config.h | 103 ------------------------------------------------------------------------------------------------------- arch/arm/boards/pm9263/lowlevel_init.c | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/boards/usb-a926x/Makefile | 9 +++++++++ arch/arm/boards/usb-a926x/usb_a9263_bootstrap.c | 16 ++++++++++++++++ arch/arm/boards/usb-a926x/usb_a9263_lowlevel_init.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/configs/usb_a9263_128mib_bootstrap_defconfig | 26 ++++++++++++++++++++++++++ arch/arm/configs/usb_a9263_bootstrap_defconfig | 25 +++++++++++++++++++++++++ arch/arm/mach-at91/Kconfig | 13 +++++++++++++ arch/arm/mach-at91/Makefile | 2 ++ arch/arm/mach-at91/at91sam926x_lowlevel_init.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------- arch/arm/mach-at91/boot_test_cmd.c | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/mach-at91/bootstrap.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/mach-at91/include/mach/at91_lowlevel_init.h | 33 +++++++++++++++++++++++++++++++++ arch/arm/mach-at91/include/mach/bootstrap.h | 28 ++++++++++++++++++++++++++++ common/filetype.c | 2 +- include/bootstrap.h | 34 ++++++++++++++++++++++++++++++++++ include/filetype.h | 21 +++++++++++++++++++++ lib/Kconfig | 2 ++ lib/Makefile | 1 + lib/bootstrap/Kconfig | 13 +++++++++++++ lib/bootstrap/Makefile | 3 +++ lib/bootstrap/common.c | 21 +++++++++++++++++++++ lib/bootstrap/devfs.c | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/bootstrap/disk.c | 37 +++++++++++++++++++++++++++++++++++++ 34 files changed, 1240 insertions(+), 421 deletions(-) create mode 100644 arch/arm/boards/at91sam9263ek/lowlevel_init.c create mode 100644 arch/arm/boards/mmccpu/lowlevel_init.c create mode 100644 arch/arm/boards/pm9261/lowlevel_init.c create mode 100644 arch/arm/boards/pm9263/lowlevel_init.c create mode 100644 arch/arm/boards/usb-a926x/usb_a9263_bootstrap.c create mode 100644 arch/arm/boards/usb-a926x/usb_a9263_lowlevel_init.c create mode 100644 arch/arm/configs/usb_a9263_128mib_bootstrap_defconfig create mode 100644 arch/arm/configs/usb_a9263_bootstrap_defconfig create mode 100644 arch/arm/mach-at91/boot_test_cmd.c create mode 100644 arch/arm/mach-at91/bootstrap.c create mode 100644 arch/arm/mach-at91/include/mach/at91_lowlevel_init.h create mode 100644 arch/arm/mach-at91/include/mach/bootstrap.h create mode 100644 include/bootstrap.h create mode 100644 lib/bootstrap/Kconfig create mode 100644 lib/bootstrap/Makefile create mode 100644 lib/bootstrap/common.c create mode 100644 lib/bootstrap/devfs.c create mode 100644 lib/bootstrap/disk.c Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox