
- HDMI AND DVI options
- HSUSB hub and Ethernet yaay..
- Serial port is a decent serial port and no weird wiring needed ;)
- Connectors pin compatible to beagle and xm.. :)
- Did I forget to say you have 1271 onboard wlan??
Linux, U-Boot, OMAP, opensource, scripting, technology news are my interest areas.
## Booting kernel from Legacy Image at c0700000 ...And that's it - no useful messages for the kernel geeks to figure out where the boot sequence crashed, no real debug information at all!
Image Name: Linux-2.6.32-rc6
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1939152 Bytes = 1.8 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Kernel low-level debugging functions (DEBUG_LL) [N/y/?] (NEW) y
Early printk (EARLY_PRINTK) [N/y/?] (NEW) y
Kernel low-level debugging via EmbeddedICE DCC channel (DEBUG_ICEDCC) [N/y/?] (NEW) n
setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootdelay=2 init=/bin/ash
setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootdelay=2 init=/bin/ash earlyprintk
sudo apt-get install rpmAnd viola I have rpmbuild packaging. the first version of the spec file I wrote (very little modified from Silvan's original version) build with the following command:
rpmbuild -ba u-boot.spec --define="CROSS_COMPILE arm-none-linux-gnueabi-" --define="TARGET_BOARD omap4_panda" --define "TARGET_CPU arm" --target="arm"(note: I was still ignorant of OBS realities at this point ;).. Remember, I am a newbie ;) )..
rpmbuild -ba u-boot.specshould build me a meego rpm for my platform.. But, wait a minute.. how does OBS know which platforms I intended it to build? Stskeeps pointed me to the kernel package as an example - exactly the same pain - n900, netbook etc need their own separate builds. in some cases individual patches to be applied independent of each other. Lets digress a little and understand how the trick works for kernel.
obs looks for the spec file with the same name as the obs package nameIn the case of kernel, the main package kernel is linked to packages kernel-ivi, kernel-mrst, kernel-n900 kernel-netbook etc. . The core package kernel has the spec files: kernel.spec, kernel-ivi.spec, kernel-mrst.spec, kernel-n900.spec, kernel-netbook.spec along with the same source.
@@N900 Name: kernel-n900which basically means introduce Name:kernel-n900 only for n900 spec file. This is provided to a simple perl script called makespec.pl -> it is a very simple tag replacement logic -> It checks if a file called N900 exists, if yes, it enables all lines marked with @N900
touch N900so when you do a make in the repo, it generates platform specific spec files from kernel.spec.in -> and you now have spec files for each package(aka platform) and a single spec.in file to maintain.
makespec.plkernel-n900.spec
rm N900
Makefile -> This is for me to generate the platform specific spec filesSo, if i do a make clean all my platform specific .spec files disappear. on doing a make a new set of platform specific spec files are generated from my u-boot.spec.in file. Nifty. Tested the build and it built fine with u-boot.spec file
makespec.pl -> tiny modifications to allow Panda replacements
series -> this was for future patches that might come in.. I need to work this out..
u-boot-2010.09.rc1.tar.bz2 -> rc1 tarball from denx.com
u-boot-omap4panda.spec -> This is the generated file
u-boot.spec -> "generic" spec file: It does a PandaBoard build at the moment, we can figure things out when we enable something else
u-boot.spec.in -> the main spec file
RPMLINT report:
===============
u-boot-tools.armv7l: W: package-with-huge-docs 77%
More than half the size of your package is documentation. Consider splitting
it into a -doc subpackage.
u-boot.src:143: W: macro-in-%changelog %{TARGET_BOARD}
Macros are expanded in %changelog too, which can in unfortunate cases lead to
the package not building at all, or other subtle unexpected conditions that
affect the build. Even when that doesn't happen, the expansion results in
possibly "rewriting history" on subsequent package revisions and generally odd
entries eg. in source rpms, which is rarely wanted. Avoid use of macros in
%changelog altogether, or use two '%'s to escape them, like '%%foo'.
u-boot.src:22: W: hardcoded-packager-tag Nishanth
The Packager tag is hardcoded in your spec file. It should be removed, so as
to use rebuilder's own defaults.
3 packages and 0 specfiles checked; 0 errors, 3 warnings.
MakefileBingo - for your enjoyment - the final rpm packages are here
makespec.pl
series
u-boot-2010.09.rc1.tar.bz2
u-boot.changes
u-boot.changes.in
u-boot-omap3beagle.changes
u-boot-omap3beagle.spec
u-boot-omap4panda.changes
u-boot-omap4panda.spec
u-boot.spec
u-boot.spec.in
osc co home:nm:bootloader:u-bootChecks out my u-boot repository
osc statusTells me what files have been modified or if there are any new files what they were
osc add file1 file2 file3...Adds the files to the list of changes to be pushed to my repo
osc ci -m "my commit message"Commits my changes and pushes to my repo with the changes noted with commit message "my commit message"
sudo apt-get install osc
[general]Cute.. "osc ls" worked out of the box after this.
apiurl = http://api.meego.com
packagecachedir = /home/nmenon/src/meego/osbuild-packagecache
[http://api.meego.com]
user = my_obs_login
pass = my_obs_passwd
aliases = meego
email = my_email_id
http_proxy="https://proxy:80/"
osc co home:nm:bootloader:u-bootand viola I have a clone!