2

I am planning to build a custom hardware /Derivative from designs of Open source hardwares like Beagle bone black.

How to Customize Linux for custom design from open hardwares like Beaglebone?

  • We start with doing the circuit schematic --> route and do the pcb--> test hardware --> then where to start the software with for this custom board?

  • How are new or extra peripherals added to the custom hardware be mapped to its Linux OS/bootloader?

  • How does linux for example know i am using a extra usb host or pin supported peripheral in my custom design in place of few gpio pins on processor as in case of original design?

Thanks

Gopi
  • 141
  • 5
  • 2
    This seems very on-topic to me... My understanding is it's asking how to port the Linux Kernel to a custom embedded device. – Tim Sep 20 '13 at 01:06
  • If you make peripheral changes to the board, you'll have to make changes to the kernel. A good starting point may be here: https://code.google.com/p/beagle-borg/source/browse/kernel/arch/arm/mach-omap2/board-am335xevm.c – Tim Sep 20 '13 at 01:13
  • @TimM Great info. 1.Is that file a board support package? 2.Can you clarify if boot-loaders like u-boot for beagle also needs to be customized as they initialize hardware? – Gopi Sep 20 '13 at 04:26
  • 1. Yes, that code is board specific. 2. Yes, search for "porting u-boot" to find a bunch of information on the process. – Tim Sep 21 '13 at 00:28
  • Thanks @TimM .Just one more question to close my doubts, bear with me. Am i right in assuming this- In general for custom boards 1.We port the boot-loader and kernel for our custom board. 2.We flash the bootloader to a NAND memory. 3.The processor on power on goes to this NAND ROM to run the bootloader which nitializes hardware and loads linux kernel to memory. 4.linux takes control and flow continues. – Gopi Sep 21 '13 at 06:26
  • That is correct. There is documentation for how the bootloader needs to interface with the Linux kernel in the source under Documentation/arm/Booting, but I'm not sure how up-to-date it is. – Tim Sep 24 '13 at 16:52

0 Answers0