From: Bernard L. <le...@bo...> - 2004-03-31 21:05:18
|
Great to hear that it all works! You can find some /dev information in the Documentation tree in the linux kernel source. The major/minor numbers are all in there. On the iPod we are using devfs since the HFS+ seems to have problems with real device files (and anyhow they waste a lot of disk space). They aren't persistent though because devfs is not a real filesystem. Normally you run devfsd which creates the legacy device files (as links to the new devfs ones) and handles the persistance. devfsd doesn't run under uclinux though so that is out. Recreating them on startup is not so bad anyhow, we just need a smaller mknod program (or a ramdisk). Things like /dev/ide/... are from devfs. /dev/hda is considered a legacy name. The 2nd processor is currently used in the audio driver to keep the DAC busy. Its quite wasted in this regard but it does do some work ;) As for whats happening, I'm currently looking at getting 2.6 up & booting. My preference is to move to that as soon as possible rather than spend a lot of time working on 2.4 style drivers. The 2.4 kernel is basically a wrap as far as I'm concerned, but I'm just waiting to see if the basic level of support we want for the apps require any kernel changes (quite likely for the audio driver). The main missing feature we'd like to add for a "release" is simple support for playing mp3 files from podzilla. My preference is to just system() the mp3example player. There is a simple patch for adding stop/pause and better buffering to that but it still needs volume control. Something to make the HDD powerdown when it can would be great too though. iTunesDB support can wait. There are some libraries but they are glib based so it brings in a lot of extras. Basically though, pick something that interests you and just post here. cheers, bern. On Wed, 2004-03-31 at 22:48, Jonathan C. Ross wrote: > Hi Bern, > > I just installed rc2, and it works fine! mp3example works great too > (ALMOST listenable... ;-) ). I am enjoying hacking around with > podzilla, no problems there either. > > A couple of questions. Where do I find the specs for the /dev > hierarchy? And how come devices I make are not persistant? First thing > I did when I logged on to my iPod was "mknod /dev/hda2 3 2" "mount -t > vfat /dev/hda2 /iPod". I then found out that the special file was > deleted upon reboot. I then discovered the /dev/ide hierarchy. Is this > a uClinux-specific thing? > > Next: how is work coming on on getting both cpu's running? I suppose > SMP is going to be tricky without a MMU, but I don't suppose Apple put > in two for the fun of it either. > > Finally: who's working on what currently? I'd like to get my hand in, > but I'd hate to be duplicating any efforts. Anyone working on > implementing ioctl / hd spindown? Autocomplete line editing? iTunesDB > reading / manipulation? > > Cheers, > Jonathan > > > > > > On Tue, 2004-03-30 at 09:43, Bernard Leach wrote: > > The errors below are because you are missing the devices needed by telnetd ;) > > > > Try with with the -rc2 kernel - its a "known working kernel" so there is no > > reason why it shouldnt work for you. > > > > cheers, > > bern. > > > > "Jonathan C. Ross" <jon...@ba...> said: > > > > > Hello again, Bernard, > > > > > > Actually, the device linking and creation from your rc didn't seem to > > > help at all - I actually saw the first couple of kernel hangs so-far > > > (weird characters written to console, then nothing.) > > > > > > Having removed the mknod commands again, I am now invoking inetd from > > > userland. Still not there, I have the following error message, > > > apparently propagated to me by inetd itself: > > > > > > [root@atomic root]# telnet 192.10.1.2 > > > Trying 192.10.1.2... > > > Connected to 192.10.1.2. > > > Escape character is '^]'. > > > telnetd: All network ports in use. > > > Connection closed by foreign host. > > > > > > Do you think I would have any better luck with the release kernel on a > > > third generation iPod? I thought I read that it had only just been > > > fixed? > > > > > > Jonathan > > > > > > On Mon, 2004-03-29 at 23:21, Bernard Leach wrote: > > > > The only mod to the standard filesystem (as on sourceforge) is a > > > > different rc script. Here is mine; > > > > > > > > # cat /mnt/ipod/etc/rc > > > > hostname ipod > > > > mount -t proc proc /proc > > > > cat /etc/motd > > > > ln -s /dev/pty/m0 /dev/ptyp0 > > > > ln -s /dev/pty/m1 /dev/ptyp1 > > > > ln -s /dev/vc/0 /dev/tty0 > > > > ln -s /dev/vc/1 /dev/tty1 > > > > mknod /dev/ttyp0 c 3 0 > > > > mknod /dev/ttyp1 c 3 1 > > > > modprobe tsb43aa82 > > > > modprobe eth1394 > > > > ifconfig eth0 192.10.1.2 > > > > ------------cut-------------- > > > > > > > > If that doesn't work, try using the precompiled kernels. > > > > > > > > cheers, > > > > bern. > > > > > > > > On Mon, 2004-03-29 at 23:21, Jonathan C. Ross wrote: > > > > > Hi All, > > > > > > > > > > I'm in a similar spot to Mathieu, perhaps a little further. I just > > > > > managed to compile a 2.4.24 UP kernel with the old 2.4.20 eth1394 driver > > > > > (I can verify the SMP / eth1394 driver problem! Total system hang as > > > > > soon as the module is inserted!) > > > > > > > > > > I can now ping my ipod. Yay! I had to unplug my crossfire firewire > > > > > drive first though, presumably to make sure the ipod was node [1]. > > > > > > > > > > The telnetd daemon on the iPod doesn't seem to want to bind to port 25. > > > > > I tried running it from inittab and from the shell (with the cunningly > > > > > wired shell script 'f'.) I _think_ I saw something about all ports > > > > > being in use? > > > > > > > > > > Is any other configuration needed on the iPod other than inserting the > > > > > two modules and configuring ethernet? > > > > > > > > > > Thanks for any advice, > > > > > Jonathan. > > > > > > > > > > On Mon, 2004-03-29 at 22:11, Bernard Leach wrote: > > > > > > Some random thoughts/questions: > > > > > > > > > > > > Are there errors on the iPod during boot? > > > > > > > > > > > > If you start podzilla from /etc/rc, you need to exit podzilla before you > > > > > > can use telnet (although ping should work). > > > > > > > > > > > > You need to modprobe the eth1394 driver on your pc with the iPod > > > > > > connected (or at least stop and restart it if you disconnect the iPod). > > > > > > > > > > > > On Mon, 2004-03-29 at 21:08, Mathieu wrote: > > > > > > > Hi everybody ! > > > > > > > I have successfully compiled the 2.6.4 kernel for my computer and I > > > > > > > have addded the ipodeth1394 driver on the CVS server but I cannot ping > > > > > > > the ipod it doesn't work ! > > > > > > > Any ide will be aprecied ! > > > > > > > > > > > > > > Thank you > > > > > > > CHeers, > > > > > > > Mathieu > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by: IBM Linux Tutorials > > > > > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > > > > > GenToo technologies. Learn everything from fundamentals to system > > > > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > > > > _______________________________________________ > > > > > > iPodlinux-devel mailing list > > > > > > iPo...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by: IBM Linux Tutorials > > > > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > > > > GenToo technologies. Learn everything from fundamentals to system > > > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > > > _______________________________________________ > > > > > iPodlinux-devel mailing list > > > > > iPo...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: IBM Linux Tutorials > > > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > > > GenToo technologies. Learn everything from fundamentals to system > > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > > _______________________________________________ > > > > iPodlinux-devel mailing list > > > > iPo...@li... > > > > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > > > > > > > > > > > > |