主题 : U-BOOT  for Mini6410  移植(大家讨论) 复制链接 | 浏览器收藏 | 打印
刚开始搞tiny6410
级别: 新手上路
UID: 55189
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2011-09-13
最后登录: 2012-12-10
30楼  发表于: 2012-06-21 00:28

 Re:U-BOOT for Mini6410 移植(大家讨论)

我的也不行啊,是哪儿设置问题吗,我的串口都没有输出
级别: 新手上路
UID: 71007
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2012-05-29
最后登录: 2012-07-30
31楼  发表于: 2012-07-11 17:38

 Re:U-BOOT for Mini6410 移植(大家讨论)

你好,按照你说的做了,怎么编译不成功呢!u-boot2010.09是直接下的啊,按步骤改过了啊!
级别: 新手上路
UID: 4264
精华: 0
发帖: 43
金钱: 215 两
威望: 43 点
贡献值: 0 点
综合积分: 86 分
注册时间: 2009-03-07
最后登录: 2016-05-24
32楼  发表于: 2012-08-27 15:06

 Re:U-BOOT  for Mini6410  移植(大家讨论)

这个真不错,终于有思路了
学如春起之苗,不见其增,日有所长~
级别: 新手上路
UID: 75745
精华: 0
发帖: 33
金钱: 165 两
威望: 33 点
贡献值: 0 点
综合积分: 66 分
注册时间: 2012-08-12
最后登录: 2013-03-23
33楼  发表于: 2013-01-04 09:04

 Re:U-BOOT for Mini6410 移植(大家讨论)

我的也是下载到开发板里没有反应啊,有木有解决这个问题的
级别: 新手上路
UID: 102266
精华: 0
发帖: 30
金钱: 150 两
威望: 30 点
贡献值: 0 点
综合积分: 60 分
注册时间: 2014-03-27
最后登录: 2014-06-25
34楼  发表于: 2014-05-12 20:55

 回 楼主(ucwenux_5) 的帖子

你好  请问我也是按照上面的步骤做的  编译成功了  也生成了u-boot.bin了  下载后可是串口怎么没有任何显示呢
级别: 新手上路
UID: 102266
精华: 0
发帖: 30
金钱: 150 两
威望: 30 点
贡献值: 0 点
综合积分: 60 分
注册时间: 2014-03-27
最后登录: 2014-06-25
35楼  发表于: 2014-05-12 20:56

 回 30楼(zjujunge) 的帖子

你好 请问你的串口改好了吗  我的也是没有任何显示啊  期待你的回复啊
级别: 新手上路
UID: 102266
精华: 0
发帖: 30
金钱: 150 两
威望: 30 点
贡献值: 0 点
综合积分: 60 分
注册时间: 2014-03-27
最后登录: 2014-06-25
36楼  发表于: 2014-05-22 20:38

 Re:U-BOOT for Mini6410 移植(大家讨论)

根本就不行  你确定你移植成功了?
级别: 新手上路
UID: 77442
精华: 0
发帖: 24
金钱: 120 两
威望: 24 点
贡献值: 0 点
综合积分: 48 分
注册时间: 2012-09-07
最后登录: 2015-02-06
37楼  发表于: 2014-10-14 21:55

 回 9楼(changge) 的帖子

我遇到一样的问题,请问你解决了嘛~?
大牛都是从牛宝宝开始的
级别: 新手上路
UID: 115226
精华: 0
发帖: 45
金钱: 225 两
威望: 45 点
贡献值: 0 点
综合积分: 90 分
注册时间: 2015-05-09
最后登录: 2021-07-31
38楼  发表于: 2015-10-13 14:25

 回 16楼(kasim) 的帖子

