Re: [U-Boot] U-Boot and UBI

2008-08-12 Thread Kyungmin Park
Hi, On Tue, Aug 12, 2008 at 8:11 PM, Stefan Roese [EMAIL PROTECTED] wrote: On Tuesday 12 August 2008, Kyungmin Park wrote: On Monday 11 August 2008, Kyungmin Park wrote: Actually the Samsung implemented the UBI support on U-boot already and has used it internally. The big difference

[U-Boot] [PATCH] Fix OneNAND read_oob/write_oob functions compatability (take #2)

2008-08-18 Thread Kyungmin Park
Also sync with kernel OneNAND codes with adrian contribution credits Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c index 5e2062b..8d87b78 100644 --- a/common/cmd_onenand.c +++ b/common/cmd_onenand.c @@ -85,15 +85,25 @@ int do_onenand

[U-Boot] [PATCH] JFFS2 command support on OneNAND

2008-08-26 Thread Kyungmin Park
JFFS2 command support on OneNAND Signed-off-by: Kyungmin Park [EMAIL PROTECTED] diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c index c031d80..c6920c9 100644 --- a/common/cmd_jffs2.c +++ b/common/cmd_jffs2.c @@ -51,7 +51,7 @@ * mtdids=idmap[,idmap,...] * * idmap:= dev-id=mtd-id

[U-Boot] [PATCH] Add MTD core partition

2008-08-29 Thread Kyungmin Park
It's preparation for UBI codes. UBI uses partition and get put mtd devices Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 6538f7a..d225a68 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -25,6 +25,7 @@ include

Re: [U-Boot] [PATCH] Flex-OneNAND driver

2008-09-25 Thread Kyungmin Park
Hi, In u-boot, I only comment the u-boot part only. others are same at mtd mailing list. generally looks good to me. except minor ones. Thank you, Kyungmin Park --- a/common/cmd_onenand.c +++ b/common/cmd_onenand.c @@ -20,9 +20,64 @@ extern struct mtd_info onenand_mtd; extern struct

[U-Boot] [PATCH] Red Black Tree support

2008-10-05 Thread Kyungmin Park
RB-tree support on U-Boot Now it's used at UBI module. Of course other modules can use it. Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h new file mode 100644 index 000..a4956c4 --- /dev/null +++ b/include/linux/rbtree.h

[U-Boot] [PATCH] Use correct kzalloc

2008-10-05 Thread Kyungmin Park
I'm not sure calloc returns all zero values. Actually the calloc uses the __libc_alloc. Instead of ambiguity, it uses the correct kzalloc. Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/include/linux/mtd/compat.h b/include/linux/mtd/compat.h index 9036b74..840de4c 100644

Re: [U-Boot] [PATCH] Red Black Tree support

2008-10-07 Thread Kyungmin Park
On Mon, Oct 6, 2008 at 4:26 PM, Wolfgang Denk [EMAIL PROTECTED] wrote: Dear Kyungmin Park, In message [EMAIL PROTECTED] you wrote: RB-tree support on U-Boot Now it's used at UBI module. Of course other modules can use it. ... I understand the code is a verbatim copy from the LInux kernel

[U-Boot] [PATCH] Red Black Tree support v2

2008-10-07 Thread Kyungmin Park
RB-tree support on U-Boot Now it's used at UBI module. Of course other modules can use it. If you want to use it, please define CONFIG_RBTREE Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h new file mode 100644 index 000

Re: [U-Boot] [UBI] git pull request

2008-10-21 Thread Kyungmin Park
Dear all, On Tue, Oct 21, 2008 at 3:47 PM, Wolfgang Denk [EMAIL PROTECTED] wrote: Dear Kyungmin Park, In message [EMAIL PROTECTED] you wrote: Now you can use the latest UBI u-boot tree at http://git.denx.de/?p=u-boot/u-boot-ubi.git;a=summary Please use the git-request-pull command

[U-Boot] [PATCH] [UBI] UBI command support

2008-10-21 Thread Kyungmin Park
UBI command support Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- common/Makefile |1 + common/cmd_ubi.c | 535 ++ 2 files changed, 536 insertions(+), 0 deletions(-) create mode 100644 common/cmd_ubi.c diff --git a/common/Makefile

Re: [U-Boot] [UBI] git pull request

2008-10-21 Thread Kyungmin Park
=b7164bcf27dc8a738dab90b28920119c3270502c 3. http://git.denx.de/?p=u-boot/u-boot-ubi.git;a=commitdiff;h=5deff5b22c8b132d51e003bd3536d03376e6c33c Here's git-request-pull summary The following changes since commit 67ae3bde6711697fb6cd54beee725bbdacc984a5: Kyungmin Park (1): [UBI] Add

Re: [U-Boot] [PATCH] [ARM] Apollon UBI support

2008-10-21 Thread Kyungmin Park
. Fixed all commented except one. I run the checkpatch.pl and passed. And please do not hard-code network parameters into U-Boot. Then how to define the network IP at bootargs? please give some example? Thank you, Kyungmin Park ___ U-Boot mailing list U

Re: [U-Boot] [PATCH] [UBI] UBI command support

2008-10-21 Thread Kyungmin Park
Dear Wolfgang, On Tue, Oct 21, 2008 at 7:24 PM, Wolfgang Denk [EMAIL PROTECTED] wrote: Dear Kyungmin Park, In message [EMAIL PROTECTED] you wrote: UBI command support Signed-off-by: Kyungmin Park [EMAIL PROTECTED] ... +++ b/common/cmd_ubi.c @@ -0,0 +1,535 @@ +/* + * Unsorted Block

Re: [U-Boot] [PATCH] [UBI] Basic Unsorted Block Image (UBI) support (part 1)

2008-10-21 Thread Kyungmin Park
with kernel UBI code and they can use it more easily. They don't need to understand the UBI code at u-boot. Thank you, Kyungmin Park ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] [ARM] Move machine specific code to board at s3c64xx

2008-10-21 Thread Kyungmin Park
Move machine specific code to smdk6400. Some board use OneNAND instead of NAND. Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/board/samsung/smdk6400/lowlevel_init.S b/board/samsung/smdk6400/lowlevel_init.S index e0119a7..53d9125 100644 --- a/board/samsung/smdk6400

[U-Boot] [PATCH] [ARM] Apollon UBI support (take #2)

2008-10-22 Thread Kyungmin Park
Now you can use the UBI at apollon board Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/board/apollon/Makefile b/board/apollon/Makefile index 9bac9a6..4c3e57f 100644 --- a/board/apollon/Makefile +++ b/board/apollon/Makefile @@ -25,9 +25,11 @@ include $(TOPDIR)/config.mk LIB

[U-Boot] [PATCH] [UBI] UBI command support (take #2)

2008-10-22 Thread Kyungmin Park
It supports basic operation such as create, remove, read, and write. Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/common/Makefile b/common/Makefile index f00cbd9..b02a541 100644 --- a/common/Makefile +++ b/common/Makefile @@ -139,6 +139,7 @@ COBJS-$(CONFIG_CMD_SETEXPR

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Kyungmin Park
size limitation. Thank you, Kyungmin Park Regards, Simon board/samsung/smdk5250/mmc_boot.c | 58 +++ board/samsung/smdk5250/smdk5250.c | 125 + board/samsung/smdk5250/smdk5250_setup.h | 589 board/samsung/smdk5250/tools

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Kyungmin Park
, good job! Acked-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Lukasz Dalek luk0...@gmail.com Cc: Marek Vasut

Re: [U-Boot] [PATCH 2/2] SPL: ONENAND: Support SPL to boot u-boot from OneNAND.

2013-02-05 Thread Kyungmin Park
these. Thank you, Kyungmin Park + + debug(spl: onenand\n); + + /*use CONFIG_SYS_TEXT_BASE as temporary storage area */ + header = (struct image_header *)(CONFIG_SYS_TEXT_BASE); + /* Load u-boot */ + onenand_spl_load_image(CONFIG_SYS_ONENAND_U_BOOT_OFFS

Re: [U-Boot] [PATCH 3/4] EXYNOS: additional Exynos4 SoC series support

2012-08-28 Thread Kyungmin Park
EXYNOS4_GPIO_PART4_BASE DEVICE_NOT_AVAILABLE int exynos4_get_gpio_part4_base(void) { if (cpu_is_exynos4412()) return EXYNOS4412_GPIO_PART4_BASE; return EXYNOS4_GPIO_PART4_BASE; } Thank you, Kyungmin Park #define EXYNOS4_DP_BASE DEVICE_NOT_AVAILABLE /* EXYNOS5 */ diff

Re: [U-Boot] [PATCH] disk: generate GUID Partiton Tables

2012-08-09 Thread Kyungmin Park
On 8/10/12, Wolfgang Denk w...@denx.de wrote: Dear Donghwa Lee, In message 4fa08f0a.6040...@samsung.com you wrote: This patch manipulates GUID Papartition Tables. I send this patch on behalf of Gwuieon Jin. Signed-off-by: Gwuieon Jin ge@samsung.com Signed-off-by: Kyungmin Park

Re: [U-Boot] [PATCH 1/2] EXYNOS5: Add pinmux for VBus

2012-12-03 Thread Kyungmin Park
*/ + s5p_gpio_direction_output(gpio1-x2,6, 1); it seems to be board specific GPIO value. doesn't it? Thank you, Kyungmin Park +} + static int exynos5_pinmux_config(int peripheral, int flags) { switch (peripheral) { @@ -322,6 +330,8 @@ static int exynos5_pinmux_config(int peripheral

Re: [U-Boot] [PATCH 1/2] EXYNOS5: Add pinmux for VBus

2012-12-03 Thread Kyungmin Park
On Mon, Dec 3, 2012 at 10:38 PM, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi Kyungmin Park, On Mon, Dec 3, 2012 at 7:00 PM, Kyungmin Park kmp...@infradead.org wrote: On Mon, Dec 3, 2012 at 10:18 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch sets pinmux for VBus

Re: [U-Boot] [PATCH 2/2] EXYNOS5: Add gpio pin numbering feature

2012-12-12 Thread Kyungmin Park
., EXYNOS5250_*. Since only exynos5250 is mainlined at this time. Thank you, Kyungmin Park Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- arch/arm/cpu/armv7/exynos/pinmux.c | 148 + arch/arm/include/asm/arch

Re: [U-Boot] [PATCH 2/5] EXYNOS5: Add pinmux for LCD

2012-12-12 Thread Kyungmin Park
(gpio1-x0, 7, GPIO_FUNC(0x3)); It should be SMDK5250 specific codes, it can't located at common file. Thank you, Kyungmin Park +} + static int exynos5_pinmux_config(int peripheral, int flags) { switch (peripheral) { @@ -321,6 +338,9 @@ static int exynos5_pinmux_config(int peripheral

Re: [U-Boot] [PATCH V4 4/4] EXYNOS5: Add support for FIMD and DP

2012-12-21 Thread Kyungmin Park
); + + /* Set Hotplug detect for DP */ + s5p_gpio_cfg_pin(gpio1-x0, 7, GPIO_FUNC(0x3)); +} Cant this GPIO changes go to pinmux file? No it's smdk5250 specific. Other board has different GPIOs. Thank you, Kyungmin Park + +vidinfo_t panel_info = { + .vl_freq

