[U-Boot-Users] My 3 patches

Bryan Wu pwu at jadechip.com
Fri Sep 16 12:36:09 CEST 2005


Hi:

I applied your patch my U-Boot. But I found one bug in this patch
in cread_line() function, you should return the number of read characters.
You return the "rc" at the end of the function, but rc always equals 0. 
The u-boot command will NOT be executed.

I modified the to return (eol_num). It is ok.

You can check it.

Bryan Wu from China.

----- Original Message ----- 
From: "luo.jinhua" <luo.jinhua at gd-linux.com>
To: "u-boot-users" <u-boot-users at lists.sourceforge.net>
Sent: Friday, September 02, 2005 10:02 AM
Subject: [U-Boot-Users] My 3 patches


> Hi.
> 
> Here is my 3 patches. 
> 
> sbc2410x.patch is for the new board -- SBC-2410X. I write this new
> hardware-specific configurations refer to smdk2410 configurations in U-Boot.
> File list:
> MAKEALL
> Makefile
> board/sbc2410x/Makefile
> board/sbc2410x/config.mk
> board/sbc2410x/flash.c
> board/sbc2410x/lowlevel_init.S
> board/sbc2410x/sbc2410x.c
> board/sbc2410x/u-boot.lds
> cpu/arm920t/s3c24x0/interrupts.c
> include/configs/sbc2410x.h
> This patch adds a new configuration option -- CONFIG_SBC2410X. 
> 
> cmdline_editing.patch implements cmdline-editing extension of readline. I pick
> codes heavily borrowed from vivi bootloader and integrate them into U-Boot.
> File list:
> common/main.c
> This patch adds a new configuration option -- CONFIG_CMDLINE_EDITING.
> 
> nand_for_sbc2410x.patch adds nand support for SBC-2410X board.  It do that by
> taking nand controller specific codes (from VCMA9 board) in place.
> File list:
> common/cmd_nand.c
> include/linux/mtd/nand.h
> include/linux/mtd/nand_ids.h
> 
> more detail please review:
> http://sourceforge.net/mailarchive/forum.php?thread_id=8089177&forum_id=12898
> 
> CHANGELOG item:
> * Add support for friendly-arm SBC-2410X board
>  Patch by JinHua Luo, 1 Sep 2005
> * Add to readline cmdline-editing extension
>  Patch by JinHua Luo, 1 Sep 2005
> * Add nand support for SBC-2410X
>  Patch by JinHua Luo, 1 Sep 2005
> 
> CREDIT item (if proper):
> N: JinHua Luo
> E: luo.jinhua at gd-linux.com home_king at 163.com
> D: Support for friendly-arm SBC-2410X board
> D: Add to readline cmdline-editing extension
> D: Add nand support for SBC-2410X
> W: www.gd-linux.com
> 
> Best regards,
> 
> luo.jinhua
> 
> --
> JinHua Luo, GuangDong Linux Center, <luo.jinhua at gd-linux.com>
> 
>


More information about the U-Boot mailing list