版主,根据您的编译方式,执行第二行后出现如下错误,如何破?
smdk6410.c: In function 'dram_init':
smdk6410.c:77:28: error: 'PHYS_SDRAM_SIZE' undeclared (first use in this function)
smdk6410.c:77:28: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [smdk6410.o] Error 1
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/board/samsung/smdk6410'
make: *** [board/samsung/smdk6410/libsmdk6410.a] Error 2
root@Ubuntu:/work/android_mini/u-boot-mini6410# make CROSS_COMPILE=/opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi- all
make: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/tools'
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/examples'
/bin/sh: 1: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
/bin/sh: 1: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/examples'
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/post'
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/post/cpu'
make -C tools all
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/tools'
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/tools'
make -C examples all
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/examples'
/bin/sh: 1: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
/bin/sh: 1: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/examples'
make -C post all
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/post'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/post'
make -C post/cpu all
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/post/cpu'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/post/cpu'
make -C lib_generic/
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/lib_generic'
make[1]: `libgeneric.a' is up to date.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/lib_generic'
make -C board/samsung/smdk6410/
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/board/samsung/smdk6410'
/opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0xc7e00000  -I/work/android_mini/u-boot-mini6410/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__ -march=armv5t -Wall -Wstrict-prototypes -c -o smdk6410.o smdk6410.c
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: *** [smdk6410.o] Error 127
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/board/samsung/smdk6410'
make: *** [board/samsung/smdk6410/libsmdk6410.a] Error 2
root@Ubuntu:/work/android_mini/u-boot-mini6410#
root@Ubuntu:/work/android_mini/u-boot-mini6410# make CROSS_COMPILE=/opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi- all
make: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/tools'
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/examples'
/bin/sh: 1: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
/bin/sh: 1: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/examples'
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/post'
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/post/cpu'
make -C tools all
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/tools'
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/tools'
make -C examples all
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/examples'
/bin/sh: 1: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
/bin/sh: 1: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/examples'
make -C post all
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/post'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/post'
make -C post/cpu all
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/post/cpu'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/post/cpu'
make -C lib_generic/
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/lib_generic'
make[1]: `libgeneric.a' is up to date.
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/lib_generic'
make -C board/samsung/smdk6410/
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/work/android_mini/u-boot-mini6410/board/samsung/smdk6410'
/opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0xc7e00000  -I/work/android_mini/u-boot-mini6410/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__ -march=armv5t -Wall -Wstrict-prototypes -c -o smdk6410.o smdk6410.c
make[1]: /opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi-gcc: Command not found
make[1]: *** [smdk6410.o] Error 127
make[1]: Leaving directory `/work/android_mini/u-boot-mini6410/board/samsung/smdk6410'
make: *** [board/samsung/smdk6410/libsmdk6410.a] Error 2
级别: 新手上路
UID: 128208
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
贡献值: 0 点
综合积分: 4 分
注册时间: 2016-09-24
最后登录: 2016-12-29
39楼  发表于: 2016-09-26 09:10

 Re:U-BOOT for Mini6410 移植(大家讨论)

我的已成功启动,可是却打印出来DRAM为0kbit,研究了好久也买研究出来,希望大家可以加我QQ讨论:396208070
U-Boot 2010.09 (Sep 26 2016 - 08:52:14) for TINY6410


CPU:     S3C6400@667MHz
         Fclk = 667MHz, Hclk = 133MHz, Pclk = 66MHz (ASYNC Mode)
Board:   tiny6410
the PHYS_SDRAM_1 of dram_init funtion is:50000000
the PHYS_SDRAM_1_SIZE of dram_init funtion is:10000000
the gd->bd->bi_dram[0].start of dram_init funtion is:0
the gd->bd->bi_dram[0].size of dram_init funtion is:0
the address of gd->bd->bi_dram is:57cfbfd8
CONFIG_NR_DRAM_BANKS =1
PHYS_SDRAM_1_Sart =50000000
PHYS_SDRAM_1_SIZE =10000000
TEXT_BASE =57e00000
gd->bd->bi_dram[0] =0
DRAM:  0 Bytes
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dm9000
Start linux parameter at 0
MACH_TYPE=0
Linux command line is:console=ttySAC,115200
The address of _armboot_start is:57e00000
The Lenth of CONFIG_SYS_MALLOC_LEN is:104000
The Size of gd_t is:20
The address of gd is:57cfbfe0
The gd->baudrate is:115200
The gd->bd->bi_ip_addr is:
The gd->bd->bi_arch_number is:<NULL>
Now enter into mainloop!
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x60000, size 0x1c0000
1835008 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
ANDY6410 #