Re: [U-Boot] [PATCH 1/4] SMDK5250: Convert lowlevel_init.S to lowlevel_init_c.c

2012-12-31 Thread Kyungmin Park
+ * + * @return 0 for a normal boot, non-zero for a resume + */ +int lowlevel_init_subsystems(void); do_lowlevle_init? Thank you, Kyungmin Park #endif diff --git a/board/samsung/smdk5250/spl_boot.c b/board/samsung/smdk5250/spl_boot.c index d8f3c1e..66bce5b 100644 --- a/board/samsung

Re: [U-Boot] [PATCH V3 1/9] FDT: Add compatible string for DWMMC

2012-12-31 Thread Kyungmin Park
, /* Exynos5 DWMMC controller */ You already know that exynos4 series also have DWMMC controller and it's strange to use this value at exynos4 series. so can you use 'SAMSUNG_EXYNOS_DWMMC'? Thank you, Kyungmin Park COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index

Re: [U-Boot] [PATCH 1/4] SMDK5250: Convert lowlevel_init.S to lowlevel_init_c.c

2013-01-01 Thread Kyungmin Park
Hi, On 1/2/13, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi Kyungmin Park, Thank you for comments. On Mon, Dec 31, 2012 at 6:02 PM, Kyungmin Park kmp...@infradead.org wrote: On Fri, Dec 28, 2012 at 9:08 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch converts

