Re: [U-Boot] [PATCH v2] net: ne2000: Divided a function of NE2000 driver

2008-10-01 Thread Ben Warren
Hi Nobuhiro-san, Nobuhiro Iwamatsu wrote: > get_prom function was used __attriute__ , but it is not enable. > ax88796.o does not do link besides ne2000.o. When ld is carried > out, get_prom function of ax88796.c is ignored. > This problem is a thing by specifications of ld. > I checked and test th

[U-Boot] Unable to run Standalone applications on NGW100

2008-10-01 Thread Martin Mroz
Hello, I wanted to write in to ask if there was something I was doing wrong, with respect to running standalone applications on U-Boot on an ATNGW100 (AVR32). I uploaded one of the test programs (hello_world) to the SDRAM (0x1000) and verified the contents of memory, as compared to the source f

Re: [U-Boot] s/3/2/ [PATCH 2/3]/ Fix an overflow case in fdt_offset_ptr() detected by GCC 4.3.

2008-10-01 Thread Jerry Van Baren
Sorry, that was suppose to be [PATCH 2/2]. gvb ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 2/3] Fix an overflow case in fdt_offset_ptr() detected by GCC 4.3.

2008-10-01 Thread Jerry Van Baren
Using Gcc 4.3 detected this problem: ../dtc/libfdt/fdt.c: In function 'fdt_next_tag': ../dtc/libfdt/fdt.c:82: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false To fix the problem, treat the offset as an unsigned int. The problem report and

[U-Boot] [PATCH 1/2] libfdt: Fix bugs in fdt_get_path()

