* [U-Boot] Fwd: Help with replacing u-boot and kernel on a released HW...
[not found] <mailman.6736.1286962849.8190.u-boot@lists.denx.de>
@ 2010-10-13 9:43 ` Naresh Mehta
2010-10-15 16:01 ` Detlev Zundel
0 siblings, 1 reply; 3+ messages in thread
From: Naresh Mehta @ 2010-10-13 9:43 UTC (permalink / raw)
To: u-boot
Hi List,
I am not able to attach the files. But they haven't been changed from
the original versions so hopefully, I still can be helped!
BR; Naresh
---------- Forwarded message ----------
From: <u-boot-owner@lists.denx.de>
Date: Wed, Oct 13, 2010 at 11:40 AM
Subject: Help with replacing u-boot and kernel on a released HW...
To: nareshtechs at gmail.com
Message rejected. No base64 encoded MIME text parts allowed.
---------- Forwarded message ----------
From:?Naresh Mehta <nareshtechs@gmail.com>
To:?u-boot at lists.denx.de
Date:?Wed, 13 Oct 2010 11:40:43 +0200
Subject:?Help with replacing u-boot and kernel on a released HW...
Hi List,
I have a monta-vista linux based smartphone (Garmin Asus G60). It runs
u-boot and kernel 2.6.21. Since it is a released HW and from the
u-boot code, I can see that there are no ways to stop the existing
u-boot to boot the default kernel installed. There is a possibility to
do a region update from the memory card on boot-up. Looking at the
code, there is also a possibility to do a recover region i.e.
according to the comment it says, download Garmin region from USB.
Both the above methods basically run the same command "tffs_load 3
0x80007FC0;bootm 0x80007FC0". The tffs_load is attached in the email.
I have tried to put a bootable .bin file with a modified u-boot and
kernel but it does not seem to get loaded. I have tried loading the
kernel at 0x80007FC0, 0x80000000 and 0x0. I am out of ideas on how I
could get the modified u-boot and kernel on the device. Any pointers
would be greatly appreciated.
Just to be clear on how I create the bootable .bin:
- Compile u-boot for montana board (used for this device)
- Compile the kernel with montana_dev_defconfig and some kernel debug
options enabled
- Generate a bootable image from vmlinux with different load address
configurations as described above
- cat u-boot.bin and the bootable image to form a .bin file
- Place the file on the sdcard and re-boot.
I am now out of ideas. BTW, the HW consists of OMAP2430 and associated
components with an Ericsson U360 modem. I am attaching the montana.h
file for further reference which will give some overview of the G60
HW. My final goal is to load Android on this device but for that I
need new u-boot and modified kernel to get loaded first.
Cheers,
--
BR; Naresh
visit me at:
http://www.naresh.se/
--
BR; Naresh
visit me at:
http://www.naresh.se/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Fwd: Help with replacing u-boot and kernel on a released HW...
2010-10-13 9:43 ` [U-Boot] Fwd: Help with replacing u-boot and kernel on a released HW Naresh Mehta
@ 2010-10-15 16:01 ` Detlev Zundel
[not found] ` <AANLkTi=PXGBTAut=T6rsNFpPsUoLMtZDRVuL=+oVxOEG@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Detlev Zundel @ 2010-10-15 16:01 UTC (permalink / raw)
To: u-boot
Hi Naresh,
> I am not able to attach the files. But they haven't been changed from
> the original versions so hopefully, I still can be helped!
Can't you use a different mailer? Attaching files without using base64
isn't all _that_ hard.
[...]
> Subject:?Help with replacing u-boot and kernel on a released HW...
> Hi List,
>
> I have a monta-vista linux based smartphone (Garmin Asus G60). It runs
> u-boot and kernel 2.6.21. Since it is a released HW and from the
> u-boot code, I can see that there are no ways to stop the existing
> u-boot to boot the default kernel installed. There is a possibility to
> do a region update from the memory card on boot-up. Looking at the
> code, there is also a possibility to do a recover region i.e.
> according to the comment it says, download Garmin region from USB.
> Both the above methods basically run the same command "tffs_load 3
> 0x80007FC0;bootm 0x80007FC0". The tffs_load is attached in the email.
To even start to help you, I'd need to understand better how the
"regular" boot process works and what you try to achieve. From the
informatino you provide, I cannot infer this.
> I have tried to put a bootable .bin file with a modified u-boot and
> kernel but it does not seem to get loaded. I have tried loading the
> kernel at 0x80007FC0, 0x80000000 and 0x0. I am out of ideas on how I
> could get the modified u-boot and kernel on the device. Any pointers
> would be greatly appreciated.
>
> Just to be clear on how I create the bootable .bin:
> - Compile u-boot for montana board (used for this device)
In mainline I cannot find a "montana" board. What sources do you use?
> - Compile the kernel with montana_dev_defconfig and some kernel debug
> options enabled
Also in the Linux kernel I cannot find such a configuration.
> - Generate a bootable image from vmlinux with different load address
> configurations as described above
> - cat u-boot.bin and the bootable image to form a .bin file
> - Place the file on the sdcard and re-boot.
>
> I am now out of ideas. BTW, the HW consists of OMAP2430 and associated
> components with an Ericsson U360 modem. I am attaching the montana.h
> file for further reference which will give some overview of the G60
> HW. My final goal is to load Android on this device but for that I
> need new u-boot and modified kernel to get loaded first.
Whoever came up with the "montana.h" file may be in a better position to
help you. Do you know who that was?
Cheers
Detlev
--
C hasn't changed much since the 1970s. And let's face it it's ugly.
Can't we do better? C++? (Sorry, never mind.)
-- Rob Pike
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Fwd: Help with replacing u-boot and kernel on a released HW...
[not found] ` <AANLkTi=PXGBTAut=T6rsNFpPsUoLMtZDRVuL=+oVxOEG@mail.gmail.com>
@ 2010-10-18 12:47 ` Naresh Mehta
0 siblings, 0 replies; 3+ messages in thread
From: Naresh Mehta @ 2010-10-18 12:47 UTC (permalink / raw)
To: u-boot
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-2.43-sources.tar.bz2
> --
>
> BR; Naresh
>
> visit me at:
> http://www.naresh.se/
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-18 12:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6736.1286962849.8190.u-boot@lists.denx.de>
2010-10-13 9:43 ` [U-Boot] Fwd: Help with replacing u-boot and kernel on a released HW Naresh Mehta
2010-10-15 16:01 ` Detlev Zundel
[not found] ` <AANLkTi=PXGBTAut=T6rsNFpPsUoLMtZDRVuL=+oVxOEG@mail.gmail.com>
2010-10-18 12:47 ` Naresh Mehta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox