Re: [PATCH 1/1] omap: xload: switch to generic bootstrap

2013-09-30 Thread Sascha Hauer
On Fri, Sep 27, 2013 at 10:47:21AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: diff --git a/arch/arm/mach-omap/xload.c b/arch/arm/mach-omap/xload.c dissimilarity index 76% index 3cce3f2..74a5f00 100644 --- a/arch/arm/mach-omap/xload.c +++ b/arch/arm/mach-omap/xload.c How is this patch

Re: strtoull_suffix

2013-09-30 Thread Sascha Hauer
Hi, On Sun, Sep 29, 2013 at 07:57:39PM +0800, Yi Qingliang wrote: the strtoull_suffix can't identify 'g' and 'm', but the 'memparse' in kernel can, do we should follow the kernel? Go ahead and send a patch. I remember the original reason I haven't supported 'm' was that it reminded me too

Re: [PATCH] i2c-omap: Update driver

2013-09-30 Thread Sascha Hauer
On Thu, Sep 26, 2013 at 01:40:24PM +0200, Jan Weitzel wrote: The driver didn't work well with at24 driver. NACKS are lost. Errors are lost in isr due to the local variable err. Also we didn't wait for bus free in omap_i2c_xfer_msg. Fix issues and get other improvements from linux kernel

[PATCH 2/4] cdev: store dos partition type in struct cdev

2013-09-30 Thread Sascha Hauer
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- common/partitions.c| 4 +++- common/partitions/dos.c| 7 +-- common/partitions/parser.h | 1 + include/driver.h | 1 + 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/common/partitions.c

[PATCH 1/4] add function to read single line files

2013-09-30 Thread Sascha Hauer
Often small files are used to store the value od a variable. This adds a function to easily read such a variable. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- include/libbb.h | 2 ++ lib/libbb.c | 42 ++ 2 files changed, 44 insertions(+)

bootloader specification for barebox

2013-09-30 Thread Sascha Hauer
Hi All, The following implements the bootloader specification for barebox. See http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ for a description of the bootloader spec. Quoting from it: | Currently there's little cooperation between multiple distributions in | dual-boot (or

[PATCH 4/4] add kernel-install tool for bootloader Spec

2013-09-30 Thread Sascha Hauer
This adds a tool for installing kernels according to the bootloader spec. systemd already has a similar tool, but it is limited to installing kernels on the currently running system. The barebox kernel-install tool instead can also be used to install kernels on removable media on a development

[PATCH 3/4] Implement bootloader spec support for barebox

2013-09-30 Thread Sascha Hauer
The Bootloader Specification describes a way how kernels can be installed on devices and how they can be started by the bootloader. The bootloader spec is currently supported by (x86) gummiboot and by systemd which provides a kernel-install script. With the bootloader spec it's possible for the

Is Relocation forced?

2013-09-30 Thread Allen Kennedy Jr.
Hello, I have relocatable binary set to n and I load barebox into ram exactly where it is supposed to be, but it still runs the function relocate binary Is the option to not relocate barebox, not supported? Why would I want it not-relocated? Because relocate_to_current_adr() causes an

Re: Is Relocation forced?

2013-09-30 Thread Sascha Hauer
Hi Allen, On Mon, Sep 30, 2013 at 09:24:17AM -0500, Allen Kennedy Jr. wrote: Hello, I have relocatable binary set to n and I load barebox into ram exactly where it is supposed to be, but it still runs the function relocate binary Is the option to not relocate barebox, not supported?

Re: Is Relocation forced?

2013-09-30 Thread Allen Kennedy Jr.
Sascha, I figured out the issue. 'scp' was not copying my new version.. and not indicating failure. Once i deleted the old bin and copied a new one, i see it is running without relocation. Sorry. On Mon, Sep 30, 2013 at 10:38 AM, Sascha Hauer s.ha...@pengutronix.de wrote: Hi Allen, On Mon,

[SOLVED] Re: Porting to a new board

2013-09-30 Thread Allen Kennedy Jr.
I think i finally figured out the issue. I was compiling with arm-none-eabi bare-board compiler. Which seemed to make sense to me since the bootloader is not running on top of an OS, but... when I recompiled using a arm-none-linux-gnueabi toolchain, the Ethernet driver jumped to life and started