[U-Boot] SD-Card boot from SPI SD-Card

2009-10-21 Thread news.gmane.org
I have a Coldfire MCF5235 Board and I want to boot the uclinux direct from the sd-card connected to the spi-bus. Is that possible ? What do I have to configure ? Any driver to write ? Regards Wilfried ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH U-BOOTV2] image.h: amd64 support

2009-10-21 Thread Sascha Hauer
Hi Peter, On Tue, Oct 20, 2009 at 10:21:00PM +0200, Peter Korsgaard wrote: Use IH_CPU_I386 for amd64 machines as well, so bootm.c is able to build on amd64 sandbox. Signed-off-by: Peter Korsgaard jac...@sunsite.dk Applied, thanks. Sascha --- include/image.h |2 +- 1 files

[U-Boot] [PATCH RFC] TFTP: allow for adjustable retransmission timout

2009-10-21 Thread Wolfgang Denk
So far, TFTP negotiated a fixed retransmission timeout of 5 seconds. In some cases (busy networks, slow TFTP servers) this caused very slow transfers. Add new environment variable tftptimeout allows to set this timeout. Lowering this value may make downloads succeed faster in networks with high

[U-Boot] pata support in u-boot

2009-10-21 Thread Lv Terry-R65388
Hi, I'm trying to add our ATA driver to u-boot. But it seems that now u-boot only supports SATA. ATA is mixed with ide in cmd_ide.c. There is no ata common interface in include. Is this suitable? Yours Terry ___ U-Boot

Re: [U-Boot] [PATCH v2] ppc4xx: Update flash size in reg property of the NOR flash node

2009-10-21 Thread Stefan Roese
Hi Wolfgang, On Tuesday 20 October 2009 23:12:47 Wolfgang Denk wrote: Till now only the ranges in the ebc node are updated with the values currently configured in the PPC4xx EBC controller. With this patch now the NOR flash size is updated in the device tree blob as well. This is done by

Re: [U-Boot] [PATCH 1/1] davinci_emac driver: modify to allow support for DA8xx

2009-10-21 Thread Nick Thompson
Paulraj, Sandeep wrote: -Original Message- From: u-boot-boun...@lists.denx.de[mailto:s-paul...@ti.com] On Behalf Of Nick Thompson Sent: Tuesday, October 20, 2009 9:21 AM To: Ben Warren; u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/1] davinci_emac driver: modify to allow support

Re: [U-Boot] pata support in u-boot

2009-10-21 Thread Wolfgang Denk
Dear Lv Terry-R65388, In message 1ae74f652ecb1440b73dd7c2c20842d19a6...@zch01exm27.fsl.freescale.net you wrote: I'm trying to add our ATA driver to u-boot. Fine. But it seems that now u-boot only supports SATA. This is not correct. U-Boot also supports ATA/ATAPI, SCSI, USB,

Re: [U-Boot] [PATCH 07/10] Rearrange i386 Interupt Handling

2009-10-21 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com wrote on 20/10/2009 23:44:14: On Wed, Oct 21, 2009 at 1:35 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: In preperation for full relocation Signed-off-by: Graeme Russ graeme.r...@gmail.com ---  cpu/i386/Makefile              |    2 +-  

Re: [U-Boot] [PATCH v2] ppc4xx: Update flash size in reg property of the NOR flash node

2009-10-21 Thread Wolfgang Denk
Dear Stefan Roese, In message 200910211105.10055...@denx.de you wrote: Hm... thinking about it, this problem most probably affects other (non-4xx boards as well). I guess there is no easy way to generalize this code enough tomake it usable by other (or even all?) boards as well? I

Re: [U-Boot] cmd_onenand.c, onenand_block_read (...)