Re: [U-Boot] [PATCH 1/4] SMDK5250: Convert lowlevel_init.S to lowlevel_init_c.c

2013-01-01 Thread Kyungmin Park
On 1/2/13, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi Kyungmin Park, On Wed, Jan 2, 2013 at 11:48 AM, Kyungmin Park kmp...@infradead.org wrote: Hi, On 1/2/13, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi Kyungmin Park, Thank you for comments. On Mon, Dec 31, 2012

Re: [U-Boot] [PATCH] OneNAND: S5PC100 OneNAND IPL support

2009-07-23 Thread Kyungmin Park
On Fri, Jul 24, 2009 at 7:42 AM, Jean-Christophe PLAGNIOL-VILLARDplagn...@jcrosoft.com wrote: On 09:55 Tue 21 Jul     , Kyungmin Park wrote: S5PC100 has own OneNAND controller and has different interface. OneNAND IPL use it to S5PC100 board. Signed-off-by: Kyungmin Park kyungmin.p

Re: [U-Boot] ubi attaching error (UBI error: ubi_read_volume_table)

2009-07-24 Thread Kyungmin Park
0x20 # ubi part ubifs Thank you, Kyungmin Park On Thu, Jul 23, 2009 at 11:57 PM, naveen yadavyad.nav...@gmail.com wrote: Hi All, I am using flex-onenand for my u-boot. i have added the patch for flex-onenand and UBI and UBIFS published by kyungmin park. I have done following steps: 1

Re: [U-Boot] [PATCH] OneNAND: S5PC100 OneNAND IPL support

2009-07-27 Thread Kyungmin Park
On Tue, Jul 28, 2009 at 5:09 AM, Jean-Christophe PLAGNIOL-VILLARDplagn...@jcrosoft.com wrote: On 14:28 Fri 24 Jul     , Kyungmin Park wrote: On Fri, Jul 24, 2009 at 7:42 AM, Jean-Christophe PLAGNIOL-VILLARDplagn...@jcrosoft.com wrote: On 09:55 Tue 21 Jul     , Kyungmin Park wrote: S5PC100

Re: [U-Boot] [PATCH] OneNAND: S5PC100 OneNAND IPL support

2009-07-28 Thread Kyungmin Park
On Tue, Jul 28, 2009 at 10:42 PM, Jean-Christophe PLAGNIOL-VILLARDplagn...@jcrosoft.com wrote: On 07:58 Tue 28 Jul     , Kyungmin Park wrote: On Tue, Jul 28, 2009 at 5:09 AM, Jean-Christophe PLAGNIOL-VILLARDplagn...@jcrosoft.com wrote: On 14:28 Fri 24 Jul     , Kyungmin Park wrote: On Fri

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-31 Thread Kyungmin Park
in case of s5pc100. Thank you, Kyungmin Park ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] [OneNAND IPL] OneNAND board init support

