...
> > Besides, as far as I know currently we are not using __init section.
> > Can we define this one in the linker script and release this memory after
> > initialization is complete?
>
> What would you do then with the memory afterwards? The tlsf allocator
> supports memory pools, so in theory
On Mon, Feb 11, 2013 at 01:00:49PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> Hi,
>
> The following changes since commit e43e1498f65fe03cfc6b2744247eeccf27b26876:
>
> MIPS: pbl: fix none compression support (2013-02-05 09:43:17 +0100)
>
> are available in the git repository at:
>
> g
On Mon, Feb 11, 2013 at 06:01:29PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> Drop copy in cache-l2x0
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Applied, thanks
Sascha
> ---
> arch/arm/cpu/cache-l2x0.c | 32 +---
> arch/arm/include/asm/cache-l2x0.h | 150
>
On Mon, Feb 11, 2013 at 06:01:59PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Applied, thanks
Sascha
> ---
> drivers/ata/Kconfig|4
> drivers/ata/Makefile |2 ++
> drivers/ata/ahci-generic.c | 47
> +++
Hi Sascha,
2013/2/11 Sascha Hauer :
[...]
>> +
>> +static int sabresd_mem_init(void)
>> +{
>> + arm_add_mem_device("ram0", 0x1000, SZ_1G);
>> +
>> + return 0;
>> +}
>> +mem_initcall(sabresd_mem_init);
>
> This is not necessary anymore. I removed this while applying. Could you
> verify
On Tue, Feb 12, 2013 at 09:42:46AM +0100, Hubert Feurstein wrote:
> Hi Sascha,
>
> 2013/2/11 Sascha Hauer :
> [...]
> >> +
> >> +static int sabresd_mem_init(void)
> >> +{
> >> + arm_add_mem_device("ram0", 0x1000, SZ_1G);
> >> +
> >> + return 0;
> >> +}
> >> +mem_initcall(sabresd_mem_in
Having the board config file in /env/init has the problem that
the settings in /env/config are overwritten in the init sequence.
This moves the config-board files to /env/ and sources them explicitly
from /env/bin/init before sourcing /env/config
Signed-off-by: Sascha Hauer
---
arch/arm/boards/
The full console and the simple console share a good amount of code,
share this in console_common.c.
Signed-off-by: Sascha Hauer
---
common/Makefile |4 +--
common/console.c| 85 -
common/console_common.c | 87 ++
On Mon, Feb 11, 2013 at 10:52:17PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
This breaks some configs:
config: arm imx233-olinuxino_defconfig
drivers/built-in.o: In function `add_of_amba_device':
/home/sha/dude/barebox/bar
On Mon, Feb 11, 2013 at 11:42:05AM +0100, Steffen Trumtrar wrote:
> The default setting for the imx28 watchdog is to do a power-off reset. If the
> SoC is only powered via battery, then the watchdog powers the chip down,
> though.
> According to the datasheet it should still be possible to execute
On 09:55 Tue 12 Feb , Sascha Hauer wrote:
> The full console and the simple console share a good amount of code,
> share this in console_common.c.
maybe console_none too
Best Regards,
J.
>
> Signed-off-by: Sascha Hauer
> ---
> common/Makefile |4 +--
> common/console.c|
move ARM_AMBA Kconfig to drivers/amba/Kconfig
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
v3:
only probe amba device when amba is enable
Best Regards,
J.
arch/arm/Kconfig |3 ---
drivers/Kconfig |1 +
drivers/amba/Kconfig |2 ++
drivers/amba/bus.c |1 +
The different console implementations share a good amount of code,
share this in console_common.c.
Signed-off-by: Sascha Hauer
---
common/Makefile |2 +-
common/console.c| 85
common/console_common.c | 110 ++
HI,
so we can run on a9 on the non legacy hw
The following changes since commit 2d91386102612773074832d55e2ef11702fbb432:
arm: add vexpress board support (2013-02-12 05:53:04 +0800)
are available in the git repository at:
git://git.jcrosoft.org/barebox.git delivery/vexpress
for yo
so we can use it on vexpress to detect the hardware mapping
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/amba/bus.c | 10 +++---
include/linux/amba/bus.h | 28
2 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/drivers/amba/b
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/clocksource/amba-sp804.c |6 +++---
include/linux/amba/sp804.h | 30 ++
2 files changed, 33 insertions(+), 3 deletions(-)
create mode 100644 include/linux/amba/sp804.h
diff --git a/drivers/clocks
at 0x10011000 for a9 legacy otherwise at 0x1c11
as the new board also support Cortex-A9
so this is working
qemu/arm-softmmu/qemu-system-arm -M vexpress-a15 -m 1024 -smp 1 -kernel
build/vexpress/barebox -pflash build/vexpress/flash -nographic -cpu cortex-a9
Signed-off-by: Jean-Christophe PL
calxeda use the generic driver but have it's own compatible cf Linux kernel
Documentation
Cc: Rob Herring
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/ata/ahci-generic.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/ata/ahci-generic.c b/drivers/ata/ah
On 02/12/2013 07:10 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> calxeda use the generic driver but have it's own compatible cf Linux kernel
> Documentation
>
> Cc: Rob Herring
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> ---
> drivers/ata/ahci-generic.c | 11 +++
> 1 file cha
On 07:41 Tue 12 Feb , Rob Herring wrote:
> On 02/12/2013 07:10 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > calxeda use the generic driver but have it's own compatible cf Linux kernel
> > Documentation
> >
> > Cc: Rob Herring
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> > ---
> >
Hi
This patch fix a bug where an error message is printed when
attaching more than one UBI device. ubi_attach_mtd_dev() returns
the UBI device number (>=0) on success.
Signed-off-by: Xavier Douville
---
commands/ubi.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff -
device_platform_driver() - Helper macro for drivers that don't do
anything special in module registration. This eliminates a lot of
boilerplate. Driver registration will called on device_initcall.
Signed-off-by: Alexander Shiyan
---
include/driver.h | 12
1 file changed, 12 insertio
Signed-off-by: Alexander Shiyan
---
arch/sandbox/board/hostfile.c | 8 +---
drivers/ata/ahci.c | 8 +---
drivers/ata/intf_platform_ide.c| 8 +---
drivers/ata/pata-imx.c | 8 +---
drivers/ata/sata-imx.c | 8 +---
drivers/i2
the dtb is at 0x1000
if no dtb present use C code device
kepp in C the timer/gpio/uart
Cc: Rob Herring
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
arch/arm/boards/highbank/env/bin/init_board |7 +
arch/arm/boards/highbank/init.c | 44 ---
Hi.
it's a rfc
Best Regards,
J.
On 22:11 Tue 12 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
> the dtb is at 0x1000
>
> if no dtb present use C code device
>
> kepp in C the timer/gpio/uart
>
> Cc: Rob Herring
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> ---
> arch/arm/b
On 02/11/2013 04:14 PM, Xavier Douville wrote:
> Hi
>
> Sascha Hauer wrote:
>> I don't know exactly, but I suspect something is wrong on your board
>> then. Normally the VID header offset should be detected correctly
>> automatically. Does the kernel also need a special VID header offset?
>> Have
On 23:49 Tue 12 Feb , Marc Kleine-Budde wrote:
> On 02/11/2013 04:14 PM, Xavier Douville wrote:
> > Hi
> >
> > Sascha Hauer wrote:
> >> I don't know exactly, but I suspect something is wrong on your board
> >> then. Normally the VID header offset should be detected correctly
> >> automatically
On 02/11/2013 01:08 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> currently only tested under qemu
>
> qemu-system-arm -M highbank -nographic -m 4089 -kernel
> build/highbank/arch/arm/pbl/zbarebox -tftp "." -drive
> id=disk,if=ide,file=disk.img -device ide-drive,drive=disk,bus=ide.0
>
> with:
>
On 02/12/2013 03:11 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> the dtb is at 0x1000
>
> if no dtb present use C code device
>
> kepp in C the timer/gpio/uart
>
> Cc: Rob Herring
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> ---
> arch/arm/boards/highbank/env/bin/init_board |7 +++
29 matches
Mail list logo