Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Dimax
Tried latest available version for SheevaPlug: Marvell version U-Boot 2012.04.01 (Jun 01 2012 - 02:27:06) Marvell-Sheevaplug - eSATA - SD/MMC gcc (Debian 4.6.3-5) 4.6.3 GNU ld (GNU Binutils for Debian) 2.22 Same result. Do you know if u-boot has a functionality to recover ubifs partitions? On

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Andreas Bießmann
Dear Dimax, On 29.10.12 07:38, Dimax wrote: Tried latest available version for SheevaPlug: Marvell version U-Boot 2012.04.01 (Jun 01 2012 - 02:27:06) Marvell-Sheevaplug - eSATA - SD/MMC gcc (Debian 4.6.3-5) 4.6.3 GNU ld (GNU Binutils for Debian) 2.22 Same result. Do you know if u-boot

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Dimax
HI, So you say I have to rebuild u-boot with expanded CONFIG_SYS_MALLOC_LEN. So far I have used rebuild images from: http://people.debian.org/~tbm/u-boot/2011.12-3/sheevaplug/u-boot.kwb I see following files in the parrent directory: [image: [ ]] u-boot_2012.04.01-2.debian.tar.gz

[U-Boot] [PATCH] video: atmel: implement lcd_setcolreg funtion

2012-10-29 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/video/atmel_hlcdfb.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c index beb7fa3..4110d4d 100644 --- a/drivers/video/atmel_hlcdfb.c +++

Re: [U-Boot] [PATCH] OMAP3: igep0020: Add pad config for WIFI/BT GPIOs

2012-10-29 Thread Enric Balletbo Serra
Hi, 2012/10/28 Anders Hedlund anders.j.hedl...@gmail.com: This adds support for WIFI/BT GPIOs which were previously missing. Signed-off-by: Anders Hedlund anders.j.hedl...@gmail.com Cc: Enric Balletbo i Serra eballe...@iseebcn.com Cc: Jonas Zetterberg j...@jozz.se ---

[U-Boot] USB gadget driver

2012-10-29 Thread victor
Hi All, I am porting the USB gadget driver to a new hardware. Problems I encounter: 1) In bulk_out_complete, the bh-state is set to BUF_STATE_FULL, then after sleep_thread of the wait for CBW to arrive, it becomes BUF_STATE_BUSY. Please help me. victor

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Andreas Bießmann
Dear Dimax, On 29.10.2012 07:55, Dimax wrote: HI, So you say I have to rebuild u-boot with expanded CONFIG_SYS_MALLOC_LEN. So far I have used rebuild images from: http://people.debian.org/~tbm/u-boot/2011.12-3/sheevaplug/u-boot.kwb

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Dimax
Hi, What if I compile a new u-boot but to try it I will load and flash new created image after original u-boot and will run it from withing original reboot manually just pointing a new image address? Can it work? On Mon, Oct 29, 2012 at 10:38 AM, Andreas Bießmann andreas.de...@googlemail.com

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Andreas Bießmann
Dear Dimax, please do not TOFU. On 29.10.2012 09:50, Dimax wrote: Hi, What if I compile a new u-boot but to try it I will load and flash new created image after original u-boot and will run it from withing original reboot manually just pointing a new image address? Can it work? well, you

Re: [U-Boot] [RFC] common/lcd: use lcd_setcolreg() in bitmap_plot

2012-10-29 Thread Andreas Bießmann
Hi Nikita, On 28.10.2012 08:10, Nikita Kiryanov wrote: Hi Andreas, I think this change can also be applied to lcd_display_bitmap(), and then configuration_get_cmap() can be eliminated. hopefully yes, but first of all I would like to hear that the change can work on all supported devices, so

Re: [U-Boot] [RFC] common/lcd: use lcd_setcolreg() in bitmap_plot

2012-10-29 Thread Bo Shen
On 10/26/2012 19:23, Andreas Bießmann wrote: The lcd_setcolreg() is a API provided by the lcd driver and used to setup the color lookup table. However the lcd driver setup the CLUT by using a lot of #ifdiffery and accessing the CLUT arrays which are cleanly hidden by the API call. Remove that

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Dimax
On Mon, Oct 29, 2012 at 11:11 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Dimax, please do not TOFU. Sorry don't know what you mean? On 29.10.2012 09:50, Dimax wrote: Hi, What if I compile a new u-boot but to try it I will load and flash new created image after

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Andreas Bießmann
Dear Dimax, On 29.10.2012 10:27, Dimax wrote: On Mon, Oct 29, 2012 at 11:11 AM, Andreas Bießmann andreas.de...@googlemail.com mailto:andreas.de...@googlemail.com wrote: Dear Dimax, please do not TOFU. Sorry don't know what you mean? you did it right ;)

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-29 Thread Heiko Schocher
Hello Simon, On 26.10.2012 18:08, Simon Glass wrote: On Thu, Oct 25, 2012 at 10:48 PM, Heiko Schocherh...@denx.de wrote: Hello Simon, On 25.10.2012 23:37, Simon Glass wrote: On Mon, Oct 22, 2012 at 10:40 AM, Heiko Schocherh...@denx.de wrote: [...] 2. The init is a bit odd, in that we

Re: [U-Boot] [PATCH] OMAP3: igep0020: Add pad config for WIFI/BT GPIOs

2012-10-29 Thread Anders Hedlund
2012/10/29 Enric Balletbo Serra eballe...@gmail.com: Hi, 2012/10/28 Anders Hedlund anders.j.hedl...@gmail.com: This adds support for WIFI/BT GPIOs which were previously missing. Signed-off-by: Anders Hedlund anders.j.hedl...@gmail.com Cc: Enric Balletbo i Serra eballe...@iseebcn.com Cc:

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-29 Thread Heiko Schocher
Hello Stephen, On 26.10.2012 18:07, Stephen Warren wrote: On 10/25/2012 11:48 PM, Heiko Schocher wrote: Hello Simon, On 25.10.2012 23:37, Simon Glass wrote: On Mon, Oct 22, 2012 at 10:40 AM, Heiko Schocherh...@denx.de wrote: rebased/reworked the I2C multibus patches from Simon Glass found

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-29 Thread Heiko Schocher
Hello Tom, On 26.10.2012 20:44, Tom Rini wrote: On Thu, Oct 25, 2012 at 02:37:08PM -0700, Simon Glass wrote: [snip] Later, I wonder whether the concept of a 'current' i2c bus should be maintained by the command line interpreter, rather than the i2c system. Because to be honest, most of the

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Marek Vasut
Dear Andreas Bießmann, Dear Dimax, On 29.10.2012 10:27, Dimax wrote: On Mon, Oct 29, 2012 at 11:11 AM, Andreas Bießmann andreas.de...@googlemail.com mailto:andreas.de...@googlemail.com wrote: Dear Dimax, please do not TOFU. Sorry don't know what you mean? you

Re: [U-Boot] [PATCH] OMAP3: igep0020: Add pad config for WIFI/BT GPIOs

2012-10-29 Thread Enric Balletbo Serra
2012/10/29 Anders Hedlund anders.j.hedl...@gmail.com: 2012/10/29 Enric Balletbo Serra eballe...@gmail.com: Hi, 2012/10/28 Anders Hedlund anders.j.hedl...@gmail.com: This adds support for WIFI/BT GPIOs which were previously missing. Signed-off-by: Anders Hedlund anders.j.hedl...@gmail.com

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Andreas Bießmann
Dear Marek Vasut, On 29.10.2012 11:19, Marek Vasut wrote: Dear Andreas Bießmann, Dear Dimax, On 29.10.2012 10:27, Dimax wrote: On Mon, Oct 29, 2012 at 11:11 AM, Andreas Bießmann andreas.de...@googlemail.com mailto:andreas.de...@googlemail.com wrote: Dear Dimax, please do

Re: [U-Boot] [PATCH v4 0/4] am335x_evm: Enable UART{1,2,3,4,5}

2012-10-29 Thread Matthias Fuchs
Tested-by: Matthias Fuchs matthias.fu...@esd.eu ... on AM335x IDK board with console on UART3. Matthias On 25.10.2012 14:21, Andrew Bradford wrote: To support serial ports other than UART0 on am335x based systems like the Beaglebone with the RS232 cape and am335x_evm with daughterboard.

[U-Boot] [PATCH] am335x: add initial AM335x IDK board support

2012-10-29 Thread Matthias Fuchs
This patch extends the am335x_evm board for the AM335x IDK. The IDK board uses MII for the ethernet phy (same as Beaglebone board) and MMC0 for storage (but without card detect line). The IDK uses UART3 for console. So u-boot must be build with CONFIG_SERIAL4 and CONFIG_CONS_INDEX=4 or for the

Re: [U-Boot] [PATCH] am335x: add initial AM335x IDK board support

2012-10-29 Thread Peter Korsgaard
Matthias == Matthias Fuchs matthias.fu...@esd.eu writes: Matthias This patch extends the am335x_evm board for the AM335x IDK. Matthias The IDK board uses MII for the ethernet phy (same as Matthias Beaglebone board) and MMC0 for storage (but without Matthias card detect line). Matthias The

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-29 Thread Simon Glass
Hi Heiko, On Mon, Oct 29, 2012 at 2:44 AM, Heiko Schocher h...@denx.de wrote: Hello Simon, On 26.10.2012 18:08, Simon Glass wrote: On Thu, Oct 25, 2012 at 10:48 PM, Heiko Schocherh...@denx.de wrote: Hello Simon, On 25.10.2012 23:37, Simon Glass wrote: On Mon, Oct 22, 2012 at 10:40

Re: [U-Boot] [PATCH] OMAP3: igep0020: Add pad config for WIFI/BT GPIOs

2012-10-29 Thread Anders Hedlund
2012/10/29 Enric Balletbo Serra eballe...@gmail.com: 2012/10/29 Anders Hedlund anders.j.hedl...@gmail.com: 2012/10/29 Enric Balletbo Serra eballe...@gmail.com: Hi, 2012/10/28 Anders Hedlund anders.j.hedl...@gmail.com: This adds support for WIFI/BT GPIOs which were previously missing.

