I've watched the video and read the *.pdf by Johan. I'm using the DE2-115 Board and I got a design from the hardware guy.
I ran the sopc2dts gui and created my *.dts file did the make and got the kernel image. The download works fine but when I boot --
this was due to the fact that my timer was "unknown" in the *.dts
i can now boot. i do have to use the serial port as the uart console. i could not get it to work using the jtag as the console. i'm figuring it is something to do with the *.dts file?
before i switched to uart console - i was getting the "turn off boot console early0"
my question about download below (for the cyclone iii evaluation board the download is 0xdxxxxxxx = usually 0xd1000000 if you use the 0x01000000 offset) [NiosII EDS]$ nios2-terminal[NiosII EDS]$ nios2-terminal
nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster [2-2]", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
Linux version 3.7.0-01377-g1061bd7 (
janet@localhost.localdomain) (gcc version 4.1.2)# 130 Sat Mar 16 16:29:34 PDT 2013
bootconsole [early0] enabled
early_console initialized at 0xe90040d0
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c05a2ac0, node_mem_map c05b9540
DMA zone: 256 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 32512 pages, LIFO batch:7
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line:
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster [2-2]", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
Linux version 3.7.0-01377-g1061bd7 (
janet@localhost.localdomain) (gcc version 4.1.2)# 130 Sat Mar 16 16:29:34 PDT 2013
bootconsole [early0] enabled
early_console initialized at 0xe90040d0
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c05a2ac0, node_mem_map c05b9540
DMA zone: 256 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 32512 pages, LIFO batch:7
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line:
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory available: 124052k/5850k RAM (2387k kernel code, 3462k data)
NR_IRQS:64
BUG: failure at /home/janet/nios2-linux/linux-2.6/arch/nios2/kernel/time.c:112/nios2_late_time_init()!
Kernel panic - not syncing: BUG!
*****************************
A few questions
1. The *.sopcinfo was generated with Qsys 10.1 - could that be an issue? Do we need to go to a newer version of Qsys?
2. I saw that the download starts at C1000000 - is this correct?
If anyone can help me become "less stupid" I'd appreciate it.
Thanks in advance