韦东山 u-boot 键盘
注意:如果点击空白处无法输入,则点击字会有输入提示符 | 则可以使用键盘进行输入!
此板块为 [uboot开发]
- 问题所在章节:006_u-boot_内核_根文件系统(新1期_2期间的衔接)视频第001课_U-boot分析与使用,第001节
- 发生问题的运行环境:配套虚拟机,
- 问题发生描述:
按照视频解压缩,正常,打补丁时出错,显示已经检测到了补丁。输入y后,继续执行,但是中间报错。
book@www.100ask.org:/mnt/hgfs/practice/1-2/001$ ls
u-boot-1.1.6_jz2440.patch u-boot-1.1.6.tar.bz2
book@www.100ask.org:/mnt/hgfs/practice/1-2/001$ tar xjf u-boot-1.1.6.tar.bz2
book@www.100ask.org:/mnt/hgfs/practice/1-2/001$ ls
u-boot-1.1.6 u-boot-1.1.6_jz2440.patch u-boot-1.1.6.tar.bz2
book@www.100ask.org:/mnt/hgfs/practice/1-2/001$ cd u-boot-1.1.6/
/* 以上是解压缩,过程正常,下面开始打补丁 */
book@www.100ask.org:/mnt/hgfs/practice/1-2/001/u-boot-1.1.6$ patch -p1 < ../u-boot-1.1.6_jz2440.patch
patching file board/100ask24x0/100ask24x0.c
patching file board/100ask24x0/boot_init.c
patching file board/100ask24x0/config.mk
patching file board/100ask24x0/flash.c
patching file board/100ask24x0/lowlevel_init.S
patching file board/100ask24x0/Makefile
patching file board/100ask24x0/u-boot.lds
patching file board/MAI/bios_emulator/scitech/src/v86bios/lex.l
patching file common/cmd_bootm.c
patching file common/cmd_load.c
patching file common/cmd_menu_bak.c
patching file common/cmd_menu.c
patching file common/cmd_nand.c
patching file common/cmd_nand_legacy.c
patching file common/cmd_suspend.c
patching file common/cmd_u***slave.c
patching file common/env_nand.c
patching file common/main.c
patching file common/Makefile
patching file cpu/ARM920t/cpu.c
patching file cpu/arm920t/Makefile
patching file cpu/arm920t/s3c24x0/interrupts.c
patching file cpu/arm920t/s3c24x0/Makefile
patching file cpu/arm920t/s3c24x0/nand_flash.c
patching file cpu/arm920t/s3c24x0/nand_flash_legacy.c
patching file cpu/arm920t/s3c24x0/speed.c
patching file cpu/arm920t/start.S
patching file cpu/arm920t/suspend.S
patching file doc/README.SBC8560
/* 下面输入y后会报错 */
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file doc#
patching file drivers/cfi_flash.c
patching file drivers/dm9000x.c
patching file drivers/jedec_flash.c
patching file drivers/Makefile
patching file drivers/nand/nand_base.c
patching file drivers/nand/nand_ids.c
patching file drivers/nand/nand_util.c
patching file drivers/nand_legacy/nand_legacy.c
patching file drivers/u***/2440u***.h
patching file drivers/u***/Makefile
patching file drivers/u***/mrgtmp0
patching file drivers/u***/u***.h
patching file drivers/u***/u***in.c
patching file drivers/u***/u***in.h
patching file drivers/u***/u***init.c
patching file drivers/u***/u***init.h
patching file drivers/u***/u***lib.c
patching file drivers/u***/u***lib.h
patching file drivers/u***/u***main.c
patching file drivers/u***/u***main.h
patching file drivers/u***/u***out.c
patching file drivers/u***/u***out.h
patching file drivers/u***/u***setup.c
patching file drivers/u***/u***setup.h
patching file include/asm-arm/mach-types.h
patching file include/asm-arm/types.h
patching file include/asm-arm/u-boot-arm.h
patching file include/configs/100ask24x0.h
patching file include/configs/SBC8560.h
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file include/configs/SBC8560.h.rej
patching file include/def.h
patching file include/flash.h
patching file include/nand.h
patching file include/s3c2410.h
patching file include/s3c24x0.h
patching file include/u***.h
patching file lib_arm/armlinux.c
patching file lib_arm/board.c
patching file Makefile
patching file net/net.c
book@www.100ask.org:/mnt/hgfs/practice/1-2/001/u-boot-1.1.6$
各位老师和大神,求指导,不知道这个错误有什么影响。想弄清楚它。
回帖(3)
2019-10-14 09:27:29
2019-10-14 09:35:08
换另一个版本的系统试试。
换另一个版本的系统试试。
举报
2019-10-14 09:53:36
你的文件都是网盘下载的吗 有没有被修改过
你的文件都是网盘下载的吗 有没有被修改过
举报
更多回帖