[U-Boot] Pull request:u-boot-coldfire/master

2012-10-29 Thread Jin Zhengxiong-R64188
Hi, Tom, The following changes since commit 5bb3505fa867ded03cbee83f7722ab5182930637: Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-26 15:44:31 -0700) are available in the git repository at: git://git.denx.de/u-boot-coldfire.git master Jason Jin (2): ColdFire:

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Dimax Sent: 28 October 2012 20:18 To: u-boot@lists.denx.de Subject: [U-Boot] UBIFS fails on SheevaPlug HI, After power short u-boot fails to mount UBIFS and board stuck.

Re: [U-Boot] [PATCH 0/2] Standardize on run-time board ID variables

2012-10-29 Thread Stephen Warren
On 10/26/2012 01:45 AM, Joe Hershberger wrote: Hi Tom, On Wed, Oct 24, 2012 at 2:32 PM, Tom Rini tr...@ti.com wrote: On Wed, Oct 24, 2012 at 01:05:16PM -0600, Stephen Warren wrote: On 10/24/2012 12:41 PM, Tom Rini wrote: On Wed, Oct 24, 2012 at 11:50:38AM -0600, Stephen Warren wrote: On

[U-Boot] [PATCH] M68K: eb_cpu5282: general update and enhanced board support

2012-10-29 Thread Jens Scharsig (BuS Elektronik)
From: Jens Scharsig (BuS Elektronik) e...@bus-elektronik.de - update clock settings for higher perfomance - change standard baud rate to 115200 - fix flash base address - remove unused defines - add I2C support - switch form board dependent flash to cfi - remove board dependent flash code - use

[U-Boot] [PATCH v3 0/22] AHCI / SATA Improvements

2012-10-29 Thread Simon Glass
This series contains a set of improvements for the SATA susbsystem, mostly targeted at solid-state drivers and improving start-up time. The patches are tested on various x86 Chromebooks. Changes in v3: - Remove use of DEFINE_PCI_DEVICE_TABLE suggested by siren checkpatch - Use struct

[U-Boot] [PATCH v3 01/22] ahci: Support splitting of read transactions into multiple chunks

2012-10-29 Thread Simon Glass
From: Vadim Bendebury vben...@chromium.org With an Intel AHCI controller, the driver does not operate properly if the requested amount of blocks to read exceeds 255. It is probably possible to specify 0 as the block count and the driver will read 256 blocks, but it was decided to limit the

[U-Boot] [PATCH v3 17/22] ahci: Adjust SATA timeouts for hard disk (spinup delay command timeout)

2012-10-29 Thread Simon Glass
From: Walter Murphy wmur...@google.com Note: These are timeout values and not delay values, so the event being timed out will complete whenever it is actually ready, with a measurement granularity of 1 millisecond, up till the timeout value. Therefore, there is no effect on SSD booting. The

[U-Boot] [PATCH v3 03/22] scsi: Add scsi_write to SCSI driver

2012-10-29 Thread Simon Glass
From: Hung-Te Lin hun...@chromium.org Implement write functionality in the scsi layer. A ''scsi write' command is also added to console for testing. Signed-off-by: Hung-Te Lin hun...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_scsi.c | 115

[U-Boot] [PATCH v3 10/22] ahci: support scsi writing in AHCI driver

2012-10-29 Thread Simon Glass
From: Hung-Te Lin hun...@chromium.org The scsi write command requires support from underlying driver. This CL enables SCSI_WRITE10 in AHCI driver. Tested in U-Boot console, try to i/o with sector #64: scsi read 1000 40 1 md.b 1000 200 # check if things are not 0xcc mw.b 1000 cc 200 # try to fill

[U-Boot] [PATCH v3 12/22] ahci: Use sizeof(fis) instead of hardcoding '20'

2012-10-29 Thread Simon Glass
From: Taylor Hutt th...@chromium.org This cleanup replaces the hardcoded use of '20', which represents the number of bytes in the FIS, with sizeof(fis). Signed-off-by: Taylor Hutt th...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- drivers/block/ahci.c | 10 +- 1

[U-Boot] [PATCH v3 21/22] ide: Correct function signatures for ide_read/write()

2012-10-29 Thread Simon Glass
The prototypes in the header were changed by commit 4ac8f8e0 but the functions no longer match. Correct this. It seems odd that block devices take an lbaint_t for the block count, but an unsigned long for the blknr. Surely we should promote blknr to lbaint_t also? Signed-off-by: Simon Glass

[U-Boot] [PATCH v3 13/22] ahci: Fix 'Invaild' typo

2012-10-29 Thread Simon Glass
From: Taylor Hutt th...@chromium.org This fixes a spelling error in a message which can be output to the console. Signed-off-by: Taylor Hutt th...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Move #ifdef change into earlier commit drivers/block/ahci.c |2

[U-Boot] [PATCH v3 18/22] ahci: Support spin-up and link-up separately

2012-10-29 Thread Simon Glass
From: Marc Jones marc.jo...@chromium.org Add HDD handling to the SSD-only AHCI driver, by separately dealing with spin-up and link-up. Signed-off-by: Marc Jones marc.jo...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- drivers/block/ahci.c | 45

[U-Boot] [PATCH v3 08/22] ahci: cosmetics and cleanup

2012-10-29 Thread Simon Glass
From: Stefan Reinauer reina...@chromium.org - print the correct speed - print all the AHCI capability flags (information taken from Linux kernel driver) - clean up some comments For example, this might show the following string: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x3 impl SATA mode

[U-Boot] [PATCH v3 16/22] ahci: flush / invalidate dcache around SATA commands

2012-10-29 Thread Simon Glass
From: Taylor Hutt th...@chromium.org Exynos5 automatically performs DMA when the SATA controller executes commands. This adds the necessary dcache-to-memory flush invalidation calls to allow the DMA to properly function. Signed-off-by: Taylor Hutt th...@chromium.org Signed-off-by: Simon Glass

[U-Boot] [PATCH v3 20/22] ahci: Expand HDD Logical Block addressability up to 32 bits

2012-10-29 Thread Simon Glass
From: Walter Murphy wmur...@google.com Currently, this driver uses a 28bit interface to AHCI, this limits the number of blocks addressable to 2^28, or the max disk size to 512(2^28) or about 137GB. This change allows supporting drives up to about 2TB. Testing this is a bit difficult. There is

[U-Boot] [PATCH v3 15/22] ahci: Use virt_to_phys() to denote physical addresses for DMA

2012-10-29 Thread Simon Glass
From: Taylor Hutt th...@chromium.org Update the assignment of various physical memory buffers used by the SATA controller to explicitly be denoted as physical addresses. The memory is identity-mapped, so these function calls are a nop, but they provide good semantic documentation for any

[U-Boot] [PATCH v3 19/22] ahci: Perform SATA flush after disk write.

2012-10-29 Thread Simon Glass
From: Marc Jones marc.jo...@chromium.org Writes in u-boot are so rare, and the logic to know when is the last write and do a flush only there is sufficiently difficult. Just do a flush after every write. This incurs, usually, one extra flush when the rare writes do happen. Signed-off-by: Marc

[U-Boot] [PATCH v3 04/22] Support setenv_ulong() and setenv_addr() for powerpc

2012-10-29 Thread Simon Glass
This includes were outside an #ifdef CONFIG_PPC, but there is not reason to exclude powerpc from using them. Move the declaration outside the #ifdef. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new patch to enable setenv_ulong/addr() for powerpc include/common.h |

[U-Boot] [PATCH v3 07/22] ahci: Improve AHCI debugging

2012-10-29 Thread Simon Glass
From: Stefan Reinauer reina...@chromium.org - remove unused ssleep macro - add some useful debugging information Signed-off-by: Stefan Reinauer reina...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- drivers/block/ahci.c |3 ++- 1 files changed, 2 insertions(+), 1

[U-Boot] [PATCH v3 05/22] scsi: Add function and env var to report number of scsi drives

2012-10-29 Thread Simon Glass
From: Stefan Reinauer reina...@chromium.org Add a new function to find out the number of available SCSI disks. Also set the 'scsidevs' environment variable after each scan. Signed-off-by: Stefan Reinauer reina...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Fix

[U-Boot] [PATCH v3 09/22] ahci: Make sending the SETFEATURES_XFER command optional

2012-10-29 Thread Simon Glass
From: Gabe Black gabebl...@chromium.org This command doesn't really do anything when talking to a SATA device, and sending it confuses some of them. This change makes sending the command optional, and defaults to not. The situations where it should be sent are not the common case. With the

[U-Boot] [PATCH v3 06/22] ahci: Optimise AHCI controller reset and start-up

2012-10-29 Thread Simon Glass
From: Stefan Reinauer reina...@chromium.org The existing code waits a whole second for the AHCI controller to reset. Instead, let's poll the status register to see if the reset has succeeded and return earlier if possible. This brings down the time for AHCI probing from 1s to 20ms.

[U-Boot] [PATCH v3 11/22] ahci: Make the AHCI code find the capacity of disks 128 GB properly

2012-10-29 Thread Simon Glass
From: Gabe Black gabebl...@chromium.org In the structure returned by the ATA identify device command, there are two fields which describe the device capacity. One is a 32 bit data type which reports the number of sectors as a 28 bit LBA, and the other is a 64 bit data type which is for a 48 bit

[U-Boot] [PATCH v3 22/22] x86: config: Enable AHCI support for coreboot

2012-10-29 Thread Simon Glass
Enable AHCI driver for Intel SATA devices. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/coreboot.h | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 3df085b..cc95e2b

[U-Boot] [PATCH v3 14/22] ahci: Support 64-bit LBA option when reading capacity

2012-10-29 Thread Simon Glass
From: Gabe Black gabebl...@chromium.org Capacity needs to allow for a 64-bit value. Signed-off-by: Gabe Black gabebl...@google.com Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add patch to support 64-bit LBA option when reading capacity common/cmd_scsi.c | 92

[U-Boot] [PATCH v3 02/22] scsi: Provide support for a list of AHCI controllers.

2012-10-29 Thread Simon Glass
From: Vadim Bendebury vben...@chromium.org Many AHCI controllers are identical, the main (and often the only) difference being the PCI Vendor ID/Device ID combination reported by the device. This change allows the config file to define a list of PCI vendor ID/device ID pairs. The driver would

Re: [U-Boot] ping failed; host 192.168.1.101 is not alive

2012-10-29 Thread akdas75
hi No I dont have any firewall running. I have enabled to receive all packets [] i am using the uboot version 2011.03 with the following changes. But i think it will not affect the ping functionality. Any help. I will try putting more logs and pointing the issue. attached is the patch Ajoy

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-29 Thread Stephen Warren
On 10/29/2012 03:47 AM, Heiko Schocher wrote: Hello Stephen, On 26.10.2012 18:07, Stephen Warren wrote: On 10/25/2012 11:48 PM, Heiko Schocher wrote: Hello Simon, On 25.10.2012 23:37, Simon Glass wrote: On Mon, Oct 22, 2012 at 10:40 AM, Heiko Schocherh...@denx.de wrote:

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-29 Thread Simon Glass
Hi Stephen, On Mon, Oct 29, 2012 at 8:34 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/29/2012 03:47 AM, Heiko Schocher wrote: Hello Stephen, On 26.10.2012 18:07, Stephen Warren wrote: On 10/25/2012 11:48 PM, Heiko Schocher wrote: Hello Simon, On 25.10.2012 23:37, Simon Glass

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Vikram Narayanan
Hello Dimax, On 10/29/2012 2:57 PM, Dimax wrote: I also want to look back at my original problem of non-recovered UBIFS. Want to make sure my effort will not be useless. Let's say I've increased the memory allocation size. But are you sure u-boot implementation of ubifs really can recover

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Andreas Bießmann Sent: 29 October 2012 14:41 To: Dimax Cc: Marek Vasut; u-boot@lists.denx.de Subject: Re: [U-Boot] UBIFS fails on SheevaPlug Dear Dimax, please do not

Re: [U-Boot] [PATCH] common/spl: Mark arguments as unused

2012-10-29 Thread Scott Wood
On 10/28/2012 12:04:06 PM, Vikram Narayanan wrote: On 10/24/2012 10:41 PM, Scott Wood wrote: On 10/23/2012 11:14:34 PM, Vikram Narayanan wrote: On 10/24/2012 7:22 AM, Scott Wood wrote: On 10/23/2012 12:15:11 PM, Vikram Narayanan wrote: On 10/23/2012 9:15 PM, Tom Rini wrote: On Tue, Oct 23,

Re: [U-Boot] Pull request:u-boot-coldfire/master

2012-10-29 Thread Tom Rini
On Mon, Oct 29, 2012 at 02:22:52PM +, Jin Zhengxiong-R64188 wrote: Hi, Tom, The following changes since commit 5bb3505fa867ded03cbee83f7722ab5182930637: Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-26 15:44:31 -0700) are available in the git repository at:

Re: [U-Boot] Pull request: u-boot-mpc8xx/master

2012-10-29 Thread Tom Rini
On Sun, Oct 28, 2012 at 08:33:06PM +0100, Wolfgang Denk wrote: Dear tom, the following changes since commit 5bb3505fa867ded03cbee83f7722ab5182930637: Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-26 15:44:31 -0700) are available in the git repository at:

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Dimax
I remember I have unbricked sheevaplug with USB key. But I'm still not sure if effort is not useless as I see no conclusion about u-boot ability to recover UBIFS partition (at least to try). Can anybody tell it for sure? On Mon, Oct 29, 2012 at 2:15 PM, Prafulla Wadaskar

[U-Boot] [PATCH 0/4] apf27: add support of armadeus apf27 v2

2012-10-29 Thread Philippe Reynes
Difference between v1 and v2: - use spl instead of nand_spl - use gpio api - remove use of useless CONFIG_SYS - remove use of config.mk - remove dead code Philippe Reynes (4): apf27: add missing constant to mx27 apf27: add support for the armadeus APF27 board apf27: add spl support for the

[U-Boot] [PATCH 1/4] apf27: add missing constant to mx27

2012-10-29 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org create mode 100644 arch/arm/include/asm/arch-mx27/mxc_nand.h diff --git a/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c b/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c index f3a8d7b..b95c58c 100644

[U-Boot] [PATCH 2/4] apf27: add support for the armadeus APF27 board

2012-10-29 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com create mode 100644 board/armadeus/apf27/Makefile create mode 100644 board/armadeus/apf27/apf27.c create mode 100644

[U-Boot] [PATCH 4/4] apf27: add FPGA support for the apf27 board

2012-10-29 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org create mode 100644 board/armadeus/apf27/fpga.c create mode 100644 board/armadeus/apf27/fpga.h diff --git a/board/armadeus/apf27/Makefile b/board/armadeus/apf27/Makefile index f57f405..9d356a3

[U-Boot] [PATCH 3/4] apf27: add spl support for the apf27

2012-10-29 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org create mode 100644 board/armadeus/apf27/start.S create mode 100644 board/armadeus/apf27/u-boot-spl.lds diff --git a/board/armadeus/apf27/Makefile b/board/armadeus/apf27/Makefile index

Re: [U-Boot] [PATCH v4 2/5] arm bootm: Do not append zero ATAG_MEM

2012-10-29 Thread Tom Rini
On Sat, Oct 27, 2012 at 05:29:32PM +0200, Marek Vasut wrote: Dear Tom Rini, On Fri, Oct 19, 2012 at 02:00:05PM +0200, Pali Roh??r wrote: If dram bank size is calculated at runtime, it can be zero on some boards. This patch added code which ignore these zero bank size in ATAG_MEM.

Re: [U-Boot] [PATCH v4 5/5] New board support: Nokia RX-51 aka N900

2012-10-29 Thread Pali Rohár
On Tuesday 23 October 2012 09:20:39 Igor Grinberg wrote: +/* + * Routine: board_init + * Description: Early hardware init. + */ +int board_init(void) +{ + gpmc_init(); /* in SRAM or SDRAM, finish GPMC */ + /* board id for Linux */ + gd-bd-bi_arch_number =

Re: [U-Boot] Current u-boot memory mapping

2012-10-29 Thread Tom Rini
On Sat, Oct 27, 2012 at 08:17:00PM +0900, RgC wrote: [snip] My understanding is that after relocation no area between the bottom and the top of RAM is reserved. We can use it freely. Is this correct? Basically, yes. You can use 'bdinfo' to see what / where things are being used at run-time.

Re: [U-Boot] [PATCH 0/2] Standardize on run-time board ID variables

2012-10-29 Thread Tom Rini
On Mon, Oct 29, 2012 at 09:15:41AM -0600, Stephen Warren wrote: On 10/26/2012 01:45 AM, Joe Hershberger wrote: Hi Tom, On Wed, Oct 24, 2012 at 2:32 PM, Tom Rini tr...@ti.com wrote: On Wed, Oct 24, 2012 at 01:05:16PM -0600, Stephen Warren wrote: On 10/24/2012 12:41 PM, Tom Rini wrote:

Re: [U-Boot] [PATCH v3 21/22] ide: Correct function signatures for ide_read/write()

2012-10-29 Thread Tom Rini
On Mon, Oct 29, 2012 at 08:24:04AM -0700, Simon Glass wrote: The prototypes in the header were changed by commit 4ac8f8e0 but the functions no longer match. Correct this. Oops, not sure how I missed that. It seems odd that block devices take an lbaint_t for the block count, but an unsigned

Re: [U-Boot] [PATCH v3 21/22] ide: Correct function signatures for ide_read/write()

2012-10-29 Thread Simon Glass
Hi, On Mon, Oct 29, 2012 at 11:22 AM, Tom Rini tr...@ti.com wrote: On Mon, Oct 29, 2012 at 08:24:04AM -0700, Simon Glass wrote: The prototypes in the header were changed by commit 4ac8f8e0 but the functions no longer match. Correct this. Oops, not sure how I missed that. It seems odd that

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Vikram Narayanan
On 10/29/2012 10:55 PM, Dimax wrote: I remember I have unbricked sheevaplug with USB key. But I'm still not sure if effort is not useless as I see no conclusion about u-boot ability to recover UBIFS partition (at least to try). Can anybody tell it for sure? This is what I've got from the code

Re: [U-Boot] [PATCH] common/spl: Mark arguments as unused

2012-10-29 Thread Vikram Narayanan
On 10/29/2012 10:04 PM, Scott Wood wrote: It's not worth arguing over a single line of code that isn't going to cause any significant change. That would save us both some time. So you're withdrawing the patch? Yes. I'm more concerned about the precedent it sets than the one specific line.

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Dimax
U-boot will _not_ recover your UBIFS partition like the Linux kernel. CMIIW. In other words it is not possible to use UBIFS on embedded Linux boards with u-boot unless you can provide unterminated power supply. I'm going to another solution - Split flash in two UBIFS partitions. Make the first

[U-Boot] [PATCH] arm720t: add back common.h include

2012-10-29 Thread Allen Martin
Add back common.h header that was removed in previous patch so that CONFIG_TEGRA can be evaluated correctly. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/cpu/arm720t/interrupts.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/arm720t/interrupts.c

Re: [U-Boot] [PATCH v5 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-29 Thread Tom Rini
On Tue, Oct 23, 2012 at 10:28:29AM +0200, Stefan Roese wrote: By extracting these defines into a header, they can be re-used by other C sources as well. This will be done by the SPL framework OS boot support. Signed-off-by: Stefan Roese s...@denx.de release.S:354:0: warning: EPAPR_MAGIC

Re: [U-Boot] [PATCH] arm720t: add back common.h include

2012-10-29 Thread Tom Warren
-Original Message- From: Allen Martin [mailto:amar...@nvidia.com] Sent: Monday, October 29, 2012 1:48 PM To: Tom Warren; swar...@wwwdotorg.org; ma...@denx.de Cc: u-boot@lists.denx.de; Allen Martin Subject: [PATCH] arm720t: add back common.h include Add back common.h header that

Re: [U-Boot] [PATCH] arm720t: add back common.h include

2012-10-29 Thread Tom Warren
Thanks, Allen. Nice work. Applied to /next and testing now. I'll push a new copy to denx.de if it builds/boots OK. -Original Message- From: Allen Martin [mailto:amar...@nvidia.com] Sent: Monday, October 29, 2012 1:48 PM To: Tom Warren; swar...@wwwdotorg.org; ma...@denx.de Cc:

Re: [U-Boot] [PATCH V4 1/3] fs: delete unused Makefile

2012-10-29 Thread Tom Rini
On Mon, Oct 22, 2012 at 10:43:49AM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com fs/Makefile is unused. The top-level Makefile sets LIBS-y += fs/xxx and hence causes make to directly descend two directory levels into each individual filesystem, and it never descends

Re: [U-Boot] [PATCH] FPGA: Cyclon II: Correctly reset the FPGA before configuration

2012-10-29 Thread Tom Rini
On Tue, Oct 23, 2012 at 11:11:41AM +0200, Stefan Roese wrote: From: Stephan Gatzka stephan.gat...@hbm.com Deassert the CONFIG pin before asserting it again. This assures that the FPGA will be resetted and therefore configuration will be correctly enabled. This is also already done on

Re: [U-Boot] [PATCH] ext4: Fix printf() format string error

2012-10-29 Thread Tom Rini
On Tue, Oct 23, 2012 at 04:49:25PM -0700, Simon Glass wrote: Fix the following error in the ext4 command: cmd_ext4.c:110:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Werror=format] Signed-off-by: Simon Glass s...@chromium.org

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Andreas Bießmann
Dear Vikram Narayanan, first of all you are right. u-boot ubifs implementation will never recover the ubifs on media, cause it is mounted read only. On 29.10.2012 19:53, Vikram Narayanan wrote: On 10/29/2012 10:55 PM, Dimax wrote: I remember I have unbricked sheevaplug with USB key. But I'm

[U-Boot] [PATCH v2 24/25] drivers/mtd/nand: sparse fixes

2012-10-29 Thread Kim Phillips
nand_ecc.c:82:5: warning: symbol 'nand_calculate_ecc' was not declared. Should it be static? nand_ecc.c:155:5: warning: symbol 'nand_correct_data' was not declared. Should it be static? nand_base.c:2854:1: error: directive in argument list nand_base.c:2856:1: error: directive in argument list

[U-Boot] [PATCH v2 03/25] include/linux/unaligned/generic.h: fix warning: preprocessor token __force redefined

2012-10-29 Thread Kim Phillips
include/linux/unaligned/generic.h:5:9: warning: preprocessor token __force redefined include/linux/compiler.h:10:10: this was the original definition fixup __force definitions in compat.h code appears to be placed there as a cover up from a code import from linux when u-boot didn't yet have a

[U-Boot] [PATCH v2 17/25] powerpc/mpc83xx: sparse fixes

2012-10-29 Thread Kim Phillips
fdt.c:91:78: warning: Using plain integer as NULL pointer fdt.c:103:78: warning: Using plain integer as NULL pointer speed.c:55:11: warning: symbol 'corecnf_tab' was not declared. Should it be static? speed.c:519:5: warning: symbol 'do_clocks' was not declared. Should it be static?

[U-Boot] [PATCH v2 08/25] include/image.h: sparse fixes

2012-10-29 Thread Kim Phillips
include/image.h:378:1: warning: cast to restricted __be32 include/image.h:381:1: warning: cast to restricted __be32 include/image.h:382:1: warning: cast to restricted __be32 include/image.h:383:1: warning: cast to restricted __be32 fix by annotating image header integers big endian.

[U-Boot] [PATCH v2 06/25] arch/powerpc/lib/extable.c: sparse fix

2012-10-29 Thread Kim Phillips
extable.c:66:9: warning: symbol 'ex_tab_message' was not declared. Should it be static? making it static can produce a new build warning on some boards: extable.c:66:12: warning: 'ex_tab_message' defined but not used [-Wunused-variable] but ex_tab_message doesn't do much even when used, so

[U-Boot] [PATCH v2 14/25] lib/vsprintf.c: sparse fixes

2012-10-29 Thread Kim Phillips
vsprintf.c:31:12: warning: symbol 'hex_asc' was not declared. Should it be static? vsprintf.c:398:18: warning: Using plain integer as NULL pointer Signed-off-by: Kim Phillips kim.phill...@freescale.com --- v2: no changes lib/vsprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v2 04/25] include/linux/stddef.h: avoid 'warning: preprocessor token offsetof redefined'

