Assuming you load the kernel to ram with tftp (and that "AppKernel" is
an mtdparts partition in NAND), then you could do:
nand erase.part AppKernel
tftp $load_addr uImage
crc32 $load_addr $filesize
nand write.i $load_addr AppKernel $filesize
nand read.i $load_addr AppKernel $filesize
crc32 $load_
-- Forwarded message --
From: Bhorania Amit
Date: Wed, May 2, 2012 at 11:12 AM
Subject: Query about Address line test in POST of Uboot
To: u-boot@lists.denx.de
Respected Sir,
I am understanding the code of POST for RAM. In the
comment of Memory.c file for Ad
Dear Marek,
On 2 May 2012 11:44, Marek Vasut wrote:
>> > +int gpio_set_value(unsigned gpio, int value)
>> > +{
>> > + unsigned l = readl(GPIO_FULLPORT(gpio));
>> > + unsigned port = GPIO_FULLPORT(gpio);
>> > +
>> > + /*
>> > + * All GPIO Port have a configuration on
>> >
Sorry if I am posting some kind of FAQ here,
I recently picked up a Cubox (arm) which uses uboot. Added ZFS to Linux and
made it have a ZFS root filesystem. The only drawback is the small boot
partition of ext2/fat to read uImage and initrd.
So I am curious about adding ZFS support to uboot.
This is needed for upcoming Toradex Colibri T20 upstream support.
Signed-off-by: Lucas Stach
---
arch/arm/cpu/armv7/tegra2/clock.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/tegra2/clock.c
b/arch/arm/cpu/armv7/tegra2/clock.c
index 39376ab..8084
From: Jon Hunter
For OMAP4 boards, such as the panda-es, that have 1GB of memory the linux
kernel fails to locate the device tree blob on boot. The reason being is that
u-boot is copying the DT blob to the upper part of RAM when booting the kernel
and the kernel is unable to access the blob. By s
Dear Minkyu Kang,
> Dear Gabriel Huau,
>
> On 30 April 2012 23:11, Gabriel Huau wrote:
> > It's now possible to use the gpio driver interface
> > for s3c2440. This patch add iomux definitions too.
> >
> > Signed-off-by: Gabriel Huau
> > ---
> > Changes for v2:
> >- Modification of the
On Monday 30 April 2012 16:40:16 Wolfgang Denk wrote:
> Dear Charles Manning,
>
> In message <1335739336-2942-1-git-send-email-cdhmann...@gmail.com> you
wrote:
> > This patch set replaces fs/yaffs2 with a new version.
> >
> > This new version is faster and also adds the ability to dynamically
> >
This patch manipulates GUID Papartition Tables.
I send this patch on behalf of Gwuieon Jin.
Signed-off-by: Gwuieon Jin
Signed-off-by: Kyungmin Park
---
disk/part_efi.c | 107 +++
disk/part_efi.h |2 +
include/part.h |2 +
3 files ch
Dear Gabriel Huau,
On 30 April 2012 23:11, Gabriel Huau wrote:
> It's now possible to use the gpio driver interface
> for s3c2440. This patch add iomux definitions too.
>
> Signed-off-by: Gabriel Huau
> ---
> Changes for v2:
> - Modification of the coding style
> - Add my email add
On 30 April 2012 23:11, Gabriel Huau wrote:
> Support of the MINI2440 board from FriendlyARM from
> an old version of u-boot :
> http://repo.or.cz/r/u-boot-openmoko/mini2440.git
>
> Currently, supporting only boot from NOR.
>
> Signed-off-by: Gabriel Huau
> ---
> Changes for v2:
> - Coding
On 30 April 2012 22:38, Gabriel Huau wrote:
> Signed-off-by: Gabriel Huau
> ---
> Changes for v2:
> - Coding style cleanup
> - Remove unnecessary files modification
> - Remove unnecessary board configuration set
>
> Changes for v3:
> - Coding style cleanup
> - M
On 05/01/2012 04:11 PM, Marek Vasut wrote:
Dear Eric Nelson,
Signed-off-by: Eric Nelson
---
tools/checkpatch.pl |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
index 2048a44..0caffcb 100755
--- a/tools/checkpatch.pl
+++
Dear Eric Nelson,
> Signed-off-by: Eric Nelson
> ---
> tools/checkpatch.pl |6 ++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
> index 2048a44..0caffcb 100755
> --- a/tools/checkpatch.pl
> +++ b/tools/checkpatch.pl
> @@ -3
Signed-off-by: Eric Nelson
---
tools/checkpatch.pl |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
index 2048a44..0caffcb 100755
--- a/tools/checkpatch.pl
+++ b/tools/checkpatch.pl
@@ -3139,6 +3139,12 @@ sub process {
Dear Eric Nelson,
> Signed-off-by: Eric Nelson
> ---
> tools/checkpatch.pl |6 ++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
> index 2048a44..0caffcb 100755
> --- a/tools/checkpatch.pl
> +++ b/tools/checkpatch.pl
> @@ -3
Signed-off-by: Eric Nelson
---
tools/checkpatch.pl |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
index 2048a44..0caffcb 100755
--- a/tools/checkpatch.pl
+++ b/tools/checkpatch.pl
@@ -3139,6 +3139,12 @@ sub process {
On 05/01/2012 02:11 PM, Marek Vasut wrote:
Dear Eric Nelson,
On 05/01/2012 12:25 PM, Marek Vasut wrote:
Dear Eric Nelson,
Signed-off-by: Eric Nelson
---
V2 has been stripped of the board-independent changes and
uses clrsetbits_le32() instead of twiddling bits by hand.
V3 returns immediately
GOT is now handled the way the main u-boot.lds does it. Without this,
the boot hangs when built with newer GCC (since 4.6). Older toolchains
hid the issue by converting -fpic to -fPIC.
Signed-off-by: Scott Wood
---
arch/powerpc/cpu/mpc85xx/u-boot-nand.lds |5 +++--
arch/powerpc/cpu/mpc
Dear Rajeshwari Shinde,
> This patch adds ehci driver support for s5p.
It'd be awesome if you CCed me ;-)
Also, it might be worth CCing Lukasz?
>
> Signed-off-by: Vivek Gautam
> Signed-off-by: Rajeshwari Shinde
> ---
> arch/arm/include/asm/arch-exynos/ehci-s5p.h | 66
> d
Dear Eric Nelson,
> On 05/01/2012 12:25 PM, Marek Vasut wrote:
> > Dear Eric Nelson,
> >
> >> Signed-off-by: Eric Nelson
> >> ---
> >> V2 has been stripped of the board-independent changes and
> >> uses clrsetbits_le32() instead of twiddling bits by hand.
> >>
> >> V3 returns immediately from se
Do not define serial_putc() and serial_puts() calls if
CONFIG_SPL_SERIAL_SUPPORT is set.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/spl_boot.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch
From: Marek Vasut
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 100 +++---
1 file changed, 92 insertions(+), 8 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/mx28
If the WP function is NULL, simply assume the card is always RW.
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Wolfgang Denk
Cc: Detlev Zundel
Cc: Fabio Estevam
---
drivers/mmc/mxsmmc.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mxsmmc.c b/drivers
From: Marek Vasut
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 120 --
1 file changed, 56 insertions(+), 64 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/mx2
From: Marek Vasut
This code is part of battery boot support for i.MX28.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/Makefile |2 +-
arch/arm/cpu/arm926ejs/mx28/mx28_init.h |3 +
arch
From: Marek Vasut
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/include/asm/arch-mx28/imx-regs.h |1 +
arch/arm/include/asm/arch-mx28/regs-lradc.h | 400 +++
2 files changed, 401 insertions(+)
Pass memory size from SPL via structure located in SRAM instead of SCRATCH
registers. This allows passing more data about boot from SPL to U-Boot, like the
boot mode pads configuration.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arc
If the LCD controller is on before the CPU goes into reset, the traffic on LCDIF
data pins interferes with the BootROM's boot mode sampling. So shut the
controller down.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926
This patch implements code that samples i.MX28 boot pads and reports boot mode
accordingly.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/mx28.c |4 +++
arch/arm/cpu/arm926ejs/mx28/spl_boot.c
Add "update_sd_firmware" command to easily reload the SD card of
m28evk kit. This comes handy when the board boots from SD card.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
include/configs/m28evk.h |9 +
1 file changed, 9
From: Marek Vasut
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/include/asm/arch-mx28/imx-regs.h |1 +
arch/arm/include/asm/arch-mx28/regs-lcdif.h | 212 +++
2 files changed, 213 insertions(+)
Abstract out common register setup. This also configured r_cntrl
to correct value at registration time.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
drivers/net/fec_mxc.c | 84 ++---
1 fil
These are some improvements that were stuck in my tree for a while, time to
expunge them, please consider applying.
Tested on:
* DENX M28EVK v2.0
* DENX M28EVK v1.1
* Mysterious board #1 ...
* Unnamed board #2 ...
Marek Vasut (13):
FEC: Abstract out register setup
M28EVK: Implement support fo
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
board/denx/m28evk/m28evk.c | 20 +++-
board/denx/m28evk/spl_boot.c |8 ++--
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/board/denx/m28evk/m28e
> These are some improvements that were stuck in my tree for a while, time to
> expunge them, please consider applying.
Ignore this series, typo mangled Stefano's address, will resend.
>
> Tested on:
> * DENX M28EVK v2.0
> * DENX M28EVK v1.1
> * Mysterious board #1 ...
> * Unnamed board #2 ...
>
Do not define serial_putc() and serial_puts() calls if
CONFIG_SPL_SERIAL_SUPPORT is set.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/spl_boot.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch
If the WP function is NULL, simply assume the card is always RW.
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Wolfgang Denk
Cc: Detlev Zundel
Cc: Fabio Estevam
---
drivers/mmc/mxsmmc.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mxsmmc.c b/drivers
From: Marek Vasut
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 120 --
1 file changed, 56 insertions(+), 64 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/mx2
From: Marek Vasut
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 100 +++---
1 file changed, 92 insertions(+), 8 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/mx28
From: Marek Vasut
This code is part of battery boot support for i.MX28.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/Makefile |2 +-
arch/arm/cpu/arm926ejs/mx28/mx28_init.h |3 +
arch
From: Marek Vasut
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/include/asm/arch-mx28/imx-regs.h |1 +
arch/arm/include/asm/arch-mx28/regs-lradc.h | 400 +++
2 files changed, 401 insertions(+)
From: Marek Vasut
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/include/asm/arch-mx28/imx-regs.h |1 +
arch/arm/include/asm/arch-mx28/regs-lcdif.h | 212 +++
2 files changed, 213 insertions(+)
If the LCD controller is on before the CPU goes into reset, the traffic on LCDIF
data pins interferes with the BootROM's boot mode sampling. So shut the
controller down.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926
This patch implements code that samples i.MX28 boot pads and reports boot mode
accordingly.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arch/arm/cpu/arm926ejs/mx28/mx28.c |4 +++
arch/arm/cpu/arm926ejs/mx28/spl_boot.c
Pass memory size from SPL via structure located in SRAM instead of SCRATCH
registers. This allows passing more data about boot from SPL to U-Boot, like the
boot mode pads configuration.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
arc
Abstract out common register setup. This also configured r_cntrl
to correct value at registration time.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
drivers/net/fec_mxc.c | 84 ++---
1 fil
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
board/denx/m28evk/m28evk.c | 20 +++-
board/denx/m28evk/spl_boot.c |8 ++--
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/board/denx/m28evk/m28e
Add "update_sd_firmware" command to easily reload the SD card of
m28evk kit. This comes handy when the board boots from SD card.
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Wolfgang Denk
---
include/configs/m28evk.h |9 +
1 file changed, 9
These are some improvements that were stuck in my tree for a while, time to
expunge them, please consider applying.
Tested on:
* DENX M28EVK v2.0
* DENX M28EVK v1.1
* Mysterious board #1 ...
* Unnamed board #2 ...
Marek Vasut (13):
FEC: Abstract out register setup
M28EVK: Implement support fo
Implement the above two functions. The format of input parameters is
"x_y", where x is the bank number and y is the pin number in that bank.
Example:
=> gpio i 3_13
gpio: pin 3_13 (gpio 107) value is 0
Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Mike Frysinger
Cc: Stefano Babic
---
The gpio_from_string() call shall parse the incoming GPIO name taken
from the command line and return the GPIO number used within U-Boot or
return -1 on error.
The gpio_to_string() on the other hand allows nicer reporting of GPIO
name in the output of cmd_gpio.
Signed-off-by: Marek Vasut
Cc: Det
On 05/01/2012 01:09 PM, Marek Vasut wrote:
Dear Eric Nelson,
Signed-off-by: Eric Nelson
---
V2 has been stripped of the board-independent changes and
uses clrsetbits_le32() instead of twiddling bits by hand.
V3 returns immediately from setup_sata() if enable_sata_clock()
returns an error.
V4
On Tue, Apr 24, 2012 at 12:53:15AM -0700, YONGKI KIM wrote:
> Hello everyone.
> I am trying to port the Ethernet driver to *tegra250 development
> board(harmony board)* but I have the problem.
>
Harmony has a SMSC LAN9514 integrated USB hub/ethernet controller.
There's a driver for it in drivers/
Dear Eric Nelson,
> Signed-off-by: Eric Nelson
> ---
> V2 has been stripped of the board-independent changes and
> uses clrsetbits_le32() instead of twiddling bits by hand.
>
> V3 returns immediately from setup_sata() if enable_sata_clock()
> returns an error.
>
> V4 removes extra #include and
Signed-off-by: Eric Nelson
---
V2 has been stripped of the board-independent changes and
uses clrsetbits_le32() instead of twiddling bits by hand.
V3 returns immediately from setup_sata() if enable_sata_clock()
returns an error.
V4 removes extra #include and addresses a style issue as discussed
Dear Lukasz Majewski,
> This patch set provides support for composite gadget framework.
> Files from Linux kernel (2.6.36) - namely composite.{c|h} have been
> ported.
>
> Some extra "compatibility" code has been added as well.
>
> Lukasz Majewski (4):
> usb:gadget:composite Composite framewor
On 05/01/2012 12:25 PM, Marek Vasut wrote:
Dear Eric Nelson,
Signed-off-by: Eric Nelson
---
V2 has been stripped of the board-independent changes and
uses clrsetbits_le32() instead of twiddling bits by hand.
V3 returns immediately from setup_sata() if enable_sata_clock()
returns an error.
V4
Dear Stefano Babic,
> On 19/04/2012 10:55, Timo Ketola wrote:
> > The USB controller in i.MX25 has a PORTSCx registers which should be
> > set. In this regard it is similar to the controller in i.MX31. As this
> > file is compiled only with i.MX25 and -31, #ifdef check can be removed.
> >
> > Sig
Dear Eric Nelson,
> Signed-off-by: Eric Nelson
> ---
> V2 has been stripped of the board-independent changes and
> uses clrsetbits_le32() instead of twiddling bits by hand.
>
> V3 returns immediately from setup_sata() if enable_sata_clock()
> returns an error.
>
> V4 removes extra #include and
Signed-off-by: Eric Nelson
---
V2 has been stripped of the board-independent changes and
uses clrsetbits_le32() instead of twiddling bits by hand.
V3 returns immediately from setup_sata() if enable_sata_clock()
returns an error.
V4 removes extra #include and addresses a style issue as discussed
Dear David Aldrich,
In message <41302a7145ac054fa7a96cfd03835a0a114...@ex10mbx02.eu.nec.com> you
wrote:
>
> I would be grateful for some help with environment variable substitution in
> U-Boot please.
Make sure to read the manual, and the FAQ section, especially
http://www.denx.de/wiki/view/DU
I have fixed this now.
Best regards
David
> -Original Message-
> From: u-boot-boun...@lists.denx.de [mailto:u-boot-
> boun...@lists.denx.de] On Behalf Of David Aldrich
> Sent: 01 May 2012 13:29
> To: u-boot@lists.denx.de
> Subject: [U-Boot] Question about U-Boot env variable substitution
Dear Wolfgang,
2012/4/30 Wolfgang Denk :
> Also drop a few files referring to no longer / not yet supported
> boards.
>
> Signed-off-by: Wolfgang Denk
> Cc: Prafulla Wadaskar
> Cc: Stefan Roese
> Cc: Kim Phillips
> Cc: Andy Fleming
> Cc: Jason Jin
> Cc: Stefano Babic
> Cc: Daniel Schwierzec
Hi
I would be grateful for some help with environment variable substitution in
U-Boot please.
I have:
=> printenv
[snip]
bootargs=console=ttyS0,115200 root=/dev/nfs rw
ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
nfsroot=${serverip}:${rootpath}
[snip]
bootcmd=ru
As suggested by Prafulla Wadaskar, generalise dns325 support so that the dns320
can be supported by the same code.
NB: The patch uses git renaming to change dns325 to dnskw, so cannot be applied
with regular patch(1). Let me know if I shouldn't be submitting in this form.
Jamie Lentin (2):
kirk
Extend dnskw to support the D-Link DNS-320 ShareCenter NAS also. For more
information on this NAS, see:-
http://jamie.lentin.co.uk/devices/dlink-dns320
http://dns323.kood.org/dns-320
http://sharecenter.dlink.com/products/DNS-320
Signed-off-by: Jamie Lentin
Cc: prafu...@marvell.com
Cc: albe
So we can re-use DNS-325 configuration for the DNS-320 without things getting
confusing, rename all common parts from dns325 to dnskw, and use a config
option to configure DNS-325 specifics.
Signed-off-by: Jamie Lentin
Cc: prafu...@marvell.com
Cc: albert.u.b...@aribaud.net
---
board/d-link/{dns3
This patch adds ehci driver support for s5p.
Signed-off-by: Vivek Gautam
Signed-off-by: Rajeshwari Shinde
---
arch/arm/include/asm/arch-exynos/ehci-s5p.h | 66
drivers/usb/host/Makefile |1 +
drivers/usb/host/ehci-s5p.c | 113 ++
69 matches
Mail list logo