- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am planning to use linux in our custom board. I was able to get a 3c120 board and with the help of http://www.rocketboards.org/foswiki/documentation/niosiilinuxusermanual#how_to_debug_kernel_47drivers_with_gdb , was able to get it running linux. But I am stuck there without much information as to how to
- Add a new board to the u-boot and kernel configuration files. And create the required boards - Create the header files. (I can create the dts file and the .h file) - associate generic drivers to the PIO (like LED/Button) and handling interrupts. - compile driver code and add it to the kernel building process. I saw this wiki post about creating something similar for uclinux, http://www.alterawiki.com/wiki/creating_a_nios_ii_design_with_an_mmu Is there anyone willing to shed some light?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi eldos,
The kernel part on the page you metioned in alterawiki (yes, I wrote it) is outdated. The sopc is now replaced with qsys. Though you may follow the hardware design. 1. the kernel now use dts, so you don't need to create specific board code. You may use almost the same kernel config of 3c120. You will need to generate dts with sopc2dts. You will need to add the led and button driver binding to dts. 2. search the wiki with "u-boot" keyword, I have some examples. You will need to use sopc2dts to generate u-boot headers. -Hippo To continue..
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page