- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi,
I have a custom FPGA dev board, based on ep3c25, with a 16MBytes SDRAM. I want to build a linux system with mmu support, I have followed the very how to article: http://nioswiki.com/linux, but always failed.(a custom_fpga.h created) The result is:nios2-download -g images/zimage.initramfs.gz; nios2-terminalusing cable "usb-blaster [usb 5-1.1]", device 1, instance 0x00
pausing target processor: ok
initializing cpu cache (if present)
ok
downloaded 1643kb in 14.5s (113.3kb/s)
verified ok
starting processor at address 0xc1500000
nios2-terminal: connected to hardware target using jtag uart on cable
nios2-terminal: "usb-blaster [usb 5-1.1]", device 1, instance 0
nios2-terminal: (use the ide stop button or ctrl-c to terminate)
uncompressing linux...
error
bad gzip magic numbers
-- system halted
Some file(screenshot) attached, please help me. Thank you!!! (http://www.alteraforum.com/forum/attachment.php?attachmentid=2581&stc=1&d=1275320625)
Link copiado
3 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
What is your pc linux distro?
Please set "boot link offset" to 0xa00000 in kernel config. It is about 2/3 of 16MB. Or, please run nios2-download -g images/linux.initramfs.gz Or, please try u-boot first to verify your system. http://nioswiki.com/dasuboot - Hippo- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
--- Quote Start --- What is your pc linux distro? Please set "boot link offset" to 0xa00000 in kernel config. It is about 2/3 of 16MB. Or, please run nios2-download -g images/linux.initramfs.gz Or, please try u-boot first to verify your system. http://nioswiki.com/dasuboot - Hippo --- Quote End --- Hi, Hippo Thank you! My linux distro is Debian(testing). I have corrected the boot link to 0xa00000 which point to the kernel space. But after compiling: nios2-download -g images/zimage.initramfs.gz; nios2-terminal Using cable "USB-Blaster [USB 6-1.1]", device 1, instance 0x00 Processor is already paused Initializing CPU cache (if present) OK Downloaded 1642KB in 14.3s (114.8KB/s) Verified OK Starting processor at address 0xC1A00000 nios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [USB 6-1.1]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) Uncompressing Linux... no more character then... And If I run: nios2-download -g images/linux.initramfs.gz; nios2-terminal Using cable "USB-Blaster [USB 6-1.1]", device 1, instance 0x00 Processor is already paused Initializing CPU cache (if present) OK Downloaded 2638KB in 23.0s (114.6KB/s) Verified OK Starting processor at address 0xC1000000 nios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [USB 6-1.1]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) Early printk initialized No more character then.... Which options should I check next? Thank you !!
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Please rename jtag_uart_0 to jtag_uart in your sopc builder.
- Hippo
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora