LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 10-13-2016, 04:08 PM   #1
ayyasprings
Member
 
Registered: Aug 2014
Posts: 118

Rep: Reputation: Disabled
please suggest a board based on the following for learning linux


Hi,

I have a decent theoritical understanding on Uboot,board bring up, device driver development. To get practical understanding I bought Friendly Arm mini2440 board. But it was difficult for me with that as I could not change the software source to learn.

Please suggest a board in which I can get
1) Toolchain for that board.
2) Uboot source code supporting that so that I can Cross compile that Uboot on my own and creating binary and porting facility.
3) Linux Kernel Source code supporting that so that I can configure and cross compile that kernel on my own,modify the device drivers and create image and porting facility.
4)Root filesystem source with that I can pickup my required utilies and features/applications and compile and make rootfs image with my desired rootfs type eg) jffs2,squashfs to experiment on my own and port from host.
5)Support for debugging the board.
6)Having In built display or support to connect any external display as additional peripheral. If the display dont have touch facility then it should support keyboard as peripheral.
7)should have networking abilities atleast Ethernet.
8)Also datasheets of the components should be available so that I can develop device drivers on my own and experiment.
9)Android support is preferrable.

I am asking these because I want to learn the process and flow from bootloader stage to Application starting and running and then shutdown of system practically.

Please reply!

Last edited by ayyasprings; 10-13-2016 at 04:15 PM.
 
Old 10-13-2016, 05:35 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
http://www.friendlyarm.net/products/mini2440

http://www.famosastudio.com/download...440_manual.pdf

Seems like an option existing in a few car infotainment systems. But not much more than a networked monitor. A 400MHz 32 bit arm processor that likely lacks any specialties like hard float. Low power is about it's only perk. It would be far simpler to learn a raspberry pi with the official 7" LCD that comes with it, than that thing as a first baptism by fire.
 
Old 10-14-2016, 10:03 AM   #3
ayyasprings
Member
 
Registered: Aug 2014
Posts: 118

Original Poster
Rep: Reputation: Disabled
Unhappy

Hi Shadow 7,

In Raspberry pi forum when I have enquired we cant use Uboot at all and root file system content of our own.

The Uboot source code supplied with download section of Friendly Arm when cross compiled and created the binary does not work. In their forum as of now I could get only the working uboot binary but not it's corresponding source code and waiting for it. It would of great help if you let me know where I can get that working uboot binary's source code. Also If I get any guide to pickup and compile only the required features and applications in the root file system content for my own learning it would be great as I am having that board already.

Last edited by ayyasprings; 10-14-2016 at 10:04 AM.
 
Old 10-14-2016, 05:26 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You could build uboot on a pi, which would simplify things. But as you said you cannot boot uboot on the RPi, which uses the GPU to boot the board. Which isn't the way that most other arm units do things. The friendly arm board doesn't have much ram and a slow CPU, you're definitely in embedded land on that thing. Learning it might not have much value if you have other choices. Since things like a raspberry pi exists and is far less "embedded". The official 7" display for the RPi is $60-ish. Which puts it around the same price point as the friendly arm board with display.
 
Old 10-15-2016, 02:56 AM   #5
blue_z
Member
 
Registered: Jul 2015
Location: USA
Distribution: Ubuntu, Lubuntu, Mint, custom embedded
Posts: 104

Rep: Reputation: Disabled
Quote:
Originally Posted by ayyasprings View Post
1) Toolchain for that board.
Irrelevant reguirement.
There's crosstool-NG to build a custom GCC toolchain.
If you're in a rush, you can download a pre-built toolchain from GNU ARM, Linaro, Sourcery CodeBench, or maybe your PC's distro.

Quote:
Originally Posted by ayyasprings View Post
2) Uboot source code supporting that so that I can Cross compile that Uboot on my own and creating binary and porting facility.
U-Boot is licensed under the GPL, so if it's used/distributed in binary form, then the source code should be available .

Quote:
Originally Posted by ayyasprings View Post
3) Linux Kernel Source code supporting that so that I can configure and cross compile that kernel on my own,modify the device drivers and create image and porting facility.
Linux is licensed under the GPL, so if it's used/distributed in binary form, then the source code should be available.

Quote:
Originally Posted by ayyasprings View Post
4)Root filesystem source with that I can pickup my required utilies and features/applications and compile and make rootfs image with my desired rootfs type eg) jffs2,squashfs to experiment on my own and port from host.
An unreasonable requirement since there is no consolidated repository of "root filesystem source".
Tools such as Buildroot and Yocto are used to solve this issue.

Quote:
Originally Posted by ayyasprings View Post
6)Having In built display or support to connect any external display as additional peripheral. If the display dont have touch facility then it should support keyboard as peripheral.
Rather vague requirement.
Display output could range from composite video (analog 480i) to HDMI (digital 1080p). Interface connection could be standard HDMI connector to a 50-pin FPC connector for LVDS.
Touchscreen interface could be raw input requiring A-to-D conversion or external converter with a USB connection.
A dedicated keyboard interface is deprecated; that's one of the reasons for USB.

Quote:
Originally Posted by ayyasprings View Post
7)should have networking abilities atleast Ethernet.
Rather common for a development board, unless you're looking at something small and/or cheap intended for IOT.

Quote:
Originally Posted by ayyasprings View Post
8)Also datasheets of the components should be available so that I can develop device drivers on my own and experiment.
This requirement disqualifies RPi and similar *Pi boards that use Broadcom or Allwinner SoCs.
TI, NXP/Freescale, and Atmel provide datasheets/TRMs for their SoCs consisting of 1000+ pages.

Last edited by blue_z; 10-15-2016 at 03:21 AM.
 
Old 10-15-2016, 03:13 AM   #6
blue_z
Member
 
Registered: Jul 2015
Location: USA
Distribution: Ubuntu, Lubuntu, Mint, custom embedded
Posts: 104

Rep: Reputation: Disabled
Quote:
Originally Posted by ayyasprings View Post
The Uboot source code supplied with download section of Friendly Arm when cross compiled and created the binary does not work.
Be aware that the toolchain can be a factor, especially with boot programs. Even the Linux kernel has compile-time checks for "bad" gcc versions.

The installation instructions that involve the `nand scrub` command are dangerous.
See these proper instructions for NAND.
 
Old 10-18-2016, 09:07 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,836
Blog Entries: 13

Rep: Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893
Beagleboard's use u-boot. There are instructions how to build it on their website.

So don't the boards from SolidRun, such as Hummingboard and CuBox.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Which distribution would you suggest? Learning Linux / Stable / KISS / Minimal / Slackware vs Gentoo vs Debian E3L3N4 Linux - Distributions 18 03-29-2020 08:18 PM
LXer: Jaguar Board is an x86 based Single Board Computer LXer Syndicated Linux News 0 01-24-2016 03:10 PM
Kernel Testing using LTP on Beagle board (ARM based Embedded Dev Board) Rajender.G Linux - Newbie 0 07-27-2011 06:19 AM
Suggest a pen drive based Linux please Sinedie Linux - General 10 05-25-2009 01:55 AM
I suggest a Mac OS X board glyph LQ Suggestions & Feedback 6 01-26-2004 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration