Final Release -0.3

Hi all, today I gonna post my final release-0.3 for my project: Running Fedora on BeagleBone.

Before I show you the final release, I would like to tell you what did I did recently.

So far, I already get F17 userspace working with the Angstrom kernel on BeagleBone. How I made it works, you can go through my previous post –Release 0.2

Now, I’m on the way to change the kernel configuration file and rebuild the kernel.

——————————————————————————————————————

I compared the Angstrom’s and F18’s kernel config file:

Here is the Angstrom’s kernel config file: http://matrix.senecac.on.ca/~jcqiu/SBR600/Ang-config.txt
Here is the F18’s kernel config file: http://matrix.senecac.on.ca/~jcqiu/SBR600/Fedora-18-arm-Configfile%20(copy).txt

By comparing these two files, I most focus on the “OMAP” and “Kernel”  part,

Here is the change rule I followed:
if something is include in Ang kernel file, and not include in the F18′s, make it include in the F18′s config file if it is important.
for example: in Ang kernel config file: there is a line:  “CONFIG_OMAP_MCBSP=y”    but not in F18′s. I google it and/or use the Make menuconfig to search the meaning of this line. if it is important, it could be the problem which causes the F18 kernel not running success in BB. If so, I just add this line to the F18′s kernel config file.

Here are the lines I add in the F18 kernel config file:

CONFIG_OMAP_MCBSP=y
CONFIG_OMAP3_EDMA=y
CONFIG_SPI_OMAP24XX=y
CONFIG_OMAP2_VRAM=y
CONFIG_FB_OMAP2=m
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
CONFIG_FB_OMAP2_NUM_FBS=3
CONFIG_RTC_DRV_OMAP=y
CONFIG_OMAP_IOVMM=y
CONFIG_OMAP_IOMMU_DEBUG=y
CONFIG_THUMB2_KERNEL=y

Here is the final f18’s config file: http://matrix.senecac.on.ca/~jcqiu/SBR600/Fedora-18-arm-Configfile.txt

——————————————————————————————————————

After I done the compare part. I did some research and go to channel to ask people how to build a kernel use this updated F18 kernel config file.  However, didn’t catch the useful information.

I go to talk to Raymond Chan, and he suggest to download a Kernel source code and have a look first. It would be helpful if I gonna build a kernel.

last night, Chris give me some useful information in channel. He tell me how to build a kernel for BB.

I download a kernel source from http://www.kernel.org/
I untar this tar ball, and it give me a folder named “linux-3.6.9”:

[jcqiu@Fedora17 linux-3.6.9]$ ls
arch     crypto         fs       Kbuild   MAINTAINERS  README          security  virt
block    Documentation  include  Kconfig  Makefile     REPORTING-BUGS  sound
COPYING  drivers        init     kernel   mm           samples         tools
CREDITS  firmware       ipc      lib      net          scripts         usr

I run the “make menuconfig” command as root under this folder.

——————————————————————————————————————

Because I don’t have enough time(Due on today) to continue work on it, so I just test on what I already have. and there is the boot up message I got when I run the BB base on F18 kernel(uImage), and F17 userspace:

U-Boot SPL 2011.09-00000-gf63b270-dirty (Apr 24 2012 – 09:51:01)
Texas Instruments Revision detection unimplemented
No AC power, disabling frequency switch
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.09-00000-gf63b270-dirty (Apr 24 2012 – 09:51:01)

I2C:   ready
DRAM:  256 MiB
No daughter card present
NAND:  HW ECC Hamming Code selected
nand_get_flash_type: unknown NAND device: Manufacturer ID: 0x10, Chip ID: 0x10
No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning – readenv() failed, using default environment

Net:   cpsw
Hit any key to stop autoboot:  0
SD/MMC found on device 0
reading uEnv.txt

418 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
Loading file “/boot/uImage” from mmc device 0:2 xxa2
3760680 bytes read
## Booting kernel from Legacy Image at 80007fc0 …
Image Name:   Linux Kernel
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    3760616 Bytes = 3.6 MiB
Load Address: 80008000
Entry Point:  80008000
Verifying Checksum … OK
XIP Kernel Image … OK
OK

Starting kernel …

——————————————————————————————————————

Here is my Final Release 0.3:
https://docs.google.com/open?id=0BxheefHomqmzTmMxeXJ6Tk5ZTjg

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s