Skip to contentSkip to conversation

Building a Linux from scratch and new target architecture

Buildroot ronyboss 3 participants 7 messages Jan 19, 2016 – Jan 21, 2016

lore
Share & tools
lore

ronyboss

author
#0 lore raw

Hello,

Recently I have been working with buildroot system and openwrt system. I have successfully build the linux for raspberry pi and other different routers with my own modifications. Now I want to learn how to add custom Target architecture, how to add kernel for them and how to tweek rootfs, and how to tweek file system and others.

So it would be helpful for me if anyone can provide me some information about these things.

Best Regards,
Md.Rashedul Amin Rony

--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Building-a-Linux-from-scratch-and-new-target-architecture-tp122990.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

#1 lore raw

Hello,

Quoted 1 line · ronyboss

Recently I have been working with buildroot system and openwrt system. I

First of all, make sure to not confuse Buildroot and OpenWRT. They are completely different projects, and internally they work completely differently.

The OpenWRT documentation improperly calls the project "OpenWRT Buildroot" because OpenWRT was 10+ years ago a fork of Buildroot. But nowadays, the projects have nothing in common.

Quoted 7 lines

have successfully build the linux for raspberry pi and other different routers with my own modifications. Now I want to learn how to add custom Target architecture, how to add kernel for them and how to tweek rootfs, and how to tweek file system and others.

So it would be helpful for me if anyone can provide me some information about these things.

If you're really talking about Buildroot (http://buildroot.org), then please read the documentation at
https://buildroot.org/downloads/manual/manual.html. It gives all the details about customizing the rootfs, adding more packages, configuring the kernel, and more.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#5 lore raw
In reply to ronyboss

Hello Md.Rashedul Amin Rony,

Quoted 11 lines · ronyboss

Hello,

Recently I have been working with buildroot system and openwrt system. I have successfully build the linux for raspberry pi and other different routers with my own modifications. Now I want to learn how to add custom Target architecture, how to add kernel for them and how to tweek rootfs, and how to tweek file system and others.

So it would be helpful for me if anyone can provide me some information about these things.

Have you seen the Buildroot manual? I think it can be a good starting point on some of these topics:
http://buildroot.uclibc.org/downloads/manual/manual.html

In particular, you may be interested in chapters
"Project-specific customization"
http://buildroot.uclibc.org/downloads/manual/manual.html#customize
"Adding board support"
http://buildroot.uclibc.org/downloads/manual/manual.html#adding-board-support

Best regards,
Thomas

author
#2 lore raw
In reply to Thomas Petazzoni

Thanks Thomas Petazzoni. Yes I am aware of that Buildroot and OpenWRT are different from each other. Openwrt basically for low config hardwares, specially for Router.

But I am working with both. For router we are working with Openwrt. And for others like wifi camera, TV box etc we are working with buildroot.

So I have gone through https://buildroot.org/downloads/manual/manual.html
and still working with it.

Thomas De Schampheleire answered my question. So I will be working with it. I was looking for it and a bit detail guide about it if there is any.

--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Building-a-Linux-from-scratch-and-new-target-architecture-tp122990p123150.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

#3 lore raw
In reply to rony
Quoted 4 lines · rony

Thanks Thomas Petazzoni. Yes I am aware of that Buildroot and OpenWRT are different from each other. Openwrt basically for low config hardwares, specially for Router.

Quoted 10 lines

But I am working with both. For router we are working with Openwrt. And for others like wifi camera, TV box etc we are working with buildroot.

So I have gone through https://buildroot.org/downloads/manual/manual.html
and still working with it.

Thomas De Schampheleire answered my question. So I will be working with it. I was looking for it and a bit detail guide about it if there is any.

(strange: I did not receive Thomas Petazzoni's reply in my gmail...)