On Sun, Jan 15, 2012 at 1:43 AM, Matthew Hudson <hexs...@gmail.com> wrote: > > On Sat, Jan 14, 2012 at 6:22 PM, Michal Panczyk <mpanc...@gmail.com> wrote: >> >> > Date: Fri, 13 Jan 2012 06:32:45 -0600 >> > From: Matthew Hudson <hexs...@gmail.com> >> > Subject: [Angstrom-devel] h2200 kexecboot and htc header format >> > To: angstrom-distro-devel@linuxtogo.org >> > Message-ID: >> > >> > <caoegkgubdc+1lcz08jyzmhykxlgks+e8zsrxvmwpbmodqcs...@mail.gmail.com> >> > Content-Type: text/plain; charset=ISO-8859-1 >> > >> > I've deciphered the htc header format as I couldn't find other >> > information >> > about it. Fairly straight forward: >> > >> > 16 bytes consist of the word GREATWALL in ASCII followed by 7 spaces >> > (0x20) >> > 16 ASCII zeros (0x30) >> > 96 bytes of binary zeros (0x00) >> > 4 bytes as HTCS in ASCII >> > 8 bytes of ASCII hexidecimal (I think this contains the load address it >> > will need further investigation) >> > 8 bytes of file length in ASCII hexidecimal >> > 8 bytes of checksum in ASCII hexidecimal (unknown checksum method) >> > >> > the .bin file to be loaded must end with 4 bytes of ASCII: HTCE >> > >> > Using this I've determined that the kexecboot file in /demos is to long >> > to >> > act as a 2nd stage bootloader for the H2200 or is corrupt (kernel >> > decompresses and generates a crc error). The files needs to be 1,310,720 >> > bytes or less in length (excluding htc header and terminating HTCE tag). >> > Even if the file length parameter is adjusted it will load more of the >> > kexecboot binary into the 2nd stage flash but the 1st stage loader will >> > only load 1,310,720 bytes as far as I can tell (unless, of course, the >> > existing file is corrupt). >> > >> > I don't have a development environment setup. If anyone is already setup >> > for targeting the H2200 could you grab the kexecboot stuff and see if >> > its >> > even possible to make the .bin file smaller? I'll test it if you build >> > it >> > and upload it to /demos (or give me a link to the file). >> > >> > -Matt >> > >> >> Hi Matt, >> >> I guess it is possible - have a look at [1]. The zImage is 1 212 416 >> bytes of size. >> You are talking about 2.6.21 kernel version and not a 3.0 like in the >> Koen's post for hx4700 [2], aren't you? :) >> >> BTW - what is the purpose of your action ? Would you like to beat LAB? >> If you would give a brief explanation I could see if I could help. >> >> Regards, >> Michal >> >> >> [1] - http://www.angstrom-distribution.org/releases/2007.12/images/h2200/ >> [2] - http://www.angstrom-distribution.org/kernel-30-hx4700 > > > I am loading up a h2200 and saw requests for "how to add the htc header" > since I was already there I decided to try it out. Wasn't a lot of work. > There was also a request for testing kexecboot on the h2200 so I've done > that as well. I have no motives other than an available 2nd stage boot > loader (only LAB link is through rapidfire). I have a development > environment in the works so may be able to do this myself in a few days. I'm > targeting the build for 2010_x (actual nomenclature eludes me ATM). I hope > that its the correct target because the build computer isn't the fastest in > the world. > > I also thought a common boot loader was a "goal" but I could be wrong. If > kexecboot isn't the desired common loader please let me know what is and > I'll give it a shot also. Since I want to do this I figured I might as well > contribute to the base of knowledge while doing it. > > -Matt >
Hi, Ok - I have missed these topics Did you try checking with Anton if he has made any progress ? I am in the middle of setting up a OE on a virtual machine - I hope it will be fast and painless. Then I hope I will be able to help out. Please - let's carry on the topic on the angstrom-distro-devel. Then we could find some more h2200 enthusiasts;) Regards, Michal Panczyk _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel