On Thu, Apr 02, 2009 at 12:43:53AM +0200, Wolfgang Denk wrote:
Dear Jean-Christophe PLAGNIOL-VILLARD,
In message 20090331202939.gi24...@game.jcrosoft.org you wrote:
On 11:19 Tue 17 Mar , Dirk Behme wrote:
Fix OMAP3 timer handling to 1ms tick and CONFIG_SYS_HZ to 1000.
Clean up
From: Manikandan Pillai mani.pil...@ti.com
Signed-off-by: Dirk Behme dirk.be...@googlemail.com
Signed-off-by: Manikandan Pillai mani.pil...@ti.com
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
Changes from Dirk's patch which is replaced by this [2]:
* Fix conflicts after commit
Dirk,
On Tue, Mar 31, 2009 at 05:55:13PM +0200, Dirk Behme wrote:
... I'd like that we split general ticks/timer code clean
up and bug fixes. I'd like that we implement the changes proposed by
Mike and Jean-Christophe independent and don't mix them with other
fixes for broken timer code
On Thu, Apr 02, 2009 at 12:43:53AM +0200, Wolfgang Denk wrote:
In message 20090331202939.gi24...@game.jcrosoft.org you wrote:
On 11:19 Tue 17 Mar , Dirk Behme wrote:
Fix OMAP3 timer handling to 1ms tick and CONFIG_SYS_HZ to 1000.
Clean up macros and comments.
Signed-off-by:
Let CONFIG_SYS_HZ to have value of 1000 effectively fixing all users of
get_timer.
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/cpu/arm925t/interrupts.c b/cpu/arm925t/interrupts.c
index e5c77f7..a22be66 100644
--- a/cpu/arm925t/interrupts.c
+++ b/cpu/arm925t/interrupts.c
the jffs2 commands making it possible to only select mtdparts when no JFFS2
support is needed.
One more leftover... Let nboot command know about partitions even if JFFS2
support is not enabled.
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index
It is a shame such a crap ever leaked into official repository. I'm sorry
about that.
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
board/netstar/eeprom.c |8 +--
board/netstar/eeprom_start.S | 190 +++---
2 files changed, 14 insertions
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
board/netstar/eeprom.c | 17 -
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/board/netstar/eeprom.c b/board/netstar/eeprom.c
index 5783bed..5ee89e1 100644
--- a/board/netstar/eeprom.c
+++ b/board/netstar
Now, when CONFIG_CMD_MTDPARTS exists as a separate option it is no longer
necessary to enable CONFIG_CMD_JFFS2.
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
include/configs/netstar.h |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/include/configs/netstar.h b
Let CONFIG_SYS_HZ to have value of 1000 effectively fixing all users of
get_timer.
Changes since original version:
* Set PTV=2 (divisor 8) for boards using 12MHz timer clock source to
improve timer resolution.
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/cpu/arm925t
On Tue, Apr 21, 2009 at 05:38:21PM +0200, Dirk Behme wrote:
Ladislav Michl wrote:
On Mon, Apr 20, 2009 at 08:27:34PM +0200, Dirk Behme wrote:
Just to get an idea of the math:
CONFIG_SYS_CLK_FREQ is 1200 (12MHz)? This is divided by 256, so
TIMER_CLOCK is 46875Hz? A free running 32-bit
On Tue, Apr 21, 2009 at 10:08:38PM +0200, Wolfgang Denk wrote:
Dear Sascha,
In message 20090421182102.gz21...@pengutronix.de you wrote:
This is not quite correct. What I consider important is an evo-
lutionary path - this may include bigger changes and reorganizations,
but I
On Wed, Apr 22, 2009 at 01:12:07AM +0200, Wolfgang Denk wrote:
One of these boards is the Auerswald Innokom, a board Robert once
ported. We probably still have it somewhere @Pengutronix, but nobody in
the world has any interest in running a top of tree U-Boot on it. Still
it is in the tree
Hello Heiko!
On Wed, Apr 22, 2009 at 10:53:46AM +0200, Heiko Schocher wrote:
Hello Ladislav
Ladislav Michl wrote:
May I? Last time I looked at mainline U-Boot about year ago, sending few
patches and it was working for me. Since then some changes (only minor ones
from design pespective
On Wed, Apr 22, 2009 at 10:26:12AM -0400, Jerry Van Baren wrote:
Wolfgang Denk wrote:
Dear Wolfgang,
Ladislav Michl wrote:
That's perfectly understandable. I'm just trying to point out, that
design flaws can be fixed incrementaly, without breaking anything
attitude does not reflect reality
On Thu, Apr 23, 2009 at 09:34:21AM +0200, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 01:12 Wed 22 Apr , Ladislav Michl wrote:
Let CONFIG_SYS_HZ to have value of 1000 effectively fixing all users of
get_timer.
Changes since original version:
* Set PTV=2 (divisor 8) for boards using
On Mon, Apr 27, 2009 at 03:28:28PM -0400, Mike Frysinger wrote:
if you want your points to have any meaning/usage, then they have to be on
the
mailing list. irc is useless for people trying to search for background
information to a problem.
I agree here, but I already gave up. And if the
0x1040 ...
...
CHANGELOG
* nboot: skip bad block when loading image from NAND
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 11f9096..f915fb6 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -511,7 +511,7 @@ static int
Hi,
following patch brings board NetStar back into shape.
CHANGELOG
* Make NAND work again (broken after new NAND code merge)
* Move conditional compilation to Makefile
* Enable I2C driver and RTC clock
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/board/netstar/Makefile b
On Sun, Mar 15, 2009 at 05:59:28PM -0400, Mike Frysinger wrote:
On Friday 13 March 2009 09:38:19 Ladislav Michl wrote:
nboot command currently does not skip bad blocks and gives read error when
loading image stored over bad block. With patch applied, nboot works as
expected:
iirc, some
On Fri, Mar 13, 2009 at 02:31:39PM +0100, Ladislav Michl wrote:
following patch brings board NetStar back into shape.
After some private conversation with Jean-Christophe this patch
splits into following serie. Many thanks to Jean-Christophe
for suggestions
Fix indentation broken by symbol renames. Sort driver related definitons.
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/include/configs/netstar.h b/include/configs/netstar.h
index 2c90265..0b578e8 100644
--- a/include/configs/netstar.h
+++ b/include/configs/netstar.h
@@ -64,12
Fix NAND support broken during new NAND code merge. Move those few lines of
code to board/netstar/netstar.c
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/board/netstar/Makefile b/board/netstar/Makefile
index 8d911b8..0d163fd 100644
--- a/board/netstar/Makefile
+++ b/board
Use generic flash driver.
Signed-off-by: Ladislav Michl la...@linux-mips.org
--- a/include/configs/netstar.h 2009-03-16 15:27:19.0 +0100
+++ b/include/configs/netstar.h 2009-03-16 15:28:18.0 +0100
@@ -59,16 +59,6 @@
#define PHYS_SDRAM_1_SIZE (64 * 1024 * 1024)
#define
Add RTC support.
Signed-off-by: Ladislav Michl la...@linux-mips.org
--- a/include/configs/netstar.h 2009-03-16 15:42:01.0 +0100
+++ b/include/configs/netstar.h 2009-03-16 15:43:33.0 +0100
@@ -110,6 +110,14 @@
#define CONFIG_SYS_NAND_BASE 0x0400 + (2 23)
#define
Make crc32 function to match its prototype. Use more meaningful identifiers.
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/board/netstar/crcit.c b/board/netstar/crcit.c
index ce98e20..e0cea9b 100644
--- a/board/netstar/crcit.c
+++ b/board/netstar/crcit.c
@@ -31,11 +31,11
On Tue, Mar 17, 2009 at 12:17:30PM -0500, Scott Wood wrote:
On Mon, Mar 16, 2009 at 11:28:24PM +0100, Ladislav Michl wrote:
Fix NAND support broken during new NAND code merge. Move those few lines of
code to board/netstar/netstar.c
What was the breakage?
Blocks being considered bad during
for that purpose,
but that can be fixed later (tm).
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c
index c8bf2c6..3d437c0 100644
--- a/common/cmd_mtdparts.c
+++ b/common/cmd_mtdparts.c
@@ -84,13 +84,10 @@
*
*/
-/*
- * JFFS2/CRAMFS support
Compile tested using 'MAKEALL arm' shown few errors, but none related to this
patch.
I'll address them in separate patches.
Signed-off-by: Ladislav Michl la...@linux-mips.org
diff --git a/include/configs/ADNPESC1.h b/include/configs/ADNPESC1.h
index 0977bee..b8afc17 100644
--- a/include/configs
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
cpu/arm925t/interrupts.c | 21 +
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/cpu/arm925t/interrupts.c b/cpu/arm925t/interrupts.c
index 361047b..e5c77f7 100644
--- a/cpu/arm925t/interrupts.c
+++ b/cpu
Dear Wolfgang,
On Wed, Mar 18, 2009 at 08:44:20PM +0100, Wolfgang Denk wrote:
In message 20090316222932.gd1...@localhost.localdomain you wrote:
Use generic flash driver.
Signed-off-by: Ladislav Michl la...@linux-mips.org
Does not apply to me:
I'm sorry for that. Updated version
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
board/netstar/crcit.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/board/netstar/crcit.c b/board/netstar/crcit.c
index e0cea9b..0eef41a 100644
--- a/board/netstar/crcit.c
+++ b/board/netstar/crcit.c
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
board/netstar/eeprom.c |8 +--
board/netstar/eeprom_start.S | 190 +++---
2 files changed, 14 insertions(+), 184 deletions(-)
rewrite board/netstar/eeprom_start.S (94%)
diff --git a/board
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
include/configs/netstar.h |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/include/configs/netstar.h b/include/configs/netstar.h
index 7bddf24..e37a378 100644
--- a/include/configs/netstar.h
+++ b/include/configs
Dear Sandeep,
NetStar is OMAP based board and you are listed as OMAP maintainer, so one
week before merge window closes I'd like to ask whenever there are any issues
with patches I sent, which I should eventually resolve to get them merged.
Thank you,
ladis
On Wed, Jan 13, 2010 at 11:37:19AM +0100, Peter Korsgaard wrote:
Hi,
I'll soon start an ARM based project (at91sam9g45), and am looking into
booting options. I normally use PPC, so I'm not really familiar with the
finer details of U-Boot on ARM. I would like to use a failsafe setup
with 2x
Dear u-boot custodians,
18 days since patches submission passed and there are less that 14 hrs till
merge window closes. So this is yet another reminder for those pending patches.
This board must be cursed, as I got silence only as reaction to every single
patch posted. Interestingly enough,
Hi Wolfgang,
On Mon, Jan 25, 2010 at 11:44:48PM +0100, Wolfgang Denk wrote:
6043 12/30 Ladislav Michl [U-Boot] [PATCH] NetStar: Remove debug junk
leaked into eeprom utility
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/73165
6044 12/30 Ladislav Michl [U
On Tue, Jan 26, 2010 at 11:52:23PM +0100, Wolfgang Denk wrote:
Dear Sandeep,
In message 0554bef07d437848af01b9c9b5f0bc5d985ee...@dlee01.ent.ti.com you
wrote:
Sandeep, could you please comment?
I have pushed these updates.
Thank you.
Thanks. Please send a pull request to Tom
it seems CFI flash support is somehow broken. mtd-eraseregions is
filled as bellow:
erase size blocks correct blocks
400001 01
200001 02
800000 01
00010f 0f
'blocks' is actual numblocks field value while 'correct blocks' is
Dear Sandeep,
following patches are intended to bring NetStar board to useable state.
Similar fixes for linker errors will be needed for VoiceBlue board - I'll
send them later, of course if you do not have any objections against this
solution.
Best regards,
ladis
From: Ladislav Michl la...@linux-mips.org
Defining partially initialized struct eth_device on stack means
gcc has to zero out it, and some gcc versions optimize this with
an implicit call to memset. Move definition to data section
to avoid that (it has also nice side effect that we need
From: Ladislav Michl la...@linux-mips.org
Use shorter yet descriptive messages, replace printf() with
puts() where appropriate. This saves few bytes.
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
board/netstar/eeprom.c | 27 +--
1 files changed, 13 insertions
From: Ladislav Michl la...@linux-mips.org
linking eeprom with libgeneric.a is not really needed and causes following
error:
../../lib_generic/libgeneric.a(string.o): In function `strcmp':
lib_generic/string.c:152: multiple definition of `strcmp'
../../examples/standalone/libstubs.a(stubs.o
From: Ladislav Michl la...@linux-mips.org
Correct switching partitions after upgrade and make it more readable.
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
include/configs/netstar.h | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/configs
From: Ladislav Michl la...@linux-mips.org
Recent kernels are using generic NAND and NOR drivers. Change
default mtdparts to reflect it.
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
include/configs/netstar.h |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git
On Thu, Jan 28, 2010 at 12:30:54PM +0530, Shashi Kumar M.S wrote:
Is there any option for multiple env variables so that when i upgrade the
kernel and rootfile system if not working properly so that i can fall back to
the previous kernel and ramdisk considering i have a sufficiently big nand
On Thu, Jan 28, 2010 at 09:19:37PM +0530, Shashi Kumar M.S wrote:
Where should this variable swapos should be.
Both 'ospart' and 'swapos' are ordinary u-boot environment variables.
1. should this swapos be in one of the separate partition of the nand
flash so that can be set by the kernel.
From: Ladislav Michl la...@linux-mips.org
ns16550 busyloops waiting for incoming byte causing watchdog to reboot
while waiting for a key press. A call to WATCHDOG_RESET in NS16550_getc
loop fixes it.
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
diff --git a/drivers/serial/ns16550.c b
On Tue, Feb 02, 2010 at 01:43:48PM +0100, Stefan Roese wrote:
This patch fixes a problem I've notived on a buggy PPC4xx system. This
system has problems with the PHY MDIO communication and seemed to be
stuck/crashed in miiphy_reset(). But degugging revealed, that the CPU
didn't crash, but only
On Mon, Feb 08, 2010 at 10:55:04AM -0600, Paulraj, Sandeep wrote:
Patches 1, 4 and 5 returned checkpatch errors.
I used scripts/checkpatch.pl from linux-2.6.33-rc5 and for patch 5 it reports
patch has no obvious style problems and is ready for submission. For others
two it reports lines over 80
On Mon, Feb 08, 2010 at 01:21:42PM -0600, Paulraj, Sandeep wrote:
I fixed all the checkpatch errors myself and pushed the entire series.
Thank you for your effort, I really appreciate it. However, the dark side
is that now it is pretty unobvious, what actually changed and that's
why incremental
From: Ladislav Michl la...@linux-mips.org
Limit line length to 80 characters mostly by removing obvious and sometimes
misleading comments. Fix indentation, too.
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
netstar.h | 65
From: Ladislav Michl la...@linux-mips.org
linking eeprom with libgeneric.a is not really needed and causes following
error:
../../lib_generic/libgeneric.a(string.o): In function `strcmp':
/home/ladis/src/u-boot-ti/lib_generic/string.c:152: multiple definition of
`strcmp'
../../examples
From: Ladislav Michl la...@linux-mips.org
Reindent configuration header to limit line lenght to 80 characters by
removing obvious and sometimes misleading comments.
Signed-off-by: Ladislav Michl la...@linux-mips.org
---
voiceblue.h | 164
Used NAND chips requires at least 4-bit error correction, so use BCH8
as it is what kernel uses.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
omap3_igep00x0.h | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/include/configs/omap3_igep
drivers/mtd/ubi/io.c:1354:3: error: 'dump_len' undeclared (first use in
this function)
dump_len = max_t(int, 128, len - i);
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
drivers/mtd/ubi/io.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/ubi/io.c b/drivers/m
On Mon, Jan 04, 2016 at 07:38:23PM +0100, Ladislav Michl wrote:
> On Mon, Jan 04, 2016 at 12:23:36PM -0600, Scott Wood wrote:
> > On Mon, 2016-01-04 at 16:54 +0100, Ladislav Michl wrote:
> > > From: Thomas Gleixner <t...@linutronix.de>
> > >
> > > To supp
On Mon, Jan 04, 2016 at 12:23:36PM -0600, Scott Wood wrote:
> On Mon, 2016-01-04 at 16:54 +0100, Ladislav Michl wrote:
> > From: Thomas Gleixner <t...@linutronix.de>
> >
> > To support UBI in SPL we need a simple flash read function. Add one to
> > nand_spl_simple
This is an update of Thomas's patchset:
https://patchwork.ozlabs.org/patch/367305/
https://patchwork.ozlabs.org/patch/367306/
Changes from previous version:
- fixes ubi_calc_fm_size to include also sizeof(struct ubi_fm_sb)
- dropped private copy of ubi-media.h
- ubi-wrapper.h now contains
From: Thomas Gleixner
To support UBI in SPL we need a simple flash read function. Add one to
nand_spl_simple and keep it as simple as it goes.
Signed-off-by: Thomas Gleixner
---
drivers/mtd/nand/nand_spl_simple.c | 64
people can play with that. Thanks to Marek
Vasut for pointing me to Thomas' work and arguing so well towards UBI
that I had no other choice than giving it a try.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
board/isee/igep00x0/igep00x0.c| 48 +
On Mon, Jan 04, 2016 at 10:30:03AM +0100, Heiko Schocher wrote:
> Am 30.12.2015 um 03:12 schrieb Ladislav Michl:
> >From: Thomas Gleixner <t...@linutronix.de>
> >
> >This is an update of Thomas's patch:
> >https://patchwork.ozlabs.org/patch/367306/
> >
- move chip reset to separate function
- use CONFIG_SMC911X_BASE instead of hardcoded value
- remove unneeded local variable from board_eth_init.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
board/isee/igep00x0/igep00x0.c | 33 +++--
1 file chang
This patch serie was created as a side product while working on
UBIizing NAND flash space to improve system reliability.
It is safe to apply for current release to start with clean
land for adding new features.
Ladislav Michl (4):
igep00x0: Cleanup ethernet support
igep00x0: Do not include
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
include/configs/omap3_igep00x0.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
index bd1c038..5da6cfd 100644
--- a/include/configs/omap3_igep00x0.h
+++ b/i
Hi Enric Balletbo,
On Wed, Dec 30, 2015 at 10:34:28PM +0100, Enric Balletbo Serra wrote:
[indentation changes snipped]
> again, any reason for this change?
I'm sure you know there is no other reason, but to indent constants to the
same column with others. I did that in one patch as it is also
File is already included:
omap3_igep00x0.h -> ti_omap3_common.h -> ti_armv7_omap.h ->
ti_armv7_common.h -> config_distro_defaults.h
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
include/configs/omap3_igep00x0.h | 2 --
1 file changed, 2 deletions(-)
diff --git
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
include/configs/omap3_igep00x0.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
index 16775e2..bd1c038 100644
--- a/include/c
Hi,
I cannot work on ubispl till next week, so just one quick additional patch
before v3 in case anyone wants to give it a try.
Move vol_id check to ubi_scan_vid_hdr to verify it has meaningfull value
before testing ubi->toload (in my case 0x7FFFEFFF was read causing test_bit
hang)
ladis
Move chip reset to separate function, use CONFIG_SMC911X_BASE instead
of hardcoded value, remove unneeded local variable from board_eth_init.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
board/isee/igep00x0/igep00x0.c | 33 +++--
1 file chang
e also sizeof(struct ubi_fm_sb)
- dropped private copy of ubi-media.h
- accomodate for actual Makefile
As original patch is more that a year old, should we update to current
linux fastmap code?
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Signed-off-by: Ladislav Michl <la...
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
drivers/mtd/ubi/io.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c
index d1bdec3..0be9c5a 100644
--- a/drivers/mtd/ubi/io.c
+++ b/drivers/mtd/ubi/io.c
@@ -1351,7 +1351,6 @@ stat
File is already included:
omap3_igep00x0.h -> ti_omap3_common.h -> ti_armv7_omap.h ->
ti_armv7_common.h -> config_distro_defaults.h
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
include/configs/omap3_igep00x0.h | 10 +++---
1 file changed, 3 insertions(+), 7
Symbol is already defined in ti_armv7_common.h which is included
via ti_armv7_omap.h
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
include/configs/ti_omap3_common.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/ti_omap3_common.h
b/include/c
This patch converts IGEP board to use UBI volumes for environment, u-boot,
kernel... With exception of first four sectors with SPL loaded by SoC boot
ROM whole NAND is UBI managed. I misused BOOT_DEVICE_BOARD, which is probably
not briliant idea, but works well enough. Also code it too big, so I
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
arch/arm/cpu/armv7/omap-common/utils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/armv7/omap-common/utils.c
b/arch/arm/cpu/armv7/omap-common/utils.c
index 602d993..52ea734 100644
--- a/arch/a
On Mon, Jan 04, 2016 at 06:19:06PM +0100, Marek Vasut wrote:
> On Monday, January 04, 2016 at 04:54:42 PM, Ladislav Michl wrote:
> > From: Thomas Gleixner <t...@linutronix.de>
> >
> > To support UBI in SPL we need a simple flash read function. Add one to
> > nand
share the fastmap code, as UBISPL only utilizes the
slightly modified functions ubi_attach_fastmap() and ubi_scan_fastmap()
from the original kernel ubi fastmap implementation.
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Signed-off-by: Ladislav Michl <la...@linux-mips.o
Hi Heiko,
On Tue, Jan 12, 2016 at 10:08:21AM +0100, Heiko Schocher wrote:
> Am 11.01.2016 um 13:58 schrieb Ladislav Michl:
> >On Mon, Jan 11, 2016 at 07:20:06AM +0100, Heiko Schocher wrote:
> >>Beside of that, this patch does not apply ...
> >
> >Ah, igep00x0 part is
Hi Heiko,
just one more thing I forgot to mention...
On Tue, Jan 12, 2016 at 10:08:21AM +0100, Heiko Schocher wrote:
> Am 11.01.2016 um 13:58 schrieb Ladislav Michl:
[...]
> >All that ubispl_info structure is board specific and there is not much left
> >besides initializing it. A
Hi Enric and all,
On Mon, Jan 25, 2016 at 04:56:51PM +0100, Ladislav Michl wrote:
> Hi Enric,
>
> On Mon, Jan 25, 2016 at 08:26:23AM +0100, Enric Balletbo Serra wrote:
> > The ROM boot on OMAP reads the first 4 blocks searching for the SPL,
> > in production is a practice
On Sun, Jun 05, 2016 at 07:58:46PM +0200, Michal Suchanek wrote:
> Hello,
>
> On 5 June 2016 at 19:43, Ladislav Michl <la...@linux-mips.org> wrote:
> > Some CPUs contains boot ROM code capable reading first few blocks
> > (where SPL resides) of NAND flash a
Greetings,
this patch serie is a by-product of UBI SPL patchset, see
http://lists.denx.de/pipermail/u-boot/2016-January/242962.html (and earlier)
First three patches are just bugfixes. With fourth one, controversy
starts, but here can be easily overcome by a config option for a boards
wanting to
-off-by: Ladislav Michl <la...@linux-mips.org>
---
cmd/mtdparts.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
index 3a88a10..995cb87 100644
--- a/cmd/mtdparts.c
+++ b/cmd/mtdparts.c
@@ -1524,7 +1524,7 @@ stat
A private buffer is used to read mtdparts variable from non-relocated
environment. A pointer to that buffer is returned unconditionally,
confusing later test for variable presence in the environment.
Fix it by returning NULL when getenv_f fails.
Signed-off-by: Ladislav Michl <la...@linux-mips.
block size. This patch adds support
for the latter option.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
cmd/mtdparts.c | 22 ++
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
index 53074a1..71c7acb 100644
---
unless explicitely deleted or
redefined.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
cmd/mtdparts.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
index 7860ed9..53074a1 100644
--- a/cmd/mtdparts.c
+++
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
cmd/mtdparts.c | 42 --
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
index 995cb87..7860ed9 100644
--- a/cmd/mtdparts.c
+++ b/cmd/mtdp
Just a sample implementation. Eventually become part of of UBI SPL
patch series.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
board/isee/igep00x0/igep00x0.c | 16
include/configs/omap3_igep00x0.h | 1 +
2 files changed, 17 insertions(+)
diff --git a/boar
On Mon, Jun 06, 2016 at 09:08:47AM +0200, Michal Suchanek wrote:
> On 5 June 2016 at 20:23, Ladislav Michl <la...@linux-mips.org> wrote:
> > On Sun, Jun 05, 2016 at 07:58:46PM +0200, Michal Suchanek wrote:
> >> There is similar problem on sunxi.
> >>
> >>
On Tue, Jun 07, 2016 at 09:43:20AM +0200, Michal Suchanek wrote:
> On 6 June 2016 at 23:21, Ladislav Michl <la...@linux-mips.org> wrote:
> > On Mon, Jun 06, 2016 at 08:50:55PM +0200, Michal Suchanek wrote:
> > Linux already depends on U-Boot as U-Boot feeds Linu
On Mon, Jun 06, 2016 at 08:50:55PM +0200, Michal Suchanek wrote:
> On 6 June 2016 at 09:48, Ladislav Michl <la...@linux-mips.org> wrote:
[snip]
> > Okay, specifing size in therms of eraseblock would solve my problem
> > and I have to admit I'm not aware such a thin
On Sun, Jun 12, 2016 at 02:19:50PM -0700, Sergey Kubushyn wrote:
> OK, it is broken in last commit. Totally broken.
>
> I can NOT get my custom board to stop at all. "CONFIG_BOOTDELAY=3" added
> to my board defconfig doesn't change anything. Even changing default to
> 3 from 0 in common/Kconfig
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
diff --git a/arch/arm/cpu/armv7/omap-common/utils.c
b/arch/arm/cpu/armv7/omap-common/utils.c
index 52ea734..2d03ebf 100644
--- a/arch/arm/cpu/armv7/omap-common/utils.c
+++ b/arch/arm/cpu/armv7/omap-common/utils.c
@@ -108,6 +108,6 @
Hi Stefano,
On Wed, Jun 15, 2016 at 12:14:21PM +0200, Stefano Babic wrote:
> Hi Sergey,
>
>
> On 14/06/2016 20:32, Sergey Kubushyn wrote:
> > Here is the initial support for writing i.MX6 NAND U-Boot into NAND
> > with all FCB and DBBT stuff as required.
> >
>
> This is a very interesting
to be a safe timeout.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
arch/arm/cpu/armv7/omap3/spl_id_nand.c | 32 +
arch/arm/include/asm/arch-omap3/sys_proto.h | 2 +-
2 files changed, 15 insertions(+), 19 deletions(-)
diff --git a/arch/arm/cpu/armv7
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
arch/arm/cpu/armv7/omap-common/mem-common.c | 8 +++-
arch/arm/include/asm/arch-omap3/sys_proto.h | 4 ++--
include/linux/mtd/omap_gpmc.h | 2 +-
3 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/arch/a
Hi there!
currently it is not possible to build single working OMAP3 binary which
enables more than one of these:
CONFIG_NOR
CONFIG_NAND
CONFIG_CMD_ONENAND
first problem lies in gpmc_init which configures CS[0] to one flash type
determined at compile time. Another is that identify_nand_chip hang
Add timeout to onenand_wait ready loop as it hangs here indefinitely
when chip not present. Once there, do the same for onenand_bbt_wait
as well (note: recent Linux driver code does the same)
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
drivers/mtd/onenand/onenand_base.
1 - 100 of 244 matches
Mail list logo