Ubuntu porting source

Hi all,

I wanna to port ubuntu to my devkit8k board , however i cannot find
the source of the ubuntu for porting.
i would like to ask where can i find the source files needed for
compiling ?And it there any different between porting ubuntu and
Android?

Thanks and Regards,
King.S

check this link
http://elinux.org/Devkit8000_Ubuntu

If you want to get at the package sources, they're available from
ports.ubuntu.com. If you've installed an Ubuntu system already (possibly
following Shiriram's link), you can just add a normal source line to your
sources.list.

Cameron.

From the above link, inside the webpage, it direct me to
http://www.elinux.org/BeagleBoardUbuntu#Demo_Image.
And in that link ithe rfs seems need to compile over the internet,
however the internet here is not very stable i would like to download
the source in my ubuntu machine and then compile.
By the way, i would like to ask how to compile the sources once i
finish downlad the source?
Could anyone direct me the method?

Thanks and Regards,
King.S

Umm, there is no 'compiling' of ubuntu... All ubuntu packages are
built on ubuntu's servers and stored as *.deb files, these are then
downloaded thru apt and friends... rootstock is a tool to assemble
those armel *.deb into a rootfs, which you can do too... Or you can
use one of the pre-built rootfs's i've created and uploaded to
rcn-ee.net for quick installs..

Regards,

I would recommend installing apt-cacher-ng, or similar. It operates as a local
lazily-filled transparent repository cache. It saved me lots of downloading
time when I was messing about with rootstock.

Your other option is to set up a local mirror for ports.ubuntu.com, but that
would be a lot more work.

Also, do you actually want the source to build the packages, or do you just
mean that you want the packages locally?

Cameron.

Hi, thx all ur reply.
As i 1st dont know why when i do rootstock it stop at" I: Extracting
zlib1g..." everytime that's why i wanna built locally. Second reason
is, its seem that it will save more time once when i wanna rebuild the
rfs image, for example adding some dependent lib for VLC or other
applcation software, as no need through the internet.
By the way, in the rootstock command seem inlude building the kernel
as well i would like to ask how can i patch that kernel for my board
as i am in devkit8000 board?
So many question, thx again!

Thanks and Regards,
King.S

king <king06552002@gmail.com> [2010-03-04 18:53:14]:

Hi, thx all ur reply.
As i 1st dont know why when i do rootstock it stop at" I: Extracting
zlib1g..." everytime that's why i wanna built locally.

Maybe it's because you don't have qemu-arm-static binary, or some other Qemu
dependency.

Second reason
is, its seem that it will save more time once when i wanna rebuild the
rfs image, for example adding some dependent lib for VLC or other
applcation software, as no need through the internet.

I would suggest you looking at Openembedded/Angstrom if you need this, because
Ubuntu doesn't crosscompile, so this means, that you would need to compile
"packages" on your devkit board or similar...

By the way, in the rootstock command seem inlude building the kernel
as well i would like to ask how can i patch that kernel for my board
as i am in devkit8000 board?

No, rootstock doesn't build the kernel, it just reuses .deb package. You will
need to build it yourself, how-to[1].

1. http://elinux.org/BeagleBoardUbuntu#Kernel_Modules

-- ynezz

Thx all ur help~~!!
i got all ur advice~ it really help me!

Thanks and Regards,
King.S

Guys,

I’m a little lost among these messages about Ubuntu. I have to modify the Ubuntu kernel a little to adapt to my board. Is it possible to take some sources for ubuntu, make changes and compile them to run the demo?

regards,
Max

2010/3/5 king <king06552002@gmail.com>

You already have a ported-Ubuntu (beagleboard-ready) to try out.

Regards,
Sri.

I havent tried this, but I think: If you can Get hold of a kernel
source in the same version as your root file system, you only have to
replace uBoot in order to do what you want, because the kernel loads
fro uboot and not your root filesystem. To find out which version you
need to compile, type uname -a on your running beagleboard.

If the version of uboot and root fs dont match you'll not be able to
load kernel modules.

Maxim Podbereznyi <lisarden@gmail.com> [2010-03-05 16:16:54]:

I'm a little lost among these messages about Ubuntu. I have to modify the
Ubuntu kernel a little to adapt to my board. Is it possible to take some
sources for ubuntu, make changes and compile them to run the demo?

Steps to build the kernel[1]. I don't know about which demo are you talking
about...

1. http://elinux.org/BeagleBoardUbuntu#Kernel_Modules

-- ynezz