2009-08-28 Thread Kyungmin Park
pagesize Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/onenand_ipl/onenand_boot.c b/onenand_ipl/onenand_boot.c index 63995ce..22baebb 100644 --- a/onenand_ipl/onenand_boot.c +++ b/onenand_ipl/onenand_boot.c @@ -24,7 +24,6 @@ */ #include common.h -#include version.h

[U-Boot] [PATCH] [OneNAND] Board can override OneNAND IPL image

2009-09-02 Thread Kyungmin Park
Some board use more then 2KiB OneNAND IPL. E.G., S5PC100 loads 16KiB OneNAND IPL diff --git a/Makefile b/Makefile index c9727f8..1af42ce 100644 --- a/Makefile +++ b/Makefile @@ -285,6 +285,7 @@ endif ifeq ($(CONFIG_ONENAND_U_BOOT),y) ONENAND_IPL = onenand_ipl U_BOOT_ONENAND =

Re: [U-Boot] [PATCH] arm_cortexa8: support cache flush to other soc

2009-09-04 Thread Kyungmin Park
board for s5pc100 s5pc110. He will be modify it. Thank you, Kyungmin Park ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm_cortexa8: support cache flush to other soc

2009-09-04 Thread Kyungmin Park
On Fri, Sep 4, 2009 at 7:45 PM, Dirk Behmedirk.be...@googlemail.com wrote: Kyungmin Park wrote: Hi, As he goes to home, I reply it instead. Nice weekend then :) On Fri, Sep 4, 2009 at 5:43 PM, Dirk Behmedirk.be...@googlemail.com wrote: Dear Minkyu Kang, Minkyu Kang wrote: Current

Re: [U-Boot] [PATCH 2/4] s5pc1xx: support onenand driver

2009-09-04 Thread Kyungmin Park
Hi, On Fri, Sep 4, 2009 at 7:44 PM, Wolfgang Denkw...@denx.de wrote: Dear Minkyu Kang, In message 4aa0ce3f.60...@samsung.com you wrote: This patch includes the onenand driver for s5pc1xx Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

Re: [U-Boot] RFC: split ARM repo and distribute workload

2009-09-06 Thread Kyungmin Park
internal security policy it's hard to use ssh on u-boot git. so we want to use u-boot-arm as base. Thank you, Kyungmin Park ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Flashing images bigger than ram

2009-09-15 Thread Kyungmin Park
the code. it's better to understand. Thank you, Kyungmin Park ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] [OneNAND] Board can override OneNAND IPL image

2009-09-18 Thread Kyungmin Park
On Sat, Sep 19, 2009 at 4:37 AM, Scott Wood scottw...@freescale.com wrote: On Wed, Sep 02, 2009 at 06:05:03PM +0900, Kyungmin Park wrote: Some board use more then 2KiB OneNAND IPL. E.G., S5PC100 loads 16KiB OneNAND IPL Why do we need a different image name based on how large the loader

Re: [U-Boot] [PATCH] [OneNAND IPL] OneNAND board init support

2009-09-18 Thread Kyungmin Park
On Sat, Sep 19, 2009 at 4:26 AM, Scott Wood scottw...@freescale.com wrote: On Sat, Aug 29, 2009 at 01:00:59PM +0900, Kyungmin Park wrote:  #define READ_INTERRUPT()                                                \ -     onenand_readw(THIS_ONENAND(ONENAND_REG_INTERRUPT

Re: [U-Boot] [PATCH] [OneNAND IPL] OneNAND board init support

2009-09-21 Thread Kyungmin Park
On Tue, Sep 22, 2009 at 1:15 AM, Scott Wood scottw...@freescale.com wrote: On Sat, Sep 19, 2009 at 10:32:30AM +0900, Kyungmin Park wrote: On Sat, Sep 19, 2009 at 4:26 AM, Scott Wood scottw...@freescale.com wrote: On Sat, Aug 29, 2009 at 01:00:59PM +0900, Kyungmin Park wrote:  #define

[U-Boot] [PATCH] [OneNAND IPL] Refactor OneNAND IPL code

2009-09-21 Thread Kyungmin Park
Refactoring the OneNAND IPL code and some minor fixed: - Remove unnecessary header file - Fix wrong access at read interrupt - The recent OneNAND has 4KiB pagesize Also Board can override OneNAND IPL image Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com diff --git a/Makefile b/Makefile

[U-Boot] How to use the NEON instruction at u-boot?

2010-11-10 Thread Kyungmin Park
vld4.8 {d0[0], d1[0], d2[0], d3[0]}, [r1]! vst4.8 {d0[0], d1[0], d2[0], d3[0]}, [r0, :32]! 1: bcc 2f Thank you, Kyungmin Park ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] How to use the NEON instruction at u-boot?

2010-11-11 Thread Kyungmin Park
2010/11/11 Måns Rullgård m...@mansr.com: Kyungmin Park kmp...@infradead.org writes: Hi, Now I'm trying to use the NEON instruction at u-boot. but it's failed and got the data abort. Are there any way to use the NEON instruction at u-boot? No, just like you can't use floating-point. I

Re: [U-Boot] How to use the NEON instruction at u-boot?

