--- Quote Start ---
originally posted by scut_ak@Apr 27 2006, 07:59 PM
there are also a long pause between the message "uncompressing linux..." and "ok, booting the kernel.", about half a minute.
was this ok? my system run at 50mhz(input is 25mhz).
in the menuconfig i only change the
1 device drivers ---> character devices ---> serial drivers --->
disable the jtag uart option and enable uart option
2 processor type and features-->(0x00500000) link address offset for booting
3 processor type and features--> i choose the altera cyclone board
my sdram is at 0x0 and the size is 8mbyte (16bit width)
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14751)
--- quote end ---
--- Quote End ---
1. you should have
[*] Nios serial support
[*] Support for console on Nios UART
2. boot link offset is correct
3. no need to change, because you are using a custom board.
You are using "tiny core", without icache and dcache. without hw mul.
It is very slow. It takes about 7-10 clocks for each instruction.
You should use "small" or "fast" core, with at least 512Byte icache. dcache is optional.
Hw mul is recommanded.
If you don't use hw mul, you have to do
1. enable multilib in toolchain option of buildroot menuconfig
2. add "-mno-hw-mul" cflags to busybox menuconfig
3. processor --> Nios II Hardware Multiply Support (None) to kernel config
From your result, the zImage loader is working. and uart direct io is working.
The problem maybe in hw mul .