Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi, sounds like a cool little project. Though I have to warn you that the board may not have enough flash or sdram to comfortably run Linux.
The current distribution uses the first 2 MB of flash to hold the kernel and any remaining flash to hold a read-only filesystem. With only 2 MB of space, I'd recommend browsing around the forum to learn how to use u-boot and a compressed kernel. You should be able to fit u-boot and the kernel into the first meg of flash. The next step would be to ensure that you're flash is supported in the kernel and to set up a flash partition map so that you can mount the last MB of flash as a filesystem. With only 1 MB to work with, it would be best to use cramfs I think... again, people on this forum have successfully used cramfs in the past, so searching around should give you some answers. As for the error that you're getting during the build process, configure your kernel to turn off Altera PIO Button support... you can find it at: Device Drivers --> Character Devices ----> Nios PIO buttons support Once you turn it off, try re-building again, it should help.