[linux-sh:03381] Re: Booting Linux on HP 620LX - shlo syntax problem

"Volker Jahns" <[email protected]> Wed, 5 Jan 2005 11:42:12 +0100 (CET)
Newsgroups gmane.linux.ports.sh.general
Message-ID <[email protected]>
So far I went w/ hpcboot on the HP Jornada 620lx:

Successful boot of kernel using hpcboot
=======================================
netbsd-GENERIC
--------------
netbsd GENERIC Kernel hpcsh

The kernel boots fine, keyboard works. I haven't gone to root filesystem for
an interactive system. But that seems to me like peanuts ;-)

jahns@condor sh3 > file netbsd-GENERIC-boots-OK
netbsd-GENERIC-boots-OK: ELF 32-bit LSB executable, Hitachi SH, version 1
(SYSV), statically linked, not stripped

Boot not successful
===================
Linux from dodes.org
--------------------
- hpcboot loads the kernel
- still loading under WinCE window pops up: "no symbol and/or string table
in binary (not fatal)"
- black screen on the jornada turns up with the HP copyright string
- printed "Booting warm ..."
- printed "exception event code = 100"
- printed "Address Error (store)"

jahns@condor sh3 > file vmlinux-hp620
vmlinux-hp620: ELF 32-bit LSB executable, Hitachi SH, version 1 (SYSV),
statically linked, stripped


Linux from jlime.com
-------------------
hpcboot refuses to boot this kernel.

jahns@condor sh3 > file sh3-k2.6.4-hp620
sh3-k2.6.4-hp620: Linux Kernel, Setup Version 0x202, bzImage, root_dev
0x9, swap_dev 0x9, RAMdisksize 9 KB, Video mode 9
Linux from BlandLinuxCE
------------------------
hpcboot refuses to boot this kernel.

jahns@condor sh3 > file zImage-HP620
zImage-HP620: data


Somehow the file type determines if hpcboot can boot a kernel image or not.
The netbsd kernel is not stripped, the dodes Linux kernel is (but does
this mean it will not boot because of this?).


Ah, as I see from Philipp's hint to the Jornada 720 website
(http://acid.ch.pw.edu.pl/~sq5bpf/mylinux/linux-jornada720/) :

"Hpcboot is able to load ELF objects"

So the question for me is:
How do I transfrom the Jlime Linux kernel into an ELF exec?
Could you comment on this, please?


--
Actually, hpcboot is picky about filenames, but for me it was _not_ necessary
- to copy the kernel to a specific place ( it was in the root of the
storage card)
- to attach a serial cable to the jornada, though it is nice to watch the
kernel boot over serialline.



> Hi,
>
> Nice that someone finally got a working shlo for wince <2.11. Checkout my
> site www.jlime.com, it's not fully up yet, but there should be some
> kernels
> there for you to try. And some functional shlo configs.
>
> I'm currently working on getting 2.6.9 up to stat which is almost done.
>
> Best wishes
> Kristoffer
>
>
>>From: "Volker Jahns" <[email protected]>
>>To: [email protected]
>>Subject: [linux-sh:03377] Booting Linux on HP 620LX - shlo syntax problem
>>Date: Thu, 16 Dec 2004 08:49:44 +0100 (CET)
>>
>>I have some trouble to boot Linux on a HP 620LX:
>>
>>Sofar, I have been successful to boot netbsd using a hpcboot executable I
>>got from Philipp Rosenkranz and which is compiled for WinCE 2.0 ( thanks
>> a
>>lot, Philipp ). Other hpcboot executables will refuse to start execution
>>(maybe a WinCE 2.11 problem ?).
>>
>>The shlo.exe which are on dodes.org and somewhere at innismir.net
>> wouldn't
>>work. Also here, Philipp compiled a shlo.exe for WinCE 2.0 which will
>>start execution on the hp620lx. But then, it complains about the syntax
>> of
>>the shlo.txt file:
>>--
>>    "config linux" is not a valid option.
>>--
>>So, I wonder if somebody could direct me to the correct syntax of the
>>config file. That would be great!
>>
>>
>>I have even setup a cross chain to compile WinCE sh3 executables under
>>Linux, but I came only sofar as some miniprogs will execute and do
>>popup-windows. Programs which do only an openfile simply won't work :-(
>>E.g. shlo compiles, but then executes incorrectly.
>>
>>--
>>Volker Jahns, [email protected]
>>
>>
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>


-- 
Volker Jahns, [email protected]