On 16/09/12 23:48, Paul Eggleton wrote:
OK, applied that fix, and it worked - I was able to successfully build the
kernel. Unfortunately the kernel would not boot using HaRET however
(stopped at loading the kernel), so given what you'd said previously about
HaRET I loaded the SDG 1.2.4 bootloader onto the device, but it still
doesn't want to boot:

--------- snip ---------
**** SDG Boot Loader for HX4700 ****
Enabling MMU
Identified Flash: 48F4400L0ZB0 (2x16)
Machine type is iPAQ hx4700
SDRAM size: 64 MB (0x04000000)
SDG Boot Loader, Rev 1.2.2-hx4700 [BIG_KERNEL] [MONO]
Last link date: Mon Jun 12 15:48:23 EDT 2006
Contact: supp...@sdgsystems.com
CPU company: INTEL
CPU Architecture: XScale
CPU Part: PXA270
ARM Processor Rev=00050000
(C) 2000-2001 Compaq Computer Corporation, provided with NO WARRANTY
               under the terms of the GNU General Public License.
(C) 2005-2006 SDG Systems, LLC.
Press Return to start the OS now, any other key for command line
type "?" or "help" for help.
boot> boot
booting flash...
booting kernel from partition >kernel<
kernel partition base 00100000
kernel_magic=E1A00000
kernel_region_words[9]=016F2818
Linux ELF flash_imgstart=00100000 size=00200000 dest=A0000000 offset=00008000
MMU Control=00000079
MMU PIDVAM=00000000
copying Linux kernel ... done
A0008000: E1A00000
A0008004: E1A00000
A0008008: E1A00000
A000800C: E1A00000
A0008010: E1A00000
A0008014: E1A00000
A0008018: E1A00000
A000801C: E1A00000
A0008020: EA000002
A0008024: 016F2818
root_filesystem_name=initrd
Grabbed linuxargs, argc = 00000002
Using mach_type 00000232
setting boot parameters to
  root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyS0,115200n8
Making core tag at A0000100
Making cmdline tag at A0000114
Making mem32 tag at A0000200
command line is:
mtdparts=ipaq:0x00100000@0x00000000(bootldr)ro,0x00200000@0x00100000(kernel),0x04CC0000@0x00300000(root),0x03000000@0x04FC0000(home),0x00040000@0x07FC0000(asset)
  root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyS0,115200n8
linuxEntryPoint=A0008000
Booting Linux image
Uncompressing Linux... done, booting the kernel.
--------- snip ---------

...and that's all she wrote. I can only assume there is some problem in
the way I am building the kernel (using a recipe with OpenEmbedded).

hmm, my wild guess would be that the kernel is not receiving the
correct partition information. I don't know how HaRET communicates the
partition information, but the SDG bootloader uses the mtdparts kernel
parameter, which in turn requires CONFIG_MTD_CMDLINE_PARTS to be
defined in the kernel config file.

Also if you define CONFIG_VT_CONSOLE you should see some kernel output
on the LCD screen.

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to