The board variant found on the AT24 EEPROM holds the variant ID that we
can use to identify which expansion board we are running on and thus
which device tree to load and pass to the kernel.
Signed-off-by: Maxime Ripard
---
.../boards/crystalfontz-cfa10036/env/boot/mmc-ext3 |4 ++--
1 file c
The AT24 found on the expansion boards store the variant of the board it
is soldered onto.
That means that we are that way able to determine what expansion board
is currently plugged in if any. If we can't communicate with the EEPROM,
we just assume that only the CFA-10036 is there.
Signed-off-by
This EEPROM is found on the expansion boards available for the 10036
module. Since we won't need to do anything fancy except reading/writing
from it, use bitbanging to communicate with it.
This EEPROM will hold mostly the board_id so that we can determine if
there is an expansion board plugged in
Hi,
The CFA-10036 is actually a module that can be plugged in an expansion board.
For now, there is only two of these expansion boards, the CFA-10037 and the
CFA-10049, with different features, muxing and so on.
So, at boot time, the cfa-10036 has to be aware that it runs on an expansion
board a
Allows erasing a whole NAND device including the bad blocks. Only meant
for development where one might accidently overwrite real bad block
information.
Signed-off-by: Wolfram Sang
---
commands/Kconfig|8 +
commands/flash.c| 68 ++
On Thu, Dec 13, 2012 at 04:45:54PM +0100, Wolfram Sang wrote:
> Allows erasing a whole NAND device including the bad blocks. Only meant
> for development where one might accidently overwrite real bad block
> information.
>
> Signed-off-by: Wolfram Sang
Ooops, wrong one. Please discard until I po
Signed-off-by: Wolfram Sang
---
commands/flash.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/flash.c b/commands/flash.c
index b1673de..d22d6a0 100644
--- a/commands/flash.c
+++ b/commands/flash.c
@@ -54,7 +54,7 @@ static int do_flerase(int argc, char *argv[
This patch series first adds a flag to mtd devices which disables special
treatment for bad blocks. That means, they are handled like every other good
block. The second one then adds a scrub command which is basically a simple
erase, only that bad blocks are treated like good blocks and are trying
Allows erasing a whole NAND device including the bad blocks. Only meant
for development where one might accidently overwrite real bad block
information. Make sure you understood the help text!
Signed-off-by: Wolfram Sang
---
commands/Kconfig|8 +
commands/flash.c|
This is needed for a later command to scrub away bad blocks. ONLY USE THIS
FEATURE WHEN YOU KNOW WHAT YOU ARE DOING!
Signed-off-by: Wolfram Sang
---
drivers/mtd/core.c|3 ++-
drivers/mtd/nand/nand_write.c | 37 -
include/linux/mtd/mtd-abi.h
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/include/mach/omap4-silicon.h |9 -
1 file changed, 9 deletions(-)
diff --git a/arch/arm/mach-omap/include/mach/omap4-silicon.h
b/arch/arm/mach-omap/include/mach/omap4-silicon.h
index 008eafb..8ce1882 100644
---
This is an updated series based on current master, with Sascha's OMAP
cleanup patches.
The CPSW driver is not yet intended for merging and included only for those
who want to try it out.
Thanks,
Jan
___
barebox mailing list
barebox@lists.infradead.org
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/include/mach/omap4-silicon.h |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-omap/include/mach/omap4-silicon.h
b/arch/arm/mach-omap/include/mach/omap4-silicon.h
index 8ce1882..127257d 100644
--- a/ar
From: Sascha Hauer
missing in omap4-clock.h
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/include/mach/omap4-clock.h |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap/include/mach/omap4-clock.h
b/arch/arm/mach-omap/include/mach/omap4-clock.h
i
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/include/mach/sys_info.h |1 -
arch/arm/mach-omap/omap3_generic.c | 19 ---
2 files changed, 20 deletions(-)
diff --git a/arch/arm/mach-omap/include/mach/sys_info.h
b/arch/arm/mach-omap/include/
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/include/mach/omap3-silicon.h |3 +--
arch/arm/mach-omap/omap3_generic.c |2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-omap/include/mach/omap3-silicon.h
b/arch/arm/ma
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/include/mach/omap4-silicon.h |8
arch/arm/mach-omap/omap4_generic.c |2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap/include/mach/omap4-silicon.h
b/arch/a
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/include/mach/timers.h |4
arch/arm/mach-omap/omap3_clock.c |3 +++
arch/arm/mach-omap/omap4_clock.c |1 +
arch/arm/mach-omap/omap4_generic.c |2 +-
arch/arm/mach-omap/s32k_clksource.
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/devices-gpmc-nand.c |2 +-
arch/arm/mach-omap/gpmc.c | 14 --
arch/arm/mach-omap/include/mach/gpmc.h |4 +++-
3 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-om
Signed-off-by: Jan Luebbe
---
arch/arm/mach-omap/include/mach/debug_ll.h |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-omap/include/mach/debug_ll.h
b/arch/arm/mach-omap/include/mach/debug_ll.h
index b2714c5..142f01a 100644
--- a/arch/arm/mach-omap/include/mach/debug_l
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/gpmc.c | 11 +--
arch/arm/mach-omap/include/mach/omap3-silicon.h |4 ++--
arch/arm/mach-omap/include/mach/omap4-silicon.h |4 ++--
arch/arm/mach-omap/omap3_clock.c|2
From: Sascha Hauer
- remove mach/silicon.h and include omap?-silicon.h directly
- include mach/omap?-clock.h directly where needed
Signed-off-by: Sascha Hauer
---
arch/arm/boards/archosg9/board.c|2 +-
arch/arm/boards/beagle/board.c |2 +-
arch/arm/boar
From: Teresa Gámez
Created ARCH for AM33xx boards as second stage bootloader.
This includes:
- Added dmtimer0
- Created basic header files
- Added MMC support for ARCH_AM33XX
- Added reset function
Signed-off-by: Teresa Gámez
Some header file cleanup by:
Signed-off-by: Jan Luebbe
---
arch/ar
Signed-off-by: Jan Luebbe
---
arch/arm/boards/beaglebone/board.c | 82 +++
arch/arm/mach-omap/include/mach/cpsw.h | 49 ++
drivers/net/Kconfig|4 +
drivers/net/Makefile |1 +
drivers/net/cpsw.c | 1021 ++
HI,
we currently have 2 fifo at comsole level one for input one for output
we fill the output fifo before any console is registered and then
empty it
Now we introduce a new mecanism as in the kernel dmesg
we will always fill the output kfifo with drivers o
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/console.c |9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/common/console.c b/common/console.c
index fdd5f42..96e1396 100644
--- a/common/console.c
+++ b/common/console.c
@@ -55,6 +55,11 @@ static struct kfi
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/startup.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/common/startup.c b/common/startup.c
index 14409a2..1a6352d 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -98,19 +98,19 @@ void start_bare
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
commands/Kconfig |6 ++
common/console.c | 20
2 files changed, 26 insertions(+)
diff --git a/commands/Kconfig b/commands/Kconfig
index ac9b797..55a9840 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -115
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/base/driver.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 5b3542b..4688a19 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -380,13 +38
1024 by default
4096 if DEBUG_INFO
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/Kconfig |7 +++
common/console.c |4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/common/Kconfig b/common/Kconfig
index 57119dc..6a0c345 100644
--- a/common/Kconfig
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/mach-at91/clock.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index e911270..23e4dd4 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm/mach-at91/clo
This will allow to implement a dmesg mecanism in barebox
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
include/kfifo.h |2 ++
lib/kfifo.c | 21 +
2 files changed, 23 insertions(+)
diff --git a/include/kfifo.h b/include/kfifo.h
index 25880f4..9dbbe0d 100644
--
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/meminfo.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/meminfo.c b/common/meminfo.c
index 06fce5a..989024f 100644
--- a/common/meminfo.c
+++ b/common/meminfo.c
@@ -9,12 +9,12 @@ static int display_
this will allow to fill the output buffer
and now have 2 output mode pr_xxx for drivers and printf for application
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
common/console.c| 47 +++
include/common.h| 28 +
---
drivers/usb/imx/chipidea-imx.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/imx/chipidea-imx.c b/drivers/usb/imx/chipidea-imx.c
index 66eb1ad..5b4c081 100644
--- a/drivers/usb/imx/chipidea-imx.c
+++ b/drivers/usb/imx/chipidea-imx.c
@@ -52,7 +52,7 @@ static
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/imx51.c |1 +
arch/arm/mach-imx/include/mach/devices-imx51.h | 15 +++
2 files changed, 16 insertions(+)
diff --git a/arch/arm/mach-imx/imx51.c b/arch/arm/mach-imx/imx51.c
index a62daf8..cffcca3 100644
--- a
Signed-off-by: Sascha Hauer
---
arch/arm/configs/pcm038_defconfig |9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/arch/arm/configs/pcm038_defconfig
b/arch/arm/configs/pcm038_defconfig
index 13e2451..e2f5388 100644
--- a/arch/arm/configs/pcm038_defconfig
+++ b/arch
The following adds support for the chipidea core of the i.MX SoCs.
It is somewhat designed after the kernel chipidea driver. A usb-misc
driver matches to the misc registers and allows a driver which binds
to the usb devices themselves to configure the misc registers. If ULPI
support is selected, t
The EHCI core often is part of a otg core. Allow it to be registered
separately from another driver.
Signed-off-by: Sascha Hauer
---
drivers/usb/host/ehci-hcd.c | 46 ++-
include/usb/ehci.h | 17 ++--
2 files changed, 43 insertions
The ULPI lines are normally input to the USB port. In order to configure
the ULPI transceiver properly the ongoing transfers must be stopped. This
can be done by configuring the the STP pin as gpio output and drinving
it high.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/pcm038/pcm970.c | 1
For proper USB function the usbmisc registers have to be initialized.
This patch adds a driver which matches for the usbmisc registers. This
driver is called from a new driver which binds to the USB ports to
configure the misc registers. After that the driver registers the EHCI
driver and an ULPI t
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/imx31.c |1 +
arch/arm/mach-imx/include/mach/devices-imx31.h | 15 +++
2 files changed, 16 insertions(+)
diff --git a/arch/arm/mach-imx/imx31.c b/arch/arm/mach-imx/imx31.c
index 2882675..f0954b5 100644
--- a
Register the USB misc devices and provide convenience wrappers to
register the USB ports for i.MX27.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/devices.c|5 +
arch/arm/mach-imx/imx27.c |1 +
arch/arm/mach-imx/include/mach/devices-imx27.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/pcm038/pcm970.c | 34 --
arch/arm/configs/pcm038_defconfig |1 +
2 files changed, 9 insertions(+), 26 deletions(-)
diff --git a/arch/arm/boards/pcm038/pcm970.c b/arch/arm/boards/pcm038/pcm970.c
index 93a1839.
Add register defines for the mc13892.
Signed-off-by: Sascha Hauer
---
include/mfd/mc13892.h | 217 +
1 file changed, 217 insertions(+)
create mode 100644 include/mfd/mc13892.h
diff --git a/include/mfd/mc13892.h b/include/mfd/mc13892.h
new file m
The EfikaSB has a bug requiring to write to an ULPI register after
powerup. It doesn't seem that this this bug is present on any other
hardware, so add a workaround directly into the driver.
Signed-off-by: Sascha Hauer
---
drivers/usb/host/ehci-hcd.c | 23 ++-
1 file change
For boards which need to have persistent names for the device file.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/include/mach/esdhc.h |1 +
drivers/mci/imx-esdhc.c|3 +++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/include/mach/esdhc.h
b/arch/ar
When multiple MMC/SD cards are present in the system we often
have to have persistent names to identify them during runtime.
This patch allows to overwrite the devicename which is used.
Signed-off-by: Sascha Hauer
---
drivers/mci/mci-core.c | 10 +++---
include/mci.h |1 +
2 f
The following adds support for the Efika MX Smartbook. Support is
almost complete including
- USB
- SD card slots
- Internal PATA flash drive
- Internal SPI NOR flash
- LEDs
I have written some documentation for using barebox on the Smartbook
here:
http://wiki.barebox.org/doku.php?id=boards:efik
This was forgotten in the last ata updates and leads to NULL
pointer dereferences.
Signed-off-by: Sascha Hauer
---
drivers/ata/ide-sff.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ata/ide-sff.c b/drivers/ata/ide-sff.c
index 3dd6f63..632b0e5 100644
--- a/drivers/ata/ide-sff.c
Signed-off-by: Sascha Hauer
---
arch/arm/configs/efika-mx-smartbook_defconfig | 108 +
1 file changed, 108 insertions(+)
create mode 100644 arch/arm/configs/efika-mx-smartbook_defconfig
diff --git a/arch/arm/configs/efika-mx-smartbook_defconfig
b/arch/arm/configs/efika
The Efika MX Smartbook is a i.MX51 based netbook. This patch adds
nearly full support for it including:
- USB
- SD card slots
- Internal SPI NOR flash
- Internal flash PATA drive
- LEDs
Signed-off-by: Sascha Hauer
---
arch/arm/Makefile |1 +
arch/arm/boards/
On Wed, Dec 12, 2012 at 11:24:45PM +0400, Antony Pavlov wrote:
> This patch series introduce pre-bootloader (pbl) support on MIPS.
> The only supported board is qemu-malta.
>
> [PATCH 1/3] MIPS: add pre-bootloader (pbl) image support
> [PATCH 2/3] MIPS: qemu-malta: add trivial pbl support
> [PATCH
On Thu, Dec 13, 2012 at 11:26:42AM +0100, Maxime Ripard wrote:
> Hi,
>
> The CFA-10036 is actually a module that can be plugged in an expansion board.
>
> For now, there is only two of these expansion boards, the CFA-10037 and the
> CFA-10049, with different features, muxing and so on.
>
> So, a
On Thu, Dec 13, 2012 at 04:46:46PM +0100, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang
> ---
Applied, thanks
Sascha
> commands/flash.c |4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/commands/flash.c b/commands/flash.c
> index b1673de..d22d6a0 100644
> --
55 matches
Mail list logo