2012-10-29 Thread Kim Phillips
hack to avoid: /opt/gcc-4.6.3-nolibc/powerpc-linux/bin/../lib/gcc/powerpc-linux/4.6.3/include/stddef.h:413:9: warning: preprocessor token offsetof redefined u-boot/include/linux/stddef.h:20:9: this was the original definition tried protecting with __KERNEL__, and #including compiler.h first.

[U-Boot] [PATCH v2 05/25] arch/powerpc/include/asm/io.h: fix warning: preprocessor token __iomem redefined

2012-10-29 Thread Kim Phillips
a fixup __iomem definition in arch code appears to be placed there as a cover up from a code import from linux when u-boot didn't yet have a compiler.h, introduced by commit 812711ce6b3a386125dcf0d6a59588e461abbb87 Implement __raw_{read,write}[bwl] on all architectures. git show

[U-Boot] [PATCH v2 13/25] lib/zlib: sparse fixes

2012-10-29 Thread Kim Phillips
define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of the NULL pointer warnings. inflate.c:942:1: warning: non-ANSI definition of function 'inflateEnd' inflate.c:9:1: warning: non-ANSI definition of function 'inflateReset' inflate.c:12:17: warning: Using plain integer as NULL

[U-Boot] [PATCH v2 10/25] common/misc: sparse fixes

