Fedora-ARM
全部博文(241)
分类: LINUX
2008-10-16 23:23:14
unix_disciple2010-05-21 18:12:58
博主,你好!我参考您的代码和友善之臂整理的u-boot移植教程,我移植从nor flash启动的bootloader,您的代码中有四个点灯的动作,我移植的bootlader烧写到nor flash后,只亮了前两个LED,后面两个没亮,串口没有任何打印信息。不知道是哪里出了问题,程序像是跑死了一样。请博主指点一二,谢谢!
chinaunix网友2010-05-11 23:33:59
您好,不知道您在2010.3 版本上的 nand上进行ubi操作没有,ubi part的时候写volume信息会报错,不知道是不是nand驱动问题,还有默认的flash驱动貌似不支持ubi,是不是cfi 的flash驱动才能支持 ubi呢,默认的flash在uboot上没有注册为nor0 这样的设备.
chinaunix网友2010-05-06 10:54:19
您好,我在github上直接下你的代码编译也不通过: lib_arm/libarm.a(board.o): In function `init_func_i2c': /home/workspace/uboot/tekkamanninja-U-boot-2009.11_tekkaman-16deca6/lib_arm/board.c:208: undefined reference to `i2c_init' lib_arm/libarm.a(board.o): In function `start_armboot': /home/workspace/uboot/tekkamanninja-U-boot-2009.11_tekkaman-16deca6/lib_arm/board.c:350: undefined reference to `nand_init' lib_arm/libarm.a(board.o):(.data+0xc): undefined reference to `env_init' lib_arm/libarm.a(board.o):(.data+0x
chinaunix网友2010-05-05 11:59:21
下面的补丁可以让该uboot用更多的交叉编译工具链来编译,避免因为工具链提供的libgcc.a与arm920t架构的CPU不兼容而导致运行出错。
[PATCH] use uboot's own libgcc.a for better toolchain compatibility:
From a65ccf5996ae50731b6fbe3ca8a8c98e4c874ca0 Mon Sep 17 00:00:00 2001
From: Alex Ling