Creating a complete linux image
#1
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
  Reply
#2
(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.
Donate BTC: 3Eav9uqXi8Nx1axb7QjK6xV4km4K9YGv9a
  Reply
#3
(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/
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  NEMS Linux 1.5 Released for A64/A64+, A64-LTS/SOPine, Rock64, RockPro64 (NAGIOS) Baldnerd 4 3,712 03-28-2020, 06:20 PM
Last Post: ty1911
  Howto run Linux with resolution other than 1080p longsleep 28 38,560 06-13-2019, 01:53 AM
Last Post: Nilda
  NEMS Linux for Pine A64 (+) Luke 1 2,189 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 2,834 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Gentoo Linux test image xalius 23 25,566 01-28-2019, 11:05 PM
Last Post: necrose99
  Real-time linux kernel Artyom 45 35,642 09-11-2018, 01:08 AM
Last Post: zzwpine
  linux distribution hazerty 3 2,550 04-01-2018, 02:48 PM
Last Post: dkryder
  Linux Web Server OS harcrow 2 2,888 01-30-2018, 10:26 AM
Last Post: Rustproof
  Found this fully working RASPBIAN Image that boots to desktop speedro86 21 11,385 10-07-2017, 10:06 PM
Last Post: speedro86
  eta linux image?? firosiro 1 1,652 08-03-2017, 10:05 PM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 1 Guest(s)