2012-10-29 Thread Kim Phillips
command.c:44:38: error: bad constant expression dlmalloc.c:1468:2: warning: Using plain integer as NULL pointer dlmalloc.c:1468:5: warning: Using plain integer as NULL pointer dlmalloc.c:2176:12: warning: Using plain integer as NULL pointer dlmalloc.c:2179:31: warning: Using plain integer as NULL

[U-Boot] [PATCH v2 19/25] drivers/gpio/mpc83xx_gpio.c: sparse fixes

2012-10-29 Thread Kim Phillips
mpc83xx_gpio.c:166:26: warning: non-ANSI function declaration of function 'mpc83xx_gpio_init_f' mpc83xx_gpio.c:190:26: warning: non-ANSI function declaration of function 'mpc83xx_gpio_init_r' Signed-off-by: Kim Phillips kim.phill...@freescale.com --- v2: no changes drivers/gpio/mpc83xx_gpio.c

[U-Boot] [PATCH v2 16/25] powerpc/mpc85xx: sparse fixes

2012-10-29 Thread Kim Phillips
fsl_corenet_serdes.c:485:6: warning: symbol '__soc_serdes_init' was not declared. Should it be static? cpu_init.c:185:6: warning: symbol 'invalidate_cpc' was not declared. Should it be static? bcsr.c:28:27: warning: non-ANSI function declaration of function 'enable_8568mds_duart' bcsr.c:39:33:

[U-Boot] [PATCH v2 11/25] net/: sparse fixes

2012-10-29 Thread Kim Phillips
bootp.c:44:14: warning: symbol 'dhcp_state' was not declared. Should it be static? bootp.c:45:15: warning: symbol 'dhcp_leasetime' was not declared. Should it be static? bootp.c:46:10: warning: symbol 'NetDHCPServerIP' was not declared. Should it be static? arp.c:30:17: warning: symbol

[U-Boot] [PATCH v2 20/25] drivers/input/input.c: sparse fix

2012-10-29 Thread Kim Phillips
input.c:97:5: warning: symbol 'input_queue_ascii' was not declared. Should it be Signed-off-by: Kim Phillips kim.phill...@freescale.com --- v2: no changes drivers/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input.c b/drivers/input/input.c

[U-Boot] [PATCH v2 22/25] drivers/mmc/fsl_esdhc.c: sparse fixes

2012-10-29 Thread Kim Phillips
fsl_esdhc.c:71:6: warning: symbol 'esdhc_xfertyp' was not declared. Should it be static? fsl_esdhc.c:413:6: warning: symbol 'set_sysctl' was not declared. Should it be st Signed-off-by: Kim Phillips kim.phill...@freescale.com --- v2: no changes drivers/mmc/fsl_esdhc.c | 4 ++-- 1 file

[U-Boot] [PATCH v2 18/25] drivers/block/: sparse fixes

2012-10-29 Thread Kim Phillips
sata_sil.c:371:7: warning: symbol 'sil_sata_rw_lba28' was not declared. Should it be static? sata_sil.c:399:7: warning: symbol 'sil_sata_rw_lba48' was not declared. Should it be static? sata_sil.c:429:6: warning: symbol 'sil_sata_cmd_flush_cache' was not declared. Should it be static?

[U-Boot] [PATCH v2 23/25] drivers/mtd/cfi_flash.c: sparse fixes

2012-10-29 Thread Kim Phillips
cfi_flash.c:756:43: warning: Using plain integer as NULL pointer cfi_flash.c:1150:52: warning: cast to non-scalar cfi_flash.c:1433:46: warning: cast truncates bits from constant value (890089 becomes 89) cfi_flash.c:1490:61: warning: cast truncates bits from constant value (1f001f becomes 1f)

  1   2   >