2009-10-21 Thread Tuma
Sorry, that was just printf format error. =) I've corrected everything, works fine. On Tuesday 20 October 2009 17:27:04 Tuma wrote: Hi, All! It seems I have a trouble. I want to use onenand_block_read function. So I've written a cover for it: int OneNANDBlockRead (loff_t _from, ssize_t

Re: [U-Boot] pata support in u-boot

2009-10-21 Thread Lv Terry-R65388
Hi Denk, drivers/block/pata_bfin.c uses sata.h and can use commands in cmd_sata.c. drivers/block/mg_disk.c uses mg_disk.h and can use commands in cmd_mgdisk.c. drivers/block/sil680.c, hm.., I don't know what cmd it uses. There's also ATAPI in cmd_ide.c,

[U-Boot] [u-boot] Problem with exceptions in i.mx27.

2009-10-21 Thread javier Martin
In my custom i.mx27 based board am having data_abort exceptions. As I could find from arm library code, a simple dump showing last register values should happen to the console, since it is coded so in data_abort handler. So, why is not i.mx27 triggering the data_abort exception handler? I did

[U-Boot] [PATCH 1/2] fdt: Add fdt_fixup_nor_flash_size() to fixup NOR FLASH size in dtb

2009-10-21 Thread Stefan Roese
This function can be used to update the size in the reg property of the NOR FLASH device nodes. This is necessary for boards with non-fixed NOR FLASH sizes. Signed-off-by: Stefan Roese s...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Gerald Van Baren vanba...@cideas.com --- common/fdt_support.c

[U-Boot] [PATCH 2/2 v3] ppc4xx: Update flash size in reg property of the NOR flash node

2009-10-21 Thread Stefan Roese
Till now only the ranges in the ebc node are updated with the values currently configured in the PPC4xx EBC controller. With this patch now the NOR flash size is updated in the device tree blob as well. This is done by scanning the compatible nodes cfi-flash and jedec-flash for the correct chip

[U-Boot] Micrel KS8995MA 5 port managed switch initialise

2009-10-21 Thread Chris Alfred (Internode)
We have the MPC5200 MAC connected to the Micrel KS8995MA MII-SW port. The configuration pins of the 8995 are set to: SPI slave PS0=0 PS1=1 PHY mode MII SCONF0=1 SCONF1=0 SCONF2=0 The MII and SPI ports are working, checked with the uboot mii and sspi commands. However,

[U-Boot] Got trap No.23 when booting mips32

2009-10-21 Thread wilbur.chan
Hi all, I've got some problem when booting mips32 in kernel. I know this is uboot maillist , but I think people here may be more famililar with booting,so I post here for your help :D I got a No.23 trap when calling start_kernel --- local_irq_enable : irq 23, desc: 802a98a0, depth: 1,

Re: [U-Boot] [PATCH] Add mpc5125ads board and processor to the mpc512x family

2009-10-21 Thread Kenneth Johansson
On Mon, 2009-10-19 at 16:45 -0600, John Rigby wrote: Regarding 512x psc register maps: The register map for 5125 does not just change the size of the registers. Some registers change locations. The issue is that the hardware guys decided to fix the old broken register access. The 5200,

[U-Boot] stopping u-boot from booting an old image in RAM.

2009-10-21 Thread David Collier
If I boot this unit, then remove the SD card it booted from and reset it, it happily boots some Linux image which is lying around in memory. It even does it after a short power-off power-on sequence. I think that's horrible behaviour. I was told I could use instead of ; between the commands in

Re: [U-Boot] stopping u-boot from booting an old image in RAM.

2009-10-21 Thread Thompson, Nick (GE EntSol, Intelligent Platforms)
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of David Collier Sent: 21 October 2009 16:08 To: u-boot@lists.denx.de Subject: [U-Boot] stopping u-boot from booting an old image in RAM. If I boot this unit, then remove the

[U-Boot] return value from do_ext2load

2009-10-21 Thread David Collier
the do_ext2load procedure returns the file length if it succeeds... which means you can't do #define CONFIG_BOOTCOMMAND mmcinit ext2load mmc 0:1 0x1040 /boot/uImage bootm 0x1040 Is this part of some vast eternal plan and/or can anyone see a way to make it function as desired anyway?

Re: [U-Boot] [PATCH] OneNAND partial read/write support

2009-10-21 Thread Scott Wood
Kyungmin Park wrote: On Wed, Oct 21, 2009 at 7:48 AM, Scott Wood scottw...@freescale.com wrote: On Mon, Oct 12, 2009 at 04:27:10PM +0900, Kyungmin Park wrote: Now OneNAND handles block operation only. With this patch OneNAND handles all read/write size. Signed-off-by: Kyungmin Park

Re: [U-Boot] stopping u-boot from booting an old image in RAM.

2009-10-21 Thread Wolfgang Denk
Dear David Collier, In message memo.20091021160842.44...@postmaster+dexdyne.com.cix.co.uk you wrote: If I boot this unit, then remove the SD card it booted from and reset it, it happily boots some Linux image which is lying around in memory. Maybe you should start reading the documentation?

Re: [U-Boot] stopping u-boot from booting an old image in RAM.

2009-10-21 Thread Wolfgang Denk
Dear Thompson, Nick (GE EntSol, Intelligent Platforms), In message 610d18d1f0bb204d8ab39bb1c42187e8041e7...@lonmlvem09.e2k.ad.ge.com you wrote: 2. something else that will do it, such as so effectively buggering up an image that has been booted from that it will never be re-used ...

Re: [U-Boot] return value from do_ext2load

2009-10-21 Thread Wolfgang Denk
Dear David Collier, In message memo.20091021172317.44...@postmaster+dexdyne.com.cix.co.uk you wrote: the do_ext2load procedure returns the file length if it succeeds... which means you can't do You make a pretty definitive statement here. What makes you so sure? Let me tell you that you are

Re: [U-Boot] stopping u-boot from booting an old image in RAM.

2009-10-21 Thread David Collier
In article 610d18d1f0bb204d8ab39bb1c42187e8041e7...@lonmlvem09.e2k.ad.ge.com, nick.thomp...@gefanuc.com (Thompson, Nick (GE EntSol, Intelligent Platforms)) wrote: *From:* Thompson, Nick (GE EntSol, Intelligent Platforms) nick.thomp...@gefanuc.com *To:* from_denx_ub...@dexdyne.com,

Re: [U-Boot] return value from do_ext2load

2009-10-21 Thread David Collier
OK - I'll throw myself on the mercy of the community :-) I have installed hush in my u-boot. I want to fix the following command sequence so that the board only boots if an image was actually loaded from the mmc card bootcmd=mmcinit ; ext2load mmc 0:1 0x1040 /boot/uImage ; bootm 0x1040

Re: [U-Boot] SD-Card boot from SPI SD-Card

2009-10-21 Thread Ivan Llopard
Hi Wilfried, It's possible. Nevertheless, i don't know if the driver is already done. As far as i know all drivers developed doesn't make use of the SPI bus. Just in case, i wrote one for my board and it's working. It could be useful to you. if you want to add MMC drivers you must define

Re: [U-Boot] return value from do_ext2load

2009-10-21 Thread David Collier
Of course I don't use old, buggy code as you seem to be doing. My code contains this commit: commit 4b7511478b62a539e5b066d19a986b75e5d9a527 Author: Wolfgang Denk w...@denx.de Date: Tue Jul 28 22:07:37 2009 +0200 Fix ext2load return code Make the ext2load command

Re: [U-Boot] return value from do_ext2load

2009-10-21 Thread Wolfgang Denk
Dear David Collier, In message memo.20091021190618.44...@postmaster+dexdyne.com.cix.co.uk you wrote: OK - I'll throw myself on the mercy of the community :-) I have installed hush in my u-boot. Which exact version (commit ID) are you running? And which platform / board is this? Best

[U-Boot] My SPI driver not working in u-boot.

2009-10-21 Thread sunr2007
Dear All Im tryin to write a SPI Driver in u-boot-1.3.4 with SPI BUS 1 support for my processor AT91SAM9261 . I have defined the base macro for SPI bus 1 AT91SAM9261_BASE_SPI1 in /asm/arch/hardware.h and i av passed the bus id and chip select id . but im not getting any data or clock value on

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-21 Thread Mike Frysinger
On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: Im tryin to write a SPI Driver in u-boot-1.3.4 upgrade -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] Warning - delayed mail