2010-11-11 Thread Kyungmin Park
On Thu, Nov 11, 2010 at 5:58 PM, V, Aneesh ane...@ti.com wrote: Hi Kyungmin Park, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Kyungmin Park Sent: Thursday, November 11, 2010 11:05 AM To: u-boot@lists.denx.de Cc: Minkyu

Re: [U-Boot] apollon: Fix a OBJCFLAGS typo

2009-06-10 Thread Kyungmin Park
Acked-by: Kyungmin Park kyungmin.p...@samsung.com -Original Message- From: Shinya Kuribayashi [mailto:skuri...@ruby.dti.ne.jp] Sent: Sunday, June 07, 2009 9:45 PM To: kyungmin.p...@samsung.com Cc: u-boot@lists.denx.de Subject: apollon: Fix a OBJCFLAGS typo Signed-off-by: Shinya

Re: [U-Boot] [PATCH 5/6] S5PC100: MTD: change env_address type

2009-06-25 Thread Kyungmin Park
the accurate value of env_addr. Signed-off-by: HeungJun, Kim riverful@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/6] S5PC100: onenand driver for SMDKC100 support

2009-06-27 Thread Kyungmin Park
NAKed this patch. next time Mr Kim will post the new OneNAND drivers Thank you, Kyungmin Park I don't understand OneNAND very well (and google doesn't turn up much but marketing), which makes including it under the same custodianship as NAND somewhat awkward. :-( diff --git a/drivers/mtd/onenand

[U-Boot] [PATCH] MTD: OneNAND: Increase the environment size to 4KiB

2009-07-11 Thread Kyungmin Park
Also use mtd operatoin instead of onenand functions Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/common/env_onenand.c b/common/env_onenand.c index 48089a9..476fdbc 100644 --- a/common/env_onenand.c +++ b/common/env_onenand.c @@ -1,5 +1,5 @@ /* - * (C) Copyright 2005

[U-Boot] [PATCH] OneNAND IPL: Move u-boot-onenand linker script to common use

2009-07-11 Thread Kyungmin Park
Use the common OneNAND linker script. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/onenand_ipl/board/apollon/u-boot.onenand.lds b/onenand_ipl/u-boot-onenand.lds similarity index 100% rename from onenand_ipl/board/apollon/u-boot.onenand.lds rename to onenand_ipl/u-boot

[U-Boot] [PATCH] Apollon board use common OneNAND IPL linker

2009-07-11 Thread Kyungmin Park
Use common OneNAND IPL linker script. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/onenand_ipl/board/apollon/Makefile b/onenand_ipl/board/apollon/Makefile index 49a8e90..f0744f6 100644 --- a/onenand_ipl/board/apollon/Makefile +++ b/onenand_ipl/board/apollon/Makefile

Re: [U-Boot] [PATCH] OneNAND IPL: Move u-boot-onenand linker script to common use

2009-07-12 Thread Kyungmin Park
Hi, On Sun, Jul 12, 2009 at 9:58 PM, Jean-Christophe PLAGNIOL-VILLARDplagn...@jcrosoft.com wrote: On 17:10 Sat 11 Jul     , Kyungmin Park wrote: Use the common OneNAND linker script. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/onenand_ipl/board/apollon/u

[U-Boot] [PATCH] [OneNAND] Fix compiler warnings after loff_t change

2009-07-19 Thread Kyungmin Park
Now 'env_addr' type is loff_t so use correct field type. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/common/env_onenand.c b/common/env_onenand.c index 476fdbc..dcf09de 100644 --- a/common/env_onenand.c +++ b/common/env_onenand.c @@ -101,7 +101,7 @@ int saveenv(void

Re: [U-Boot] env_onenand compiler warning

2009-07-19 Thread Kyungmin Park
Hi, Thank you for pointing compiler warning. I post the patch. Thank you, Kyungmin Park On Sun, Jul 19, 2009 at 3:47 PM, Dirk Behmedirk.be...@googlemail.com wrote: Testing recent mainline git head for omap3_evm_config I get compiler warning env_onenand.c: In function 'saveenv

Re: [U-Boot] [PATCH] ARM Cortex A8: Move OMAP3 specific reset handler

2009-07-19 Thread Kyungmin Park
Hi, It's already discussed. Actually it's required for adding new S5PC1xx series based on arm cortext8. Please apply it. Thank you, Kyungmin Park On Mon, Jul 20, 2009 at 11:40 AM, Minkyu Kangmk7.k...@samsung.com wrote: Because of the reset_cpu is soc specific, should be move to soc Cc: Dirk

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-19 Thread Kyungmin Park
= ONENAND_PAGES_PER_BLOCK * pagesize;       nblocks = (CONFIG_SYS_MONITOR_LEN + erasesize - 1) erase_shift; +#ifdef CONFIG_S5PC1XX +     nblocks = 1; +#endif Again: why do we need such board specific code here? It should be fixed. Thank you, Kyungmin Park ___ U-Boot

Re: [U-Boot] [PATCH] OneNAND IPL: Move u-boot-onenand linker script to common use

2009-07-20 Thread Kyungmin Park
Hi, On Sun, Jul 12, 2009 at 9:58 PM, Jean-Christophe PLAGNIOL-VILLARDplagn...@jcrosoft.com wrote: On 17:10 Sat 11 Jul     , Kyungmin Park wrote: Use the common OneNAND linker script. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/onenand_ipl/board/apollon/u

[U-Boot] [PATCH] OneNAND: S5PC100 OneNAND IPL support

2009-07-20 Thread Kyungmin Park
S5PC100 has own OneNAND controller and has different interface. OneNAND IPL use it to S5PC100 board. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/onenand_ipl/onenand_ipl.h b/onenand_ipl/onenand_ipl.h index 412572a..b43ddfb 100644 --- a/onenand_ipl/onenand_ipl.h +++ b

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-20 Thread Kyungmin Park
On Tue, Jul 21, 2009 at 6:18 AM, Wolfgang Denkw...@denx.de wrote: Dear Kyungmin Park, In message 9c9fda240907192016i32c7312dh490629f2f2bb3...@mail.gmail.com you wrote:  /* read a page with ECC */  static inline int onenand_read_page(ulong block, ulong page

[U-Boot] [PATCH] OneNAND: Remove unused read_spareram

2009-07-20 Thread Kyungmin Park
Remove unused read_spareram and add unlock_all as kernel does Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index d482437..368fa6e 100644 --- a/drivers/mtd/onenand/onenand_base.c +++ b/drivers/mtd

[U-Boot] [PATCH] OneNAND: Runtime badblock support

2009-07-21 Thread Kyungmin Park
At bootloader, we don't need to read full page. It takes too long time. Instead it only read pages required for boot. Of course, this patch reduces the boot time Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand

Re: [U-Boot] [PATCH] OneNAND: Runtime badblock support

2009-07-21 Thread Kyungmin Park
Hi, On Tue, Jul 21, 2009 at 7:50 PM, Wolfgang Denkw...@denx.de wrote: Dear Kyungmin Park, In message 20090721095528.ga23...@july you wrote: At bootloader, we don't need to read full page. It takes too long time. Instead it only read pages required for boot. Of course, this patch reduces

Re: [U-Boot] [PATCH 4/4 v3] s5pc1xx: add support SMDKC100 board

2009-09-23 Thread Kyungmin Park
@samsung.com --- snip +#ifndef CONFIG_ONENAND_IPL +     /* setting SRAM */ +     ldr     r0, =S5PC100_SROMC_BASE +     ldr     r1, =0x9 +     str     r1, [r0] +#endif Where is CONFIG_ONENAND_IPL defined ? If it is not being used, the #ifndef logic should be reduced. Kyungmin Park sent

Re: [U-Boot] [PATCH 2/4 v3] s5pc1xx: support onenand driver

2009-09-23 Thread Kyungmin Park
On Wed, Sep 23, 2009 at 7:49 PM, Minkyu Kang proms...@gmail.com wrote: Dear Tom. 2009/9/22 Tom tom@windriver.com: Minkyu Kang wrote: This patch includes the onenand driver for s5pc100 Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[U-Boot] [PATCH] [OneNAND IPL] OneNAND board init support

2009-10-06 Thread Kyungmin Park
Some Samsung SoCs, s3c64xx, s5pc100 has own OneNAND controller and different OneNAND access method. To support this, each board has own init and set onenand_read_page for it. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/onenand_ipl/onenand_read.c b/onenand_ipl

Re: [U-Boot] [PATCH] [OneNAND IPL] OneNAND board init support

2009-10-06 Thread Kyungmin Park
) { pagesize = 4096; /* OneNAND has 4KiB pagesize */ On Wed, Oct 7, 2009 at 10:24 AM, Kyungmin Park kmp...@infradead.org wrote: Some Samsung SoCs, s3c64xx, s5pc100 has own OneNAND controller and different OneNAND access method. To support this, each board has own init and set

Re: [U-Boot] OneNAND operations.

2009-10-09 Thread Kyungmin Park
Sorry for late reply. At current implementation. only block write supported. Of course, I wrote the partial write. I will post the latest patches. Sorry. Please wait until next Monday Thank you, Kyungmin Park On Thu, Oct 8, 2009 at 6:10 PM, Tuma chernigovs...@spb.gs.ru wrote: Hello, All! My

[U-Boot] [PATCH] OneNAND partial read/write support

2009-10-12 Thread Kyungmin Park
Now OneNAND handles block operation only. With this patch OneNAND handles all read/write size. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c index 9090940..2b8f01b 100644 --- a/common/cmd_onenand.c +++ b/common/cmd_onenand.c

Re: [U-Boot] [PATCH] Reduce apollon OneNAND IPL code

2009-10-12 Thread Kyungmin Park
On Tue, Oct 13, 2009 at 1:48 AM, Scott Wood scottw...@freescale.com wrote: On Mon, Oct 12, 2009 at 09:17:49AM +0900, Kyungmin Park wrote: After OneNAND IPL updated, apollon boot code exceeds 1KiB size, This patch reduces the apollon boot code Signed-off-by: Kyungmin Park kyungmin.p

Re: [U-Boot] [PATCH] OneNAND partial read/write support

2009-10-12 Thread Kyungmin Park
Hi, If you use the gmail, Select the raw message, and copy and paste Others are similar. Don't copy html format to your text file. Thank you, Kyungmin Park On Mon, Oct 12, 2009 at 5:51 PM, Tuma chernigovs...@spb.gs.ru wrote: Hi, Kyungmin Park! Thank you for patch! But I have a question - how

Re: [U-Boot] [PATCH] OneNAND partial read/write support

2009-10-20 Thread Kyungmin Park
On Wed, Oct 21, 2009 at 7:48 AM, Scott Wood scottw...@freescale.com wrote: On Mon, Oct 12, 2009 at 04:27:10PM +0900, Kyungmin Park wrote: Now OneNAND handles block operation only. With this patch OneNAND handles all read/write size. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

Re: [U-Boot] [PATCH 1/3] [OneNAND] Flex-OneNAND driver support

2009-11-04 Thread Kyungmin Park
H Scott, If you you don't mind, I'm okay to this patch. Can you merge it? Thank you, Kyungmin Park On Wed, Nov 4, 2009 at 2:00 PM, Amul Kumar Saha amul.s...@samsung.com wrote: Hi Scott, +static loff_t flexonenand_addr(struct onenand_chip *this, int block) +{ + loff_t ofs = 0; + int die

Re: [U-Boot] [PATCH] [ARM] Move machine specific code to board at s3c64xx (v2)

2009-04-01 Thread Kyungmin Park
Hi, If there's no objection, could you apply this patch to ARM git tree? Thank you, Kyungmin Park On Wed, Nov 26, 2008 at 10:18 AM, Kyungmin Park kmp...@infradead.org wrote: Move machine specific code to smdk6400. Some board use OneNAND instead of NAND. Some register MP0_CS_CFG[5:0

Re: [U-Boot] [PATCH] [ARM] Move machine specific code to board at s3c64xx (v2)

2009-04-02 Thread Kyungmin Park
On Thu, Apr 2, 2009 at 2:18 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 13:43 Thu 02 Apr     , Kyungmin Park wrote: Hi, If there's no objection, could you apply this patch to ARM git tree? Just one question is the OneNand always 16bits? Sure as I know, there's

Re: [U-Boot] [PATCH 1/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

2009-04-23 Thread Kyungmin Park
128KiB, Flex-OneNAND also can boot it. For simplicity How about to use block scheme? we always use block 0 for boot (IPL + u-boot) whatever block size. Thank you, Kyungmin Park ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH 2/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

2009-05-06 Thread Kyungmin Park
Hi, Please apply this patch for fixing broken apollon build. Acked-by: Kyungmin Park kyungmin.p...@samsung.com On Mon, Mar 9, 2009 at 11:15 PM, Rohit Hagargundgi h.ro...@samsung.com wrote: Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot

Re: [U-Boot] RFC: U-Boot OneNAND IPL TEXT_BASE

2010-05-01 Thread Kyungmin Park
#define ONENAND_IPL_TEXT_BASE BOARD_IPL_TEXT_BASE #endif load IPL code ONENAND_IPL_TEXT_BASE instead of current code. Thank you, Kyungmin Park On Sat, May 1, 2010 at 11:48 AM, Marek Vasut marek.va...@gmail.com wrote: Hey, I've been tinkering with OneNAND IPL in uboot. I found out it wan't to load

Re: [U-Boot] RFC: U-Boot OneNAND IPL TEXT_BASE

2010-05-02 Thread Kyungmin Park
On Sun, May 2, 2010 at 3:39 PM, Marek Vasut marek.va...@gmail.com wrote: Dne Ne 2. května 2010 05:54:41 Kyungmin Park napsal(a): Hi, Which CPU do you use? In most ARM cpu, CPU load the IPL into its internal SRAM, and runs at here. PXA270 ... the BootRAM is mapped to 0x0 and the code runs

Re: [U-Boot] Support similar boards at same board file?

2010-05-25 Thread Kyungmin Park
Hi, My bet is goni. Since it's new GPIO based board. Thank you, Kyungmin Park -Original Message- From: Minkyu Kang [mailto:proms...@gmail.com] Sent: Tuesday, May 25, 2010 12:38 PM To: Wolfgang Denk Cc: u-boot@lists.denx.de; 박경민 Subject: Re: Support similar boards at same board

Re: [U-Boot] U-boot: Beagle board as a USB Mass Storage Device Class

2010-06-11 Thread Kyungmin Park
it. Thank you, Kyungmin Park I have seen below page with the same proposal from Mike. http://elinux.org/CELF_Project_Proposal/Add_DFU_support_to_U-Boot Mike, Are you working on this? Regards, Ajay Cheers   Detlev -- It's very important  that you sleep because that's  when your brain

Re: [U-Boot] UBI: initialise update marker

2010-06-11 Thread Kyungmin Park
Deal all, Sent. Thank you, Kyungmin Park On Sat, Jun 12, 2010 at 4:32 AM, Wolfgang Denk w...@denx.de wrote: Dear Kyungmin Stefan,K In message aanlktikrmmd7hb6j8veb5xycp5rfy7rswpxxcbp3n...@mail.gmail.com Karl Beldan wrote: I suggest someone apply commit ff99879 from Linux. I think

[U-Boot] [PATCH] UBI: initialise update marker

2010-06-11 Thread Kyungmin Park
functionality was broken. Signed-off-by: Peter Horton z...@colonel-panic.org Signed-off-by: Artem Bityutskiy artem.bityuts...@nokia.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index 1afc61e..4004402 100644 --- a/drivers

[U-Boot] [PATCH] UBI: initialise update marker

2010-06-11 Thread Kyungmin Park
functionality was broken. Signed-off-by: Peter Horton z...@colonel-panic.org Signed-off-by: Artem Bityutskiy artem.bityuts...@nokia.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index 1afc61e..4004402 100644 --- a/drivers/mtd

Re: [U-Boot] [PATCH] Fix OneNAND ipl to read 256KB

2009-02-26 Thread Kyungmin Park
Hi, In the previous mail, I also solve this issue. multi-block read for IPL http://www.mail-archive.com/u-boot@lists.denx.de/msg04641.html Of course, it's not consider the Flex-OneNAND, please apply this one first and then fix it for Flex-OneNAND. How do you think? Thank you, Kyungmin Park

[U-Boot] [PATCH] Can build with only jffs2 cmdline support

2009-02-27 Thread Kyungmin Park
Some program such as UBI only used the mtdpart only. however current jffs2 cmdline has dependent with jffs2 cmd This patch make a build only jffs2 cmdline without jffs2 cmd dependency. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/common/Makefile b/common/Makefile index

Re: [U-Boot] [PATCH] Can build with only jffs2 cmdline support

2009-02-27 Thread Kyungmin Park
Hi Stefan, On Fri, Feb 27, 2009 at 6:24 PM, Stefan Roese s...@denx.de wrote: Hi Kyungmin, On Friday 27 February 2009, Kyungmin Park wrote: Some program such as UBI only used the mtdpart only. however current jffs2 cmdline has dependent with jffs2 cmd This patch make a build only jffs2

[U-Boot] [PATCH] Reduce OneNAND IPL common code (v3)

2009-03-02 Thread Kyungmin Park
as possible. and give lowlevel_init can have more codes. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/cpu/arm1136/start.S b/cpu/arm1136/start.S index e622338..c115003 100644 --- a/cpu/arm1136/start.S +++ b/cpu/arm1136/start.S @@ -33,23 +33,7 @@ .globl _start _start: b reset

Re: [U-Boot] [PATCH] Can build with only jffs2 cmdline support

2009-03-02 Thread Kyungmin Park
On Sat, Feb 28, 2009 at 11:20 PM, Wolfgang Denk w...@denx.de wrote: Dear Kyungmin Park, In message 20090227085736.ga5...@july you wrote: Some program such as UBI only used the mtdpart only. however current jffs2 cmdline has dependent with jffs2 cmd This patch make a build only jffs2 cmdline

Re: [U-Boot] [PATCH] Fix OneNAND ipl to read 256KB

2009-03-04 Thread Kyungmin Park
at here how many blocks are needed. I also want to use CONFIG_ONENAND_END_BLOCK since we don't know which OneNAND or Flex-OneNAND are attached to apollon board. Thank you, Kyungmin Park ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH] Seperate mtdpart command from jffs2

2009-03-08 Thread Kyungmin Park
On Fri, Mar 6, 2009 at 10:13 PM, Stefan Roese s...@denx.de wrote: Hi Kyungmin, On Tuesday 03 March 2009, Kyungmin Park wrote: Some program such as UBI only used the mtdpart only. however current jffs2 cmdline has dependent with jffs2 cmd This patch make a build only jffs2 cmdline without

[U-Boot] [PATCH] [ONENAND] Reduce OneNAND IPL code size

2008-10-22 Thread Kyungmin Park
To give more code at lowlevel_init at each boards Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/cpu/arm1136/start.S b/cpu/arm1136/start.S index e622338..132cc4a 100644 --- a/cpu/arm1136/start.S +++ b/cpu/arm1136/start.S @@ -33,23 +33,7 @@ .globl _start _start: b reset

Re: [U-Boot] [PATCH] [ARM] Move machine specific code to board at s3c64xx

2008-10-23 Thread Kyungmin Park
On Thu, Oct 23, 2008 at 4:39 PM, Guennadi Liakhovetski [EMAIL PROTECTED] wrote: On Wed, 22 Oct 2008, Kyungmin Park wrote: Move machine specific code to smdk6400. Some board use OneNAND instead of NAND. Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/board/samsung/smdk6400

Re: [U-Boot] [PATCH] [ONENAND] Reduce OneNAND IPL code size

2008-10-23 Thread Kyungmin Park
On Thu, Oct 23, 2008 at 5:09 PM, Wolfgang Denk [EMAIL PROTECTED] wrote: Dear Kyungmin Park, In message [EMAIL PROTECTED] you wrote: To give more code at lowlevel_init at each boards Can you please describe exactly what thgis patch is supposed to do and what problem it is supposed to fix

Re: [U-Boot] [PATCH] [ARM] Move machine specific code to board at s3c64xx

2008-10-23 Thread Kyungmin Park
On Thu, Oct 23, 2008 at 5:42 PM, Guennadi Liakhovetski [EMAIL PROTECTED] wrote: On Thu, 23 Oct 2008, Kyungmin Park wrote: In OneNAND board, it should be set as 0x1002 Sorry, do not understand what it. If you mean the MEM_SYS_CFG then I also don't understand this. As I quoted from

  1   2   >