problems with ppc405 on 2.6.11.8.
-----BEGIN PGP SIGNED MESSAGE-----
A customer of mine has a PPC405 system, which was based upon the Embedded Planet design. It runs U-boot 0.4.0, and the system currently ships with a kernel based upon Timesys 2.4.18.
We are in the process of upgrading to 2.6.11. (linus, not timesys. We see no value add from timesys)
The major stumbling block was using boot/simple/{head,relocate}.S, and the inftrees.c. For reasons we do not understand, the system would fail in huft_build() when (setting up for) decompressing. We traced through this using our bdi2000, after failing with puts() additions.
My gut instinct was originally that we were blowing our stack, or overwriting running code while decompressing.
Kyle McMartin tried (I'm not sure why yet) replacing the head.S with the one from 2.4.18-timesys. It seemed to solve the problem.
I'm posting this in two hopes:
a) that someone else not hit the same problem.
b) that someone else might have a suggestion on
what might be different between head.S+relocate.S and head.S(2.4.18).
- --
] Michael Richardson Xelerance Corporation, Ottawa, ON | firewalls [ ] mcr @ xelerance.com Now doing IPsec training, see |net architect[ ] http://www.sandelman.ca/mcr/ www.xelerance.com/training/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBQoU6E4qHRg3pndX9AQEtswP5AXD3+gxobRZWfZUGU7MqzoJSJFCLcrYc 0yqfGHBL79g3zbkJUONnE30qBBdEyYkH5ghmg6Xqxt4YjgPId3ZOWHBtrRrp+PCA lBm8WzsgBBBT5SCKNDe6kOy2rSKUjunxv4GXJ0lSQpZMvuceAOmD73no4tWIM/I8 2iETSMLkr9Q=
=2Tlk
-----END PGP SIGNATURE-----
Quoted 8 lines · Michael Richardson
We are in the process of upgrading to 2.6.11. (linus, not timesys. We see no value add from timesys)
- - -
Kyle McMartin tried (I'm not sure why yet) replacing the
head.Swith the one from 2.4.18-timesys. It seemed to solve the problem.
:-)
/RogerL
Quoted 11 lines · Michael Richardson
A customer of mine has a PPC405 system, which was based upon the Embedded Planet design. It runs U-boot 0.4.0, and the system currently ships with a kernel based upon Timesys 2.4.18.
We are in the process of upgrading to 2.6.11. (linus, not timesys. We see no value add from timesys)
The major stumbling block was using
boot/simple/{head,relocate}.S, and theinftrees.c. For reasons we do not understand, the system would fail inhuft_build()when (setting up for) decompressing. We traced through this using our bdi2000, after failing withputs()additions.
If you are booting off of U-boot, why are you trying to boot a zImage? You should be booting a uImage which doesn't use the bootwrapper glue code in arch/ppc/boot/. Load the right image and you will avoid all of this.
-Matt