2009-10-21 Thread postmas...@acn2.net
*** ** This is a warning only ** **No action is required by you ** *** Re: Message to tha...@pop.jaring.my Your message has not been delivered

Re: [U-Boot] DM9000 issue in DM355

2009-10-21 Thread Ben Warren
Hi Sandeep, Paulraj, Sandeep wrote: Ben, I was taking a closer look at the DM9000 driver by trying it on the DM355 EVM. And it behaving a little different from before, i.e before we moved to the NET_MULTI stuff. When the board comes after I reflash with a new U-boot image, I no longer

[U-Boot] [PATCH] Fix DM9000 MAC address handling

2009-10-21 Thread Ben Warren
Proper behavior is to pull MAC address from NVRAM in the initialization() and stuff it in dev-address, then program the device from dev-address in the init() function. Signed-off-by: Ben Warren biggerbadder...@gmail.com --- drivers/net/dm9000x.c | 27 +++ 1 files

Re: [U-Boot] [PATCH] Fix DM9000 MAC address handling

2009-10-21 Thread Mike Frysinger
On Wednesday 21 October 2009 20:25:09 Ben Warren wrote: +void dm9000_get_enetaddr(struct eth_device *dev) static ? +#if !defined(CONFIG_DM9000_NO_SROM) + int i; + for (i = 0; i 3; i++) { + dm9000_read_srom_word(i, dev-enetaddr + (2 * i)); + } dont need the braces

Re: [U-Boot] [PATCH] Fix DM9000 MAC address handling

2009-10-21 Thread Ben Warren
Mike Frysinger wrote: On Wednesday 21 October 2009 20:25:09 Ben Warren wrote: +void dm9000_get_enetaddr(struct eth_device *dev) static ? Yeah, this was thrown together pretty quickly... +#if !defined(CONFIG_DM9000_NO_SROM) +int i; +for (i = 0; i 3; i++) { +

[U-Boot] [PATCH] fdt: Fix fdt padding issue for initrd mem_rsv

2009-10-21 Thread Kumar Gala
Its possible that we end up with a device tree that happens to be a particular size that after we call fdt_resize() we don't have any space left for the initrd mem_rsv. Fix this be adding a second mem_rsv into the size calculation. We had one to cover the fdt itself and we have the potential of

[U-Boot] [PATCH v2] Fix DM9000 MAC address handling

2009-10-21 Thread Ben Warren
Proper behavior is to pull MAC address from NVRAM in the initialization() an stuff it in dev-address, then program the device from dev-address in the init() function. Signed-off-by: Ben Warren biggerbadder...@gmail.com --- v2: Made dm9000_get_enetaddr static and removed unnecessary brace in for

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-21 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 1:04 AM, Mike Frysinger vap...@gentoo.org wrote: On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: Im tryin to write a SPI Driver in u-boot-1.3.4 upgrade done. there's actually not much of diff between the drivers version in u-boot-1.3.4 and u-boot-2009-09 with

[U-Boot] How to enable to print messages on serial port(ttyS0) in u-boot?

2009-10-21 Thread sunr2007
Dear all , Is there a option to print the message or some variable value which i av modified in code to print it on serial console to check whether it is getting executed or not? like we use printf in application programming . if yes how to enable it and use it? . thanks. warm regards, Ravi

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-21 Thread Mike Frysinger
On Thursday 22 October 2009 00:33:19 Ravi Kumar Kulkarni wrote: On Thu, Oct 22, 2009 at 1:04 AM, Mike Frysinger vap...@gentoo.org wrote: On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: Im tryin to write a SPI Driver in u-boot-1.3.4 upgrade done. there's actually not much of

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-21 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 10:44 AM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 22 October 2009 00:33:19 Ravi Kumar Kulkarni wrote: On Thu, Oct 22, 2009 at 1:04 AM, Mike Frysinger vap...@gentoo.org wrote: On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: Im tryin to write a