desertdog wrote:
Hi Keripo,
I
noticed a couple of minor errors in the Wiki "Introduction to Compiling
for IPodLinux". I can't figure out how to edit the Wiki, so I am
posting it here.
1. In the section Loader2, number "2", it says: cd loader2. It should be: cd ipodloader2.
If
you look at the "svn co ..." line, I have "loader2" put after the url. I
guess it'd be less confusing if I didn't do that, so I'll change that,
thanks ; )
Quote:
2. To use the 3.4.3 toolchain in the section Booting Slax, number 5, it (correctly) says that to use the command:
export PATH=/usr/local/arm-uclinux-tools2/bin:$PATH
But later in the document (Building other Applications) it (incorrectly) says to use:
export PATH=/usr/local/arm-elf-tools2/bin:$PATH
Nice
catch. The tutorial took a long time to write and obviously would also
take a long time to test so I never did actually try out everything
again from scratch. During the time of tutorial-writting I was using
Windows XP and had Cygwin installed, so often I'd be typing "export
PATH=/usr/local/arm-uclinux-elf-tools/bin:$PATH" or something like that.
Quote:
3. I think the instructions for the 2.95.3 toolchain are inconsistent, but I didn't get a chance to see which one is correct.
Could you clarify what you mean by that?
By
default, the 2.95.3 toolchain gets installed to /usr/local/bin so, if
one were to not export any PATH variable, the default toolchain that
gets used when you type "arm-elf-gcc" is the 2.95.3 toolchain. When you
manually re-export the PATH variable, however, the shell looks in
/usr/local/arm-uclinux-tools2/bin before it checks /usr/local/bin. Thus,
it finds (and uses) the 3.4.3 toolchain instead. By re-exporting with
/usr/local/bin forces the shell to first look there, thus forcing the
2.95.3 toolchain to be found first.
Quote:
4. In the Kernel section, I followed the instructions twice, but never got the Image file described in step 7.
You'll have to describe your problem in greater detail, preferably in a different thread.
Quote:
I
wanted to say that you have done a great job with all your work. I
learned a lot here and had fun. My goal is to tether a small scanner to a
small device running linux. I have learned that I need a device with
USB host capabilities, so I'll be checking out linux on the Treo 650.
Peace out.
Unfortunately
the iPod doesn't have USB host drivers written (except maybe for the
1G/2G iPod monos). You may want to check out the Rockbox project as they
have done quite some extensive work with USB drivers.
~Keripo