[U-Boot] howto flash ubi rootfs image into nand flash with u-boot?

2010-02-12 Thread Dieter Kiermaier
Hi everybody, I wonder how I can flash a ubi rootfs image into my NAND flash by using u-boot to do this? The doc inside u-boot doesn't show me some readme and also google doesn't have some interesting links for me. The online help of the ubi commands is a bit crypted - at least for me and

Re: [U-Boot] multiple partitions in mtdparts

2009-11-03 Thread Dieter Kiermaier
Am Mittwoch 04 November 2009 01:34:53 schrieb myub...@fastmail.fm: Hi, I am trying to define multiple partitions using mtdparts variable. But I can't get it set automatically right. I defined the set_bootargs as the following: set_bootargs=setenv bootargs root=/dev/mtdblock2

Re: [U-Boot] [PATCH v2] arm926ejs: 16-byte align stack to avoid LDRD/STRD problems

2009-10-05 Thread Dieter Kiermaier
Am Montag 05 Oktober 2009 16:53:24 schrieb Simon Kagstrom: Hi all, congratulation and many thanks for the catch :) Dieter U-boot for Marvell Kirkwood boards no longer work after the EABI changes introduced in commit f772acf8a584067033eff1e231fcd1fb3a00d3d9. This turns out to be caused by a

Re: [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND

2009-09-30 Thread Dieter Kiermaier
Hi Simon, On Tue, 29 Sep 2009 17:16:42 +0200 Dieter Kiermaier dk-arm-li...@gmx.de wrote: Hm, it looks like there is the whole nand system somewhat broken :( Haven't seen it earlier, but: U-Boot 2009.08-00208-g9ef0569-dirty (Sep 29 2009 - 15:42:42) OpenRD_base SoC:   Kirkwood

Re: [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND

2009-09-30 Thread Dieter Kiermaier
Hi Simon, hi Prafulla, On Wed, 30 Sep 2009 09:02:14 +0200 Dieter Kiermaier dk-arm-li...@gmx.de wrote: arm-none-linux-gnueabi-ld: ERROR: Source object /home/dieter/ArtistaNET-III/Software/trunk/SDK/tools/gcc/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/libgcc.a(_udivsi3.o) has EABI

Re: [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND

2009-09-30 Thread Dieter Kiermaier
Am Mittwoch 30 September 2009 09:57:10 schrieb Simon Kagstrom: On Wed, 30 Sep 2009 09:40:07 +0200 Dieter Kiermaier dk-arm-li...@gmx.de wrote: Sounds like you might have problems with USE_PRIVATE_LIBGCC. See this mail for how to test this: http://lists.denx.de/pipermail/u-boot

Re: [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND

2009-09-30 Thread Dieter Kiermaier
Am Mittwoch 30 September 2009 10:17:51 schrieb Simon Kagstrom: On Wed, 30 Sep 2009 10:15:35 +0200 Dieter Kiermaier dk-arm-li...@gmx.de wrote: is there anywhere a document how to build open source u-boot for sheevaplug which explains all these details? (haven't found some

Re: [U-Boot] Flash sanity checks

2009-09-30 Thread Dieter Kiermaier
Am Mittwoch 30 September 2009 11:28:15 schrieb Prafulla Wadaskar: Hi Prafulla, Hi list We use Raw NAND/flash and copy the binary there, After copy, is there a way to check the flash sanity after we have burnt an image? (e.g. by nand reading and diffing with the binary in RAM?) Are there

[U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND

2009-09-29 Thread Dieter Kiermaier
Hi everybody, I try to bring up fw_setenv / fw_printenv in linux kernel but first it want to start with u-boot itself. I built most recent u-boot-marvell git source and get a running u-boot with standard openrd configuration. So far so good. version says: ArtistaNET-III version U-Boot

Re: [U-Boot] kirkwood (openrd): saveenv will not work with environment in NAND

2009-09-29 Thread Dieter Kiermaier
Am Dienstag 29 September 2009 15:55:55 schrieb Dieter Kiermaier: Hi everybody, I try to bring up fw_setenv / fw_printenv in linux kernel but first it want to start with u-boot itself. I built most recent u-boot-marvell git source and get a running u-boot with standard openrd configuration

Re: [U-Boot] Kirkwood gpio (was: timeout calculati on underflow if imprecise 1kHz timer: fix)

2009-08-07 Thread Dieter Kiermaier
Hi Alessandro, I'd prefer tout = DIV_ROUND_UP(tout*CONFIG_SYS_HZ, 1000); Ok for me. BTW: Looking for DIV_ROUND_UP, I found that it's defined in ./include/asm/arch-kirkwood/gpio.h as well. I was checking whether it can be removed, but it looks like nobody is using the driver.

Re: [U-Boot] kirkwood openRD-base / PCI support

2009-07-24 Thread Dieter Kiermaier
Am Freitag 24 Juli 2009 05:59:41 schrieb Prafulla Wadaskar: -Original Message- From: Dieter Kiermaier [mailto:dk-arm-li...@gmx.de] Sent: Thursday, July 23, 2009 6:25 PM To: u-boot@lists.denx.de Cc: Prafulla Wadaskar; Simon Kagstrom Subject: kirkwood openRD-base / PCI support

[U-Boot] kirkwood sheevaplug - broken build using git.denx.de/u-boot.git

2009-07-23 Thread Dieter Kiermaier
Hi all, I've tried to build u-boot for sheevaplug from git.denx.de/u-boot.git Is this expected to work or are there some missing dependencies or what am I doing wrong? (The same happens on u-boot-arm custodian tree. Only Prafullas tree from git.marvell.com allows me to build u-boot for

Re: [U-Boot] kirkwood sheevaplug - broken build using git.denx.de/u-boot.git

2009-07-23 Thread Dieter Kiermaier
Hi Prafulla, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Dieter Kiermaier Sent: Thursday, July 23, 2009 2:13 PM To: u-boot@lists.denx.de Subject: [U-Boot] kirkwood sheevaplug - broken build using git.denx.de/u

Re: [U-Boot] cp.b command not working for copy to flash

2009-07-22 Thread Dieter Kiermaier
Hi Nirav, I am trying cp.b 2200 1010 18 (i.e. copy from RAM to FLASH) Its showing me message flash can't Erase. But when i tried cp.b 1010 2200 18 its working. (i.e. copy from FLASH to RAM) Can please anybody tell me what's going wrong?? Maybe you have to

Re: [U-Boot] [PATCH 5/6] net: Kirkwood_egiga: forced interface speed config support

2009-07-16 Thread Dieter Kiermaier
Hi Prafulla, hi Marvell engineers, By default Auto Negotiation is enabled for interface speed but on some platforms like RD6281A it does not work. If you want to forced program it to desired speed, this patch helps- do you have some information why auto negotiation doesn't work on RD6281A?

Re: [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug

2009-07-09 Thread Dieter Kiermaier
Jean, On 14:45 Mon 29 Jun , Dieter Kiermaier wrote: Hi, patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug. Any comments are welcome! Dieter From 528b24be54256cee20f965bc772390034eaeb232 Mon Sep 17 00:00:00 2001 From: Dieter Kiermaier dk-arm-li...@gmx.de

Re: [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug

2009-07-09 Thread Dieter Kiermaier
Hi Jean, hi Prafulla, here the corrected version. Many thanks, Dieter On 14:45 Mon 29 Jun , Dieter Kiermaier wrote: Hi, patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug. Any comments are welcome! Dieter From 528b24be54256cee20f965bc772390034eaeb232 Mon Sep

Re: [U-Boot] [PATCH 4/4] arm/kirkwood: Add Keymile SUEN3 support

2009-07-09 Thread Dieter Kiermaier
Hi Stefan, hi Prafulla, Hi Prafulla, On Wednesday 08 July 2009 19:48:19 Prafulla Wadaskar wrote: MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/keymile/suen3/Makefile | 51 +

Re: [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug

2009-07-09 Thread Dieter Kiermaier
Hi, -Original Message- From: Dieter Kiermaier [mailto:dk-arm-li...@gmx.de] Sent: Thursday, July 09, 2009 12:50 PM To: Prafulla Wadaskar Subject: Re: [U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug Hi Prafulla, -Original Message

Re: [U-Boot] OpenRD base/client support?

2009-07-01 Thread Dieter Kiermaier
Am Mittwoch 01 Juli 2009 16:19:45 schrieb Simon Kagstrom: On Wed, 1 Jul 2009 16:03:25 +0200 Dieter Kiermaier dk-arm-li...@gmx.de wrote: It works pretty well with U-boot built for sheevaplug - my main problem now is that it hangs on miiphy_reset. I can confirm that. Have the same

[U-Boot] [PATCH] Kirkwood: add Marvell Sheevaplug gpio support

2009-06-29 Thread Dieter Kiermaier
e89ebedf1528e821e504c91af802687efb21533b Mon Sep 17 00:00:00 2001 From: Dieter Kiermaier dk-arm-li...@gmx.de Date: Fri, 26 Jun 2009 14:45:13 +0200 Subject: [PATCH] Kirkwood: add Marvell Sheevaplug gpio support --- board/Marvell/sheevaplug/sheevaplug.c |1 + cpu/arm926ejs/kirkwood/Makefile |1

Re: [U-Boot] [PATCH] Kirkwood: add Marvell Sheevaplug gpio support

2009-06-29 Thread Dieter Kiermaier
-Original Message- From: Dieter Kiermaier [mailto:dk-arm-li...@gmx.de] Sent: Monday, June 29, 2009 1:33 PM To: u-boot@lists.denx.de Cc: Prafulla Wadaskar Subject: [PATCH] Kirkwood: add Marvell Sheevaplug gpio support Hi List, this if my first patch which goes

Re: [U-Boot] [PATCH] Kirkwood: add Marvell Sheevaplug gpio support

2009-06-29 Thread Dieter Kiermaier
Am Montag 29 Juni 2009 10:15:22 schrieb Prafulla Wadaskar: -Original Message- From: Dieter Kiermaier [mailto:dk-arm-li...@gmx.de] Sent: Monday, June 29, 2009 1:33 PM To: u-boot@lists.denx.de Cc: Prafulla Wadaskar Subject: [PATCH] Kirkwood: add Marvell Sheevaplug gpio support

[U-Boot] [PATCH1/2] Kirkwood: add Marvell Kirkwood gpio driver

2009-06-29 Thread Dieter Kiermaier
Hi again, Here is my first out of 2 patches which adds gpio support to arch/kirkwood. Any suggestions? Cheers, Dieter From fcdea0c7bba3c25a1fb183bbcaf6d1a4ec32a157 Mon Sep 17 00:00:00 2001 From: Dieter Kiermaier dk-arm-li...@gmx.de Date: Mon, 29 Jun 2009 14:22:13 +0200 Subject: [PATCH

[U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug

2009-06-29 Thread Dieter Kiermaier
Hi, patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug. Any comments are welcome! Dieter From 528b24be54256cee20f965bc772390034eaeb232 Mon Sep 17 00:00:00 2001 From: Dieter Kiermaier dk-arm-li...@gmx.de Date: Mon, 29 Jun 2009 14:29:15 +0200 Subject: [PATCH] Sheevaplug: Add Kirkwood

Re: [U-Boot] [PATCH v2 1/3][repost] nand: Add Marvell Kirkwood NAND driver

2009-06-23 Thread Dieter Kiermaier
Prafulla, -Original Message- From: Scott Wood [mailto:scottw...@freescale.com] Sent: Tuesday, June 23, 2009 3:35 AM To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik; Ronen Shitrit Subject: Re: [U-Boot] [PATCH v2 1/3][repost] nand: Add

Re: [U-Boot] [PATCH v2 1/3][repost] nand: Add Marvell Kirkwood NAND driver

2009-06-23 Thread Dieter Kiermaier
Am Dienstag 23 Juni 2009 10:01:28 schrieb Prafulla Wadaskar: -Original Message- From: Dieter Kiermaier [mailto:dk-arm-li...@gmx.de] Sent: Tuesday, June 23, 2009 1:23 PM To: u-boot@lists.denx.de Cc: Prafulla Wadaskar; Scott Wood; Jean-Christophe PLAGNIOL-VILLARD; Ashish Karkare

Re: [U-Boot] [PATCH v2 1/3][repost] nand: Add Marvell Kirkwood NAND driver

2009-06-23 Thread Dieter Kiermaier
Am Dienstag 23 Juni 2009 10:35:31 schrieb Jean-Christophe PLAGNIOL-VILLARD: I2C lowest priority (as per need) Can I do something to push I2C priority? If the I/O is shared with gpio you can use bitbanging with few hours I think this would be the best to start - due to the fact that I

Re: [U-Boot] [PATCH v2 1/3][repost] nand: Add Marvell Kirkwood NAND driver

2009-06-23 Thread Dieter Kiermaier
Am Dienstag 23 Juni 2009 12:38:05 schrieb Prafulla Wadaskar: -Original Message- From: Dieter Kiermaier [mailto:dk-arm-li...@gmx.de] Sent: Tuesday, June 23, 2009 2:18 PM To: Jean-Christophe PLAGNIOL-VILLARD Cc: Prafulla Wadaskar; u-boot@lists.denx.de; Scott Wood; Ashish Karkare

Re: [U-Boot] [PATCH v2 1/3][repost] nand: Add Marvell Kirkwood NAND driver

2009-06-23 Thread Dieter Kiermaier
Am Dienstag 23 Juni 2009 14:06:46 schrieb Prafulla Wadaskar: -Original Message- From: Dieter Kiermaier [mailto:dk-arm-li...@gmx.de] Sent: Tuesday, June 23, 2009 4:53 PM To: Prafulla Wadaskar Cc: Jean-Christophe PLAGNIOL-VILLARD; u-boot@lists.denx.de; Scott Wood; Ashish Karkare

Re: [U-Boot] Question regarding FPGA firmware load in u-boot

2009-06-22 Thread Dieter Kiermaier
André, Dieter, On Fri, 2009-06-19 at 17:46 +0200, Dieter Kiermaier wrote: Hello List, I want to boot a (Lattice) FPGA from u-boot by using Slave Serial configuration on a Marvell Kirkwood device. Should be no problem as long as you'll have access to GPIO. I'm working

Re: [U-Boot] Question regarding FPGA firmware load in u-boot

2009-06-22 Thread Dieter Kiermaier
André, Dieter, On Mon, 2009-06-22 at 08:19 +0200, Dieter Kiermaier wrote: André, Dieter, On Fri, 2009-06-19 at 17:46 +0200, Dieter Kiermaier wrote: Hello List, I want to boot a (Lattice) FPGA from u-boot by using Slave Serial configuration on a Marvell Kirkwood

Re: [U-Boot] Question regarding FPGA firmware load in u-boot

2009-06-22 Thread Dieter Kiermaier
Prafulla, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Dieter Kiermaier Sent: Monday, June 22, 2009 2:30 PM To: André Schwarz Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Question regarding FPGA firmware load

Re: [U-Boot] Question regarding FPGA firmware load in u-boot

2009-06-22 Thread Dieter Kiermaier
Am Montag 22 Juni 2009 11:17:34 schrieb André Schwarz: On Mon, 2009-06-22 at 11:00 +0200, Dieter Kiermaier wrote: André, Dieter, On Mon, 2009-06-22 at 08:19 +0200, Dieter Kiermaier wrote: André, Dieter, On Fri, 2009-06-19 at 17:46 +0200, Dieter Kiermaier wrote

[U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot

2009-06-22 Thread Dieter Kiermaier
Hi all, I've tried the first time booting a self compiled u-boot from git.marvell.com U-Boot can be downloaded and started with openocd quite well. Boot messages (version is dirty due to a comment in board file): U-Boot 2009.06-rc2-02207-g14c575a-dirty (Jun 22 2009 - 13:40:45)

Re: [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot

2009-06-22 Thread Dieter Kiermaier
Am Montag 22 Juni 2009 14:53:44 schrieb André Schwarz: On Mon, 2009-06-22 at 14:41 +0200, Dieter Kiermaier wrote: André, Dieter, On Mon, 2009-06-22 at 14:04 +0200, Dieter Kiermaier wrote: Hi all, I've tried the first time booting a self compiled u-boot from

Re: [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot

2009-06-22 Thread Dieter Kiermaier
Am Montag 22 Juni 2009 17:34:35 schrieb André Schwarz: André, Dieter, On Mon, 2009-06-22 at 17:01 +0200, Dieter Kiermaier wrote: Am Montag 22 Juni 2009 15:08:20 schrieb Dieter Kiermaier: This seems to be an issue regarding Gigabit / 100MBits uplink with current marvell git u-boot

Re: [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot

2009-06-22 Thread Dieter Kiermaier
(Sheevaplug) ping crashes(?) U-Boot -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Dieter Kiermaier Sent: Monday, June 22, 2009 9:21 PM To: André Schwarz Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Kirkwood

Re: [U-Boot] Marvell Kirkwood newbie question GPIO functions

2009-06-19 Thread Dieter Kiermaier
Hi Prafulla, It's my pleasure to reply you :-) Basic Kirkwood Soc Support patches are available on the u-boot-arm.git/next (will be mainlined soon) Sheevaplug board support patches are also submitted those are under review, you can find them here...

Re: [U-Boot] Marvell Kirkwood newbie question GPIO functions

2009-06-19 Thread Dieter Kiermaier
Hi again, Hi Prafulla, It's my pleasure to reply you :-) Basic Kirkwood Soc Support patches are available on the u-boot-arm.git/next (will be mainlined soon) Sheevaplug board support patches are also submitted those are under review, you can find them here...

Re: [U-Boot] Marvell Kirkwood newbie question GPIO functions

2009-06-19 Thread Dieter Kiermaier
Prafulla, (...deleted some stuff...) What patches are in the pipeline? Some other board supports (MV88F6281GTW_GE) and Kirkwood SPI driver support Kirkwood USB support (at this moment) Also very interesting :) (...deleted, too...) What I forgot to mention is the i2c driver inside

Re: [U-Boot] Marvell Kirkwood newbie question GPIO functions

2009-06-19 Thread Dieter Kiermaier
-Original Message- From: Dieter Kiermaier [mailto:dk-arm-li...@gmx.de] Sent: Friday, June 19, 2009 3:17 PM To: Prafulla Wadaskar Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Marvell Kirkwood newbie question GPIO functions Prafulla, (...deleted some stuff

[U-Boot] Question regarding FPGA firmware load in u-boot

2009-06-19 Thread Dieter Kiermaier
Hello List, I want to boot a (Lattice) FPGA from u-boot by using Slave Serial configuration on a Marvell Kirkwood device. As seen there is an (Xilinx and Altera) FPGA loader driver allready available in u-boot. Please can somebody explain how I have to provide a FPGA bitstream image to u-boot?

[U-Boot] Marvell Kirkwood newbie question GPIO functions

2009-06-18 Thread Dieter Kiermaier
Hello everybody out there, first off all - thanks to everyone from the u-boot community for this helpful piece of code :) Could somebody give me a short overview of the plans regarding the u-boot port of the Kirkwood arch (e.g. Sheevaplug board)? Currently I'm using the u-boot from