Hi,
Is existing a way to globally disable some features such as ethernet
or Nand support, instead of doing it for a specific board?
Other than recompiling, is it possible to disable Ethernet through
environment settings? At our
work, we often need Ethernet only during development,
Wolfgang Denk wrote:
Why would compiled in Network support slow down the boot process?
The network interface will only be initialized as soon as you use it.
If you don't have one, then you probably will not try using it - then
why would it delay your boot?
When we have the Network support
Wolfgang Denk wrote:
Dear Derek Ou,
In message 49fa1279.5080...@siconix.com you wrote:
When we have the Network support compiled, it takes a few second to do
the auto-negotiation
That should be part of the network init sequence, which should only be
run when you run a network
Hi, Ben,
Ben Warren wrote:
Do you have CONFIG_RESET_PHY_R defined? It forces a call to eth_init(),
which most likely causes the delay you're seeing. Try commenting it out
in your config file.
Yes, CONFIG_RESET_PHY_R is defined by default. And I can see it linking to
the eth_init and then
Dear Jesus Alvarez
The AT91 Linux kernel patches for versions 2.6.27 or later use a separate
atmel_nand.c driver that implements some OOB and ECC options that are not
exactly the same as those in the standard kernel NAND driver (nand_base.c ,
etc.). AT91 based boards can use the
Signed-off-by: Derek Ou d...@siconix.com
---
drivers/mtd/nand/nand_util.c | 25 ++---
1 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c
index 6ba52b3..b9d292a 100644
--- a/drivers/mtd/nand/nand_util.c
and nand write.jffs2 add_# off_# $(filesize)
But in the later releases, this feature was no longer supported. So my
patch restores this feature to nand write command.
Derek
Mike Frysinger wrote:
On Tuesday 17 February 2009 12:15:06 Derek Ou wrote:
Signed-off-by: Derek Ou d...@siconix.com
+ length)
and Flash offset
(off + length).
Derek
Scott Wood wrote:
On Tue, Feb 17, 2009 at 10:15:07AM -0700, Derek Ou wrote:
+/* now, pad data with 0xff */
+if (page_offset != 0)
+memset(buffer + *length, 0xff, pad_len);
You cannot write to the caller's buffer
Currently, the nand_util.c does not manipulate NAND flash page by page.
It's the nand_base.c provides that level of NAND control.
Implementing this properly requires changes to the existing structure.
Also, adding +length syntax means command interface change as well.
Since it's not to the
I have a few issues/questions regarding the NAND commands in the latest
git main tree.
1) The nand_util.c does not have WATCHDOG_RESET() in the
nand_read_skip_bad() and nand_write_skip_bad() while the original
nand_write_opts() and nand_read_opts() do. Is there a special reason
this is
Our company uses svn for the source code management but I use git
locally to track
my development. When I build U-boot, it always complains about fatal:
cannot
describe the SHA1 # of HEAD. It goes back to line 16 of
tools/setlocalversion.
I know that the error will go away when I tag my git
You can use U-boot to write the file to NAND as well. The address does
not matter as long
as your bootcmd is reading the kernel from the same address.
Please check your U-boot environment settings and your nand dump of the
NAND location
(0x20). If you want to get help, post those
In the lcd_putc() of common/lcd.c, line 189 handles tab '\t'. And the
following lines:
console_col |= 8;
console_col = ~7;
seems to have problems. If console_col is 9, it will become 8 after the
above two lines, which means instead of tab of 8 spaces, it goes back
1.
Is this a catch 22? If console is initialized after loading environment
variables, this
means NAND (or other memories) driver are loaded before console being
available
and there is no console output to debug NAND driver initialization. If
console is
initialized before loading NAND driver,
NAND jffs2 bug fix - sector size not initialized.
Signed-off-by: Derek Ou d...@siconix.com
---
common/cmd_jffs2.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index 7866c80..f6966f3 100644
--- a/common/cmd_jffs2.c
+++ b/common
and paste but
thunderbird convert all the
tabs into spaces. I ended up using copy and paste and webmail interface
to send out another
patch. But I will love to hear a better way of doing it.
Thanks,
Derek
Wolfgang Denk wrote:
Dear Derek Ou,
In message 49515bd6.9030...@siconix.com you wrote
Dear all,
What is the use of nand erase clean? According to the source code, it
erases the NAND block and also writes the jffs2 cleanmarker to OOB
session. Is this necessary to write a jffs2 file system?
I didn't run into any Linux file system problem when I erased a NAND
partitaion without
Hi,
I think bad blocks are less likely to happen near the first block, which
is guaranteed to be good. It may be possible to find NAND chip that
guarantee more blocks but I have not encountered one myself.
U-boot has the code to skip bad block when reading environment. As
Sylvain said, you
Hi, all,
In the common/env_nand.c, function env_relocate_spec (for
CONFIG_ENV_OFFSET_REDUND) malloc two memory areas in line 296 and 297.
If it hits line 308 when both environment areas not found, it will
return without freeing the two memory areas. Is this a bug or I am
missing something?
Hi, all,
I am having problem loading jffs2 from NAND with the latest code. After
some research, I am getting confused regarding the two files
jffs2_1pass.c and jffs2_nand_1pass.c. Some post suggested
jffs2_nand_1pass.c to replace jffs2_1pass.c for jffs2_NAND. The git
history
Hi, all,
When I tested jffs2 command for NAND, I found that jffs2_1pass.c::
jffs2_1pass_build_lists() fails at
u32 nr_sectors = part-size/part-sector_size;
because part-sector_size is zero. And cause the ### ERROR ### Please
RESET the board ### error when entering the for loop (i
Dear all,
I just enabled CMD_JFFS2 and JFFS2_NAND in the uboot 1.3.4 for my
at91sam9263 based board. In general, it works in loading the jffs2
file system and loading files from it. However, it takes almost an hour
to scan the jffs2 partition, which is 512 MiB. Is it because of the
size
22 matches
Mail list logo