2008-10-01 Thread Jerry Van Baren
The current implementation of fdt_get_path() has a couple of bugs, fixed by this patch. First, contrary to its documentation, on success it returns the length of the node's path, rather than 0. The testcase is correspondingly wrong, and the patch fixes this as well. Second, in some circumstances

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-01 Thread thaoth
I think I made a mistake; I didn’t describe my problem clearly. So, now I fix it. My purpose is: find out a way to boot a Linux Kernel from USB (FAT16). Here are the steps I‘ve made: 1. Get some kernel images (zImage, uImage) which I built (kernel version 2.6.22.11). 2. Go to the board (T-Eng

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-10-01 Thread Roman Mashak
Hello 2008/10/1 Wolfgang Denk <[EMAIL PROTECTED]>: > Not almost all boards to that. Only some 200 out of more than 500 do, > i. e. less than 40%, and these are mostly old boards that have not > been adapted to use the CFI driver yet (with very few exceptions > where some specific issue pre

[U-Boot] [PATCH 3/3 v2] ppc4xx: Add routine to retrieve CPU number

2008-10-01 Thread Adam Graham
Provide a weak defined routine to retrieve the CPU number for reference boards that have multiple CPU's. Default behavior is the existing single CPU print output. Reference boards with multiple CPU's need to provide a board specific routine. See board/amcc/arches/arches.c for an example. Sig

[U-Boot] [PATCH 2/3 v2] ppc4xx: Add static support for 44x IBM SDRAM Controller

2008-10-01 Thread Adam Graham
This patch add the capability to configure a PPC440 based IBM SDRAM Controller with static, compiled-in, values. PPC440 memory subsystem includes a Memory Queue core. Signed-off-by: Adam Graham <[EMAIL PROTECTED]> Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - No changes. cp

[U-Boot] [PATCH 1/3 v2] ppc4xx: Add AMCC Arches board support (dual 460GT)

2008-10-01 Thread Adam Graham
The Arches Evaluation board is based on the AMCC 460GT SoC chip. This board is a dual processor board with each processor providing independent resources for Rapid IO, Gigabit Ethernet, and serial communications. Each 460GT has it's own 512MB DDR2 memory, 32MB NOR FLASH, UART, EEPROM and tempe

Re: [U-Boot] [PATCH v3] Add support for KMC KZM-ARM11-01 board

2008-10-01 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:20 Fri 19 Sep , Atsuo Igarashi wrote: > This patch adds support for KMC KZM-ARM11-01 board. > This board is configured with CFG_HZ=1000, so it needs the following patch. > > i.MX31: switch to CFG_HZ=1000. > > Signed-off-by: Atsuo Igarashi <[EMAIL PROTECTED]> > --- Please rebase all new

[U-Boot] [PATCH] cmd_i2c: Update available commands when CONFIG_I2C_CMD_TREE is defined

2008-10-01 Thread Peter Tyser
If CONFIG_I2C_CMD_TREE is defined, individual i2c commands such as 'imd', 'imm', 'imw', etc should not be available as their functionality is duplicated in the 'i2c' command. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- common/cmd_i2c.c |5 ++--- 1 files changed, 2 insertions(+), 3 dele

[U-Boot] [PATCH] cmd_i2c: Fix help for CONFIG_I2C_CMD_TREE && !CONFIG_I2C_MULTI_BUS

2008-10-01 Thread Peter Tyser
Original code displayed: => help i2c i2c i2c speed [speed] - show or set I2C bus speed i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device ... Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- common/cmd_i2c.c |8 1 files changed, 4 insertions(+), 4 deletions(-

[U-Boot] NAND legacy flash removal

2008-10-01 Thread Scott Wood
On Wed, Oct 01, 2008 at 08:07:04AM +0200, Stefan Roese wrote: > Defining both is definitely broken and should be fixed. I think now its > really > time to completely remove the legacy NAND support. It has been dragged along > for quite some time. I'd love to see that as well. To anyone who's m

Re: [U-Boot] Cannot enable interrupts Olimex SAM9-L9260

2008-10-01 Thread Björn Saläng
Thank you for your help! This task might be to hard for us, so we will try to manage without interrupts. Regards Björn & Andreas 2008/10/1 Wolfgang Denk <[EMAIL PROTECTED]> > Dear "=?ISO-8859-1?Q?Bj=F6rn_Sal=E4ng?=", > > In message <[EMAIL PROTECTED]> > you wrote: > > > > Hi again! Thank You Wol

[U-Boot] [PATCH v2 2/6] net: express the first argument to NetSetTimeout() in milliseconds

2008-10-01 Thread Bartlomiej Sieka
Enforce millisecond semantics of the first argument to NetSetTimeout() -- the change is transparent for well-behaving boards (CFG_HZ == 1000 and get_timer() countiing in milliseconds). Rationale for this patch is to enable millisecond granularity for network-related timeouts, which is needed for t

[U-Boot] [PATCH v2 5/6] Automatic software update from TFTP server

2008-10-01 Thread Bartlomiej Sieka
The auto-update feature allows to automatically download software updates from a TFTP server and store them in Flash memory during boot. Updates are contained in a FIT file and protected with SHA-1 checksum. More detailed description can be found in doc/README.update. Signed-off-by: Rafal Czubak

[U-Boot] [PATCH v2 6/6] FIT: output image load address for type 'firmware', fix message while there

2008-10-01 Thread Bartlomiej Sieka
Now that the auto-update feature uses the 'firmware' type for updates, it is useful to inspect the load address of such images. Signed-off-by: Bartlomiej Sieka <[EMAIL PROTECTED]> --- common/image.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/common/image.c

[U-Boot] [PATCH v2 3/6] net: Make TFTP server timeout configurable

2008-10-01 Thread Bartlomiej Sieka
There are two aspects of a TFTP transfer involving timeouts: 1. timeout waiting for initial server reply after sending RRQ 2. timeouts while transferring actual data from the server Since the upcoming auto-update feature attempts a TFTP download during each boot, it is undesirable to have a long d

[U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-01 Thread Bartlomiej Sieka
The upcoming automatic update feature needs the ability to adjust an address within Flash to the end of its respective sector. Factor out this functionality to a new function flash_sect_roundb(). Signed-off-by: Rafal Czubak <[EMAIL PROTECTED]> Signed-off-by: Bartlomiej Sieka <[EMAIL PROTECTED]> --

[U-Boot] Automatic software updates in U-Boot -- version 2

2008-10-01 Thread Bartlomiej Sieka
Hello, This is the second version of the patch series adding support for automatic software updates from a TFTP server. V2 adds millisecond granularity of the TFTP timeouts and addresses comments posted to the ML for the first version. First three patches make some general changes required by the

[U-Boot] [PATCH v2 4/6] Restore alphabetic ordering in common/Makefile

2008-10-01 Thread Bartlomiej Sieka
Signed-off-by: Bartlomiej Sieka <[EMAIL PROTECTED]> --- common/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/Makefile b/common/Makefile index 8bddf8e..bb6655d 100644 --- a/common/Makefile +++ b/common/Makefile @@ -148,13 +148,13 @@ endif COBJS-$(CONFIG_

Re: [U-Boot] Cannot enable interrupts Olimex SAM9-L9260

2008-10-01 Thread Wolfgang Denk
Dear "=?ISO-8859-1?Q?Bj=F6rn_Sal=E4ng?=", In message <[EMAIL PROTECTED]> you wrote: > > Seems odd that something as essential as interrupts aren't supported. Interrupts are not essential at all in U-Boot. Actually, we rarely ever use them. Some ports provide interrupt support, but mostly f

[U-Boot] [PATCH] ppc4xx: Update configs for Netstal boards

2008-10-01 Thread Niklaus Giger
I reorganized my config files, putting the common stuff into netstal-common.h (got the idea by looking a amcc-common.h from Stefan). Added stuff to boot the new powerpc linux via NFS (only tested with HCU4). Signed-off-by: Niklaus Giger <[EMAIL PROTECTED]> --- include/configs/hcu4.h |

[U-Boot] [PATCH] Fixed lineendings in tools/img2brec.sh

2008-10-01 Thread Niklaus Giger
Signed-off-by: Niklaus Giger <[EMAIL PROTECTED]> --- tools/img2brec.sh | 598 ++-- 1 files changed, 299 insertions(+), 299 deletions(-) diff --git a/tools/img2brec.sh b/tools/img2brec.sh index 0fcdba2..b0d7f44 100755 --- a/tools/img2brec.sh +++ b/

Re: [U-Boot] Cannot enable interrupts Olimex SAM9-L9260

2008-10-01 Thread Björn Saläng
Hi! Thanks for your quick reply. When reading further down in the sam9l9260.h we find: / #ifdef CONFIG_USE_IRQ #error CONFIG_USE_IRQ not supported #endif / Seems odd that something as essential as interrupts aren't supported. So we defined CONFIG_USE_IRQ as

[U-Boot] [PATCH] TQM5200: enable support for ATAPI devices

2008-10-01 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk <[EMAIL PROTECTED]> --- include/configs/TQM5200.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h index efc8da4..2cc215a 100644 --- a/include/configs/TQM5200.h +++ b/include/configs/TQM520

Re: [U-Boot] Cannot enable interrupts Olimex SAM9-L9260

2008-10-01 Thread Wolfgang Denk
Dear "=?ISO-8859-1?Q?Bj=F6rn_Sal=E4ng?=", In message <[EMAIL PROTECTED]> you wrote: > > We have been searching through U-boot config-, header-, source- and > makefiles. And found that in our sam9l9260.h it says: > #undef CONFIG_USE_IRQ > Does this mean we are not using interrupts? Yes, thats ex

[U-Boot] Cannot enable interrupts Olimex SAM9-L9260

2008-10-01 Thread Björn Saläng
Hi! We are running a standalone program via U-boot on our Olimex SAM9-L9260 board with a AT91SAM9260. Included with the board was a CD with U-boot including some board-specific files. We are able to compile and run a Hello-World example as well as starting timers and generating pwm-signals. But we

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-01 Thread michael
Hi, Wolfgang Denk wrote: > Dear Michael, > > In message <[EMAIL PROTECTED]> you wrote: >> Use zImage and put cmdline in the zImage and try with this. >> >> load at an address >> and go > > No. Please do not make such recommendations. > > Even if it should be working for you, this is not the corre

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-10-01 Thread Wolfgang Denk
Dear Roman, In message <[EMAIL PROTECTED]> you wrote: > > Okay. There is another thing confusing me is - almost all ports > implement board specific support of flash in > $(uboot)/board/board_name/flash.c or $(uboot)/board/board_name/nand.c > (NAND specific). Not almost all boards to that. Only

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-01 Thread Wolfgang Denk
Dear Michael, In message <[EMAIL PROTECTED]> you wrote: > > Use zImage and put cmdline in the zImage and try with this. > > load at an address > and go No. Please do not make such recommendations. Even if it should be working for you, this is not the correct way to boot Linux. Best regards,

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-10-01 Thread Roman Mashak
Hello 2008/9/30 Stefan Roese <[EMAIL PROTECTED]>: [skip] >> To make things more clear: NAND flash Samsung K9F1G08U is defined in >> both $(uboot)/drivers/mtd/nand/nand_ids.c and >> $(uboot)/include/linux/mtd/nand_ids.h, latter is included with >> CFG_NAND_LEGACY defined. It confuses me, I don't u

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-01 Thread michael
Hi, Nobuhiro Iwamatsu wrote: > 2008/10/1 thaoth <[EMAIL PROTECTED]>: >> [EMAIL PROTECTED] boot]# file uImage uImage: PPCBoot image ... I tried and send you its log. >>> What is the kernel version that you use? >> I'm using version 2.6.22.11. >> > I think that your linux ke

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-01 Thread Nobuhiro Iwamatsu
2008/10/1 thaoth <[EMAIL PROTECTED]>: > > >>> [EMAIL PROTECTED] boot]# file uImage >>> uImage: PPCBoot image >>> ... >>> >>> I tried and send you its log. > >>What is the kernel version that you use? > > I'm using version 2.6.22.11. > I think that your linux kernel is too old. Please use newest lin

Re: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB

2008-10-01 Thread Albert ARIBAUD
thaoth a écrit : >>> can you do a 'file uImage' and copy the result ? > > ... > [EMAIL PROTECTED] boot]# file uImage > uImage: PPCBoot image When I look at my own uImages, they come out as: $ file /var/lib/tftpboot/uImage /var/lib/tftpboot/uImage: u-boot/PPCBoot image Not sure this is importan