Hi Walter

Thank you for your quick response . Some comments inline

On Friday, November 18, 2016, Walter Goossens <waltergooss...@home.nl>
wrote:

> Hi David,
>
> A few steps to try.
> have you tested your kernel on the MAX10 Neek?
>
> Yes that's the first thing I did

>
> Have you tried running the kernel directly using nios2-downloag -g ?
>
Not really, i did that only with the other sample applications. Good call,
I'll do that

>
> One easy way of seeing what goes on is to simply put a signaltap on your
> Nios2. You can see a lot from the memory-accesses it makes. There's also a
> nice nios plugin for signaltap, but I haven't used it much, I'm not sure if
> it was MMU capable.
>
That's exactly my next step, i put the signaltap and I will be debugging it
early on next week

>
>
>
> Hope this helps.
>
It does thanks a lot !


>
>
>
> Walter
>
> On 11/18/2016 11:01 PM, David Cemin wrote:
>












> Hi
>
> We are developing a custom board based on a Max10 device. We are trying to
> bring up linux on it (we have done this successfully on a MAX10 Neek
> evaluation board already, and our hardware design is based off that board)
>
> Ive compiled the linux kernel and generated the hex as in:
>
> $ elf2flash --base=0x0 --input=vmlinux --end=0xfffffff --reset=0x0 
> --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec
>
> nios2-elf-objcopy -O ihex vmlinux.flash vmlinux.hex
>
>
> So the command above will embed the default bootloader to the linux image.
>
> we are trying to boot it up but I dont see anything on the serial port. I
> am assuming that what I did above for the kernel is correct, but i might be
> wrong.
>
> What are the normal steps for debugging the default bootloader? Is there a
> way of seeing (through Jtag for instance) whats going on on the default
> bootloader ?
>
> Its important to mention that the example applications (hello world +
> memory test) are running fine.
>
> Thank you
>
> regards,
>
> David
>
> --
>
> *+1 (343) 777-1735* David Cemin http://coveloz.com
>
>
> <http://coveloz.com/>
>
>
> _______________________________________________
> Rfi mailing list...@lists.rocketboards.org 
> <javascript:_e(%7B%7D,'cvml','Rfi@lists.rocketboards.org');>http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi
>
>
>

-- 
Sent from my phone
+1 (343) 777-1735
_______________________________________________
Rfi mailing list
Rfi@lists.rocketboards.org
http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi

Reply via email to