Doc/Serial problems in HHL 1.2?
Hello!
I've just installed the HHL 1.2 CD and I've run into a couple of problems.
After installing the 1.2 CD, the 'make' would not work without studying the Makefile and then adding a couple of files (.hhl_target_cpu and .hhl_cross_compile). After putting these in, the compile began but then failed at math-emu (it no longer exists in the 1.2 subdirectory tree). Are the .hhl* files created automatically somewhere? Upon removing the Math Emulation configuration item, the build continued.
Finally, the kernel built for the 860CLLF consistently results in a Bad Trap in my_console_write. It appears that the uart.c file (where my_console_write resides) has undergone major surgery.
Any idea what's up?
Thanks,
Tim.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 10 lines · M. Tim Jones
I've just installed the HHL 1.2 CD and I've run into a couple of problems.
After installing the 1.2 CD, the 'make' would not work without studying the
Makefileand then adding a couple of files (.hhl_target_cpu and .hhl_cross_compile). After putting these in, the compile began but then ffailed at math-emu (it no longer exists in the 1.2 subdirectory tree). Are the .hhl* files created automatically somewhere? Upon removing the Math Emulation configuration item, the build continued.
Quoted 5 lines
Finally, the kernel built for the 860CLLF consistently results in a Bad Trap in
my_console_write. It appears that theuart.cfile (wheremy_console_writeresides) has undergone major surgery.Any idea what's up?
I'm guessing that you are trying to use the hhl-kernel* package. This is the generic kernel source; it's really only used to build the target-specific packages.
You really should be using one of the LSP (Linux Support Package) RPMs. These include the .hhl files (which configure the kernel build architecture and cross development tools) and an appropriate default configuration. I don't think we have an 860CLLF LSP, but the mbx860 or linuxplanet configs should be close.
Everything is include in the LSP; you don't even have to have the hhl-kernel RPM installed to build a kernel for an LSP.
--
Joe Green <[email protected]>
MontaVista Software, Inc.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 1 line · Joe Green
I don't think we have an 860CLLF LSP, ...
Umm, I think you do in 1.2:
hhl-ppc_8xx-cllf-lsp-2.2.14-1.2.2-3.noarch.rpm
hhl-ppc_8xx-cllf-lsp-binaries-2.2.14-1.2.2-3.noarch.rpmRegards,
Graham
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Graham Stoney
Quoted 1 line · Joe Green
I don't think we have an 860CLLF LSP, ...
Umm, I think you do in 1.2:
hhl-ppc_8xx-cllf-lsp-2.2.14-1.2.2-3.noarch.rpm hhl-ppc_8xx-cllf-lsp-binaries-2.2.14-1.2.2-3.noarch.rpmRegards,
Graham
This is what I'm using, but the kernel still crashes in my_console_write. I'm about to do a fresh install on a node that's never hosted the HHL distro (since my current host has both 1.0 and 1.1 on it and I want to rule out any conflicts).
Tim.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 2 lines · Joe Green
.... I don't think we have an 860CLLF LSP, but the mbx860 or linuxplanet configs should be close.
Yes, there is a LSP for the 860 CLLF. It is called:
hhl-ppc_8xx-cllf-lsp-2.2.14-1.2.2-3.noarch.rpm -- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 1 line · Joe Green
I don't think we have an 860CLLF LSP, ...
Quoted 3 lines · Graham Stoney
Umm, I think you do in 1.2:
hhl-ppc_8xx-cllf-lsp-2.2.14-1.2.2-3.noarch.rpm hhl-ppc_8xx-cllf-lsp-binaries-2.2.14-1.2.2-3.noarch.rpm
Quoted 2 lines · Dan Malek
Yes, there is a LSP for the 860 CLLF. It is called:
hhl-ppc_8xx-cllf-lsp-2.2.14-1.2.2-3.noarch.rpm
You're both right, of course. I just did a quick search for 860, which missed it. Sorry for the misinformation.
--
Joe Green <[email protected]>
MontaVista Software, Inc.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/