
Hi Detlev/All,
I am not able to attach the u-boot source because of the size limit. I though have the URL in the email below. It would be very helpful if you can get the code directly from the URL and help me with the questions.
BR; Naresh
On Mon, Oct 18, 2010 at 11:49 AM, Naresh Mehta nareshtechs@gmail.com wrote:
Hi Detlev,
Thanks for the reply. Garmin-Asus had released a LBS phone known as G60 back in 2009. It runs MontaVista flavor of Linux with kenel 2.6.21 and a proprietary/closed UI. The device is based on OMAP 2430 and most of the components are not changed from the 2430 SDP (at least thats what I get skimming through the sources).
The source is available at [1]
Source folder structure is a bit complex since the source is divided into top level license folders and then a tar.bz2 of the open source SW used. For example: U-boot source is located at /GPL/u-boot-1.1.4/. There are 2 files in the folder u-boot-1.1.4.diff.tar.bz2 and u-boot-1.1.4.orig.tar.bz2. The logic is to have the unmodified original source in the orig tarball and the diffs in the diff tarball. The diff in this particular case is only a PGP key patch.
I was a bit surprised but took the info at face value. After your email, I downloaded 1.1.4 and did a diff with the .orig.bz2 and did in fact find a lot of differences. Ideally they should have been provided as patches in the .diff.bz2 tarball. So the montana config and associated changes are not in the 1.1.4 master. I am pretty sure that the montana_config has been used since a FLASHTOOL_KERNEL_CMD_LINE has been used in the main.c which is unique to montana board. The main has been modified to look for key events. All other options are disabled in the release build except for the region update. And the region update uses tffs to load tffs_load 3 0x80007FC0;bootm 0x80007FC0 something at 0x80007FC0 and probably start bootm from there.
It would be great if someone can help me and look into tffs_load call and tell me how I should deceive the device to update the included u-boot and kernel with a modified one. My client is gmail and that sends attachments in base64 encoding. I am attaching the source code for u-boot as distributed by Garmin for G60 APAC v2.43. It is also available at the source at [1].
Thanks for your time and efforts.
[1] http://developer.garmin.com/linux-software/nuvifoneg60apac/nuvifone-g60-apac...
BR; Naresh
visit me at: http://www.naresh.se/