We are still keeping crc16.c file in fs/ext4 because the lib/crc16.c file (
Poly - x^16 + x^12 + x^5 + 1)
is not compatible with Linux kernel crc implementation (Poly - x^16 + x^15 +
x^2 + 1). Also, fs/ubifs/crc16.c
is also giving some errors. Kernel does not mount the partition if we use this
Dear minkyu Kang
On 23 December 2011 11:21, Chander Kashyap chander.kash...@linaro.org wrote:
Dear Minkyu Kang,
On 23 December 2011 09:51, Minkyu Kang proms...@gmail.com wrote:
Dear Chander Kashyap,
On 22 December 2011 19:52, Chander Kashyap chander.kash...@linaro.org
wrote:
SMDK5250
From: Uma Shankar uma.shan...@samsung.com
***
This patch series adds support for ext4 ls,load and write features in uboot
Journaling is supported for write feature.
To Enable ext4 ls and load commands, modify the board specific config file with
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_EXT4
To
IFC NAND Machine calculates ECC on 512byte sector. Same is taken care in
fsl_ifc_run_command() while ECC status verification. Here buffer number is
calculated assuming 512byte sector and same is passed to is_blank.
However in is_blank() buffer address is calculated using mdt-writesize which is
1) OOB area should be updated irrespective of NAND page size. Earlier it was
updated only for 512byte NAND page.
2) During OOB update fbcr should be equal to OOB size.
Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com
Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com
---
Based
This series creates a generic board.c implementation which contains
the essential functions of the various arch/xxx/lib/board.c files.
What is the motivation for this change?
1. There is a lot of repeated code in the board.c files. Any change to
things like setting up the baud rate requires a
Signed-off-by: Simon Glass s...@chromium.org
---
include/initcall.h | 25 +
lib/Makefile |1 +
lib/initcall.c | 41 +
3 files changed, 67 insertions(+), 0 deletions(-)
create mode 100644 include/initcall.h
create
We want to be able to call relocations functions from our new board code,
so make them global and add to the header.
Signed-off-by: Simon Glass s...@chromium.org
---
common/reloc.c | 29 ++---
include/reloc.h | 16
2 files changed, 42 insertions(+),
We are introducing a new unified board setup and we want this to
be the default. So we need to opt all architectures out first.
Signed-off-by: Simon Glass s...@chromium.org
---
README|5 +
arch/arm/config.mk|3 +++
arch/avr32/config.mk |3 +++
These are needed for generic relocation to function correctly.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/x86/include/asm/reloc.h | 32
arch/x86/lib/Makefile|1 +
arch/x86/lib/proc.S | 67 ++
3 files
We want to unify the global_data structure. Most fields are common across
architectures, but there are a fair number of SOC-specific additions. It
isn't clear how best to deal with these, but for now we just use #ifdef.
Checkpatch warnings here might be unavoidable:
warning:
Signed-off-by: Simon Glass s...@chromium.org
---
common/board_f.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index f9eb4ca..06317ed 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -277,6 +277,7 @@
This file handles common post-relocation init for boards which use
the generic framework.
Signed-off-by: Simon Glass s...@chromium.org
---
board/freescale/p2020come/Makefile |4 +
common/Makefile|6 +-
common/board_r.c | 382
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/config.mk |3 ---
arch/arm/include/asm/global_data.h |8
arch/arm/lib/Makefile |2 ++
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
Removes 'set but not used' warning.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/x86/cpu/sc520/sc520_timer.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/cpu/sc520/sc520_timer.c b/arch/x86/cpu/sc520/sc520_timer.c
index 495a694..7f812dc 100644
---
Link symbols as created by the link script can either be absolute or
relative to the text start. This option switches between the two options
so that we can support both.
As we convert architectures over to generic board, we can see if this
option is actually needed, or whether it is possible to
Now that x86 uses generic board, this code is not needed.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/x86/include/asm/global_data.h | 61 -
arch/x86/lib/Makefile |2 -
arch/x86/lib/board.c | 453 +---
3 files
These two fields are needed for x86.
Signed-off-by: Simon Glass s...@chromium.org
---
include/asm-generic/global_data.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/asm-generic/global_data.h
b/include/asm-generic/global_data.h
index 16fee5a..99750a8 100644
Signed-off-by: Simon Glass s...@chromium.org
---
arch/x86/config.mk |6 --
arch/x86/include/asm/global_data.h |6 ++
arch/x86/lib/Makefile |2 ++
common/board_r.c |3 +++
4 files changed, 11 insertions(+), 6 deletions(-)
diff
Now that ARM uses the generic board, we don't need this code.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/include/asm/global_data.h | 81 -
arch/arm/lib/Makefile |2 -
arch/arm/lib/board.c | 622 +---
3 files
Include some symbols used by x86 and other architectures, then move x86
over to using this header file.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/include/asm/u-boot-arm.h |4
arch/x86/include/asm/u-boot-x86.h |8
arch/x86/lib/board.c |1 +
These are available on other architecures, so add them on x86.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/x86/include/asm/io.h |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index 9b757d4..b12bdd8
We can use the declarations of __bss_start and _end from this header
instead of declaring them locally.
Signed-off-by: Simon Glass s...@chromium.org
---
examples/standalone/stubs.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/examples/standalone/stubs.c
This avoids a compiler warning about unused variables.
Signed-off-by: Simon Glass s...@chromium.org
---
board/eNET/eNET.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c
index 429fe1b..2f26470 100644
--- a/board/eNET/eNET.c
+++
This file handles common pre-relocation init for boards which use
the generic framework.
It starts up the console, DRAM, performs relocation and then jumps
to post-relocation init.
Signed-off-by: Simon Glass s...@chromium.org
---
board/freescale/p2020come/Makefile |2 +
common/Makefile
1) OOB area should be updated irrespective of NAND page size. Earlier it
was updated only for 512byte NAND page.
2) During OOB update fbcr should be equal to OOB size.
Cool, does the IFC driver have any relationship with the linux one? Is this
patch pulled from Linux or is this
IFC NAND Machine calculates ECC on 512byte sector. Same is taken care in
fsl_ifc_run_command() while ECC status verification. Here buffer number is
calculated assuming 512byte sector and same is passed to is_blank.
However in is_blank() buffer address is calculated using mdt-writesize
which
Hi Stefan
Thanks for your patch, I will provide feedback in next week.
Regards..
Prafulla . . .
-Original Message-
From: Stefan Herbrechtsmeier [mailto:ste...@code.herbrechtsmeier.net]
Sent: 23 December 2011 22:05
To: u-boot@lists.denx.de
Cc: Stefan Herbrechtsmeier; Prafulla
IFC NAND Machine calculates ECC on 512byte sector. Same is taken care
in
fsl_ifc_run_command() while ECC status verification. Here buffer
number is calculated assuming 512byte sector and same is passed to
is_blank.
However in is_blank() buffer address is calculated using
29 matches
Mail list logo