Sponsored Content
Operating Systems Linux Help Cross compiling a kernel for an HP Jornada 728 Post 302360863 by semash! on Sunday 11th of October 2009 01:15:58 AM
Old 10-11-2009
Help Cross compiling a kernel for an HP Jornada 728

Hello,
I just bought an old Jornada 728 and, as you may know, it comes with Windows CE 3.0. I do not use Windows, so i wanted to create my own linux system for the Jornada.

I know there are projects like Jlime, Familiar Linux, 720 Degrees, etc. But i want something based on the distribution i use, Slackware and made by myself.

My problem is weird, i have a gcc compiler for ARM platform (arm-linux-gcc) and i'm using linux kernel version 2.6.30.5. Here are the steps i follow:
(on /home/linux-2.6.30.5/)

1. make mrproper
2. cp arch/arm/configs/jornada720_defconfig .config
So i use a default configuration kernel for that computer, it should work as is, but doesn't.

3. make ARCH=arm CROSS_COMPILE=/path/to/arm-linux- menuconfig
I configure the kernel to fit my needs...
4. make

Now i have a zImage created on arch/arm/boot/, so i copy it to the Jornada CompactFlash memory. This Kernel image is supposed to be loaded from WinCE by a program called linexec.exe, it uses a params.txt file, which i have configured as follows:

\Storage Card\zImage
\Storage Card\initrd.gz

Three days ago, i successfully created a bootable kernel on the Jornada, it hanged at loading the initial ramdisk, but IT WORKED, there appeared tux on the display, loaded the TCP/IP stack, etc. The thing is that now i am not able to make a working kernel!, i compile it, and when loading from the device, the WinCE hangs and does nothing, or the linexec.exe shows a black screen as if it was going to boot, but nothing shows up or happens.

The processor is a StronARM SA-1110, and yes, i configure the kernel with support for SA-1111 and SA-1100 based processors.

My questions are:

-Is there a reason for a kernel to not be "bootable" on that device?
-Which steps am i passing by to make the kernel work, if any?
-Can you please guide me on successfully compile a kernel for this computer?

Please excuse my poor english, it's not my mother language.
Thanks in advance.
 

4 More Discussions You Might Find Interesting

1. Programming

Cross compiling under Windows for Linux

I have two headless servers I am writing code for, and a Windows box networked with them. I want to compile my code within an IDE on the Windows box (eclipse most likely) and run the compiled binarys on the Linux boxes. Will this work? Using Cygwin (or MinGW)? Thoughts? Cheers, Ian (8 Replies)
Discussion started by: IanVaughan
8 Replies

2. Linux

kernel compiling

Hello, I have several questions to get awnsered about the newer linux kernels (2.6.25) and above. 1st question: Ive read that the newer kernels you can compile the marvell sd8686 driver from the source. can anyone confrim this? only binaries i see for that driver are for 2.6.24 and im already... (0 Replies)
Discussion started by: old noob
0 Replies

3. UNIX for Dummies Questions & Answers

Cross-compiling libiconv for uclinux

Hi everyone, I want to cross-compile libiconv for uclinux to create a static library. I use the following command : ./configure --enable-static --disable-shared --build=i686-pc-linux-gnu --host=nios2-unknown-linux-gnu --prefix=/home/captain/Programs/nios2-linux/uClinux-dist/staging/usr... (2 Replies)
Discussion started by: moganesh
2 Replies

4. UNIX and Linux Applications

Cross Compiling Issue of udev-151 for MIPS Little Endain Architecture

Hi All, I am trying to cross compile udev-151 for MIPS little endian architecture. I am configuring like this: ./configure --prefix=$PWD/sree --host=mips-linux-gnu configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then... (3 Replies)
Discussion started by: bsreeram
3 Replies
LINUX(4)						   BSD Kernel Interfaces Manual 						  LINUX(4)

NAME
linux -- Linux ABI support SYNOPSIS
To compile support for this ABI into an i386 kernel place the following line in your kernel configuration file: options COMPAT_LINUX for an amd64 kernel use: options COMPAT_LINUX32 Alternatively, to load the ABI as a module at boot time, place the following line in loader.conf(5): linux_load="YES" DESCRIPTION
The linux module provides limited Linux ABI (application binary interface) compatibility for userland applications. The module provides the following significant facilities: o An image activator for correctly branded elf(5) executable images o Special signal handling for activated images o Linux to native system call translation It is important to note that the Linux ABI support it not provided through an emulator. Rather, a true (albeit limited) ABI implementation is provided. The following sysctl(8) tunable variables are available: compat.linux.osname Linux kernel operating system name. compat.linux.osrelease Linux kernel operating system release. Changing this to something else is discouraged on non-development systems, because it may change the way Linux programs work. Recent versions of GNU libc are known to use different syscalls depending on the value of this sysctl. compat.linux.oss_version Linux Open Sound System version. The linux module can be linked into the kernel statically with the COMPAT_LINUX kernel configuration option or loaded as required. The fol- lowing command will load the module if it is neither linked into the kernel nor already loaded as a module: if ! kldstat -v | grep -E 'linux(aout|elf)' > /dev/null; then kldload linux > /dev/null 2>&1 fi Note that dynamically linked Linux executables will require a suitable environment in /compat/linux. Specifically, the Linux run-time linker's hints files should be correctly initialized. For this reason, it is common to execute the following commands to prepare the system to correctly run Linux executables: if [ -x /compat/linux/sbin/ldconfig ]; then /compat/linux/sbin/ldconfig -r /compat/linux fi For information on loading the linux kernel loadable module automatically on system startup, see rc.conf(5). This information applies regardless of whether the linux module is statically linked into the kernel or loaded as a module. FILES
/compat/linux minimal Linux run-time environment /compat/linux/proc limited Linux process file system /compat/linux/sys limited Linux system file system SEE ALSO
brandelf(1), elf(5), linprocfs(5), linsysfs(5) HISTORY
Linux ABI support first appeared in FreeBSD 2.1. BSD
February 8, 2010 BSD
All times are GMT -4. The time now is 07:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy