PINE64

Full Version: Creating a complete linux image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm a real newbie to embedded linux. I have some experience with C programming and a Freescale development board but lack direction on where to start regarding building my own system for my pine board.

I've read about u-boot, file systems, kernels, libc and gcc but can't find a practical explanation on what to do and with what tools to do it with. For example, how to tweak and compile longsleep's kernel and build tool to make my own image? Or how do I build my own kernel? What are the actual steps and actions to take? Which files do I need? How do I manipulate them? Where does the work take place? What software is used? And other questions of this sort.

I'd like to build my own system to utilize GPIO pins, SPI, I2C and other modules on the board.

Can anyone offer some advice or point me to the right reference or eBook?

ANY help at all would be great.
Thanks
(09-13-2016, 06:25 PM)yuvgin Wrote: [ -> ]Hi,

I'm a real newbie to embedded linux. I have some experience with C programming and a Freescale development board but lack direction on where to start regarding building my own system for my pine board.

I've read about u-boot, file systems, kernels, libc and gcc but can't find a practical explanation on what to do and with what tools to do it with. For example, how to tweak and compile longsleep's kernel and build tool to make my own image? Or how do I build my own kernel? What are the actual steps and actions to take? Which files do I need? How do I manipulate them? Where does the work take place? What software is used? And other questions of this sort.

I'd like to build my own system to utilize GPIO pins, SPI, I2C and other modules on the board.

Can anyone offer some advice or point me to the right reference or eBook?

ANY help at all would be great.
Thanks


You can start from here to build the kernel, then go here to build your own Ubuntu/Arch/Debian image.
(09-13-2016, 06:25 PM)yuvgin Wrote: [ -> ]For example, how to tweak and compile longsleep's kernel and build tool to make my own image? Or how do I build my own kernel? What are the actual steps and actions to take? Which files do I need? How do I manipulate them? Where does the work take place? What software is used? And other questions of this sort.

Using our build system it's easy and straightforward (if you're fine with Debian or Ubuntu). You can rely on a lot of knowledge (default settings) while being able to adjust everything to your needs: http://docs.armbian.com/Developer-Guide_...eparation/