From: Jean-Charles T. <jea...@rd...> - 2004-03-11 09:27:34
|
ok, thanks. I'll try this way. I agree with you that my kernel problem are very strange :). I going to=20= recompile from scratch and see if i get the same problem and i'll keep=20= you informed. Well, I've got several ohter questions: -once i installed the kernel on my ipod what must i put on the root=20 partition -i don't really understand the last part of the howto "building a=20 uClinux system for the ipod" called "user tools". What is it? thanks, jc. Le 11 mars 04, =E0 10:04, Bernard Leach a =E9crit : > > In order to see a HFS+ partition you need HFS+ filesystem support and=20= > Mac > partition support. For the parition support select the "Advanced=20 > partition" > option and then specify MAC (and MSDOS if needed). > > In .config: > > CONFIG_HFSPLUS_FS=3Dy > CONFIG_MAC_PARTITION=3Dy > > The kernel problems you had are quite strange - it should compile "out=20= > of the > box". > > After you applied the patches etc you should be able to just copy the=20= > default > config and then build something that works; > > cp arch/armnommu/def-configs/ipod .config > make oldconfig > make dep > make > make modules > > Did you miss the "make dep" line? > > Jean-Charles Tournier <jea...@rd...> = said: > >> hi, >> >> I try to install linux on my mac ipod, which means that I have HFS+ >> partition. So I compiled the 2.4.24 kernel . When I installed it, i >> hoped that it could natively see my HFS+ root partition, but it >> doesn't. Is there a special flag to set when compiling the kernel? >> >> I report here the problems I get when I compiled the 2.4.24 kernel. I >> used the source kernel from >> (http://www.ovh-new.lkams.kernel.org/pub/linux/kernel/v2.4/), the >> uClinux-2.4.24-uc0.diff.gz and the cvs version of the ipodlinux = patch. >> First I needed to create a file at include/linux/version.h which >> contains: >> #define UTS_RELEASE "2.4.24-uc0" >> #define LINUX_VERSION_CODE KERNEL_VERSION(2,2,24) >> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) >> >> Then, I need to comment the line 245 of file char/serial.c and line 4 >> of include/asm/spinlock.h >> >> thanks, >> jc. >> >> >> >> >> ------------------------------------------------------- >> 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=3D1470&alloc_id=3D3638&op=3Dc= lick >> _______________________________________________ >> iPodlinux-devel mailing list >> iPo...@li... >> https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel >> > > > > --=20 > > > |
From: <One...@ao...> - 2004-03-11 20:20:47
|
It seems that PPC OS X computers seem to have some troubles with the kernel version I assume due to big endian numbers. This is how I was able to bypass the problem: The error I recieve is: "KERNELRELEASE "2.4.24-uc0" exceeds 64 characters" If you receive that warning go into the Makefile in the root directory of the linux source and replace: @expr length "$(KERNELRELEASE)" \<= $(uts_len) > /dev/null || \ with: @expr `expr "$(KERNELRELEASE)" : '.*'` \<= $(uts_len) > /dev/null || \ Cheers, Jeff |
From: David C. <bus...@ho...> - 2004-03-11 20:30:15
|
My solution was to replace the shipped broken version of expr with a working one. I downloaded sh-utils from the gnu mirrors and ./configure --host=powerpc make then copied the expr binary to /bin (don't do a make install, the gnu uname is broken on mac os x) --David Carne -- It seems that PPC OS X computers seem to have some troubles with the kernel -- version I assume due to big endian numbers. This is how I was able to bypass -- the problem: -- The error I recieve is: -- "KERNELRELEASE "2.4.24-uc0" exceeds 64 characters" -- If you receive that warning go into the Makefile in the root directory of the -- linux source and replace: -- @expr length "$(KERNELRELEASE)" \<= $(uts_len) > /dev/null || \ -- with: -- @expr `expr "$(KERNELRELEASE)" : '.*'` \<= $(uts_len) > /dev/null || \ Cheers, Jeff _________________________________________________________________ MSN Premium includes powerful parental controls and get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines |
From: Bernard L. <le...@bo...> - 2004-03-11 09:34:28
|
There is a download from sourceforge "iPod Linux Userland". This archive contains all you need for the root partition. This is also the "user tools". Jean-Charles Tournier <jea...@rd...> said: > ok, thanks. I'll try this way. > > I agree with you that my kernel problem are very strange :). I going to > recompile from scratch and see if i get the same problem and i'll keep > you informed. > > Well, I've got several ohter questions: > -once i installed the kernel on my ipod what must i put on the root > partition > -i don't really understand the last part of the howto "building a > uClinux system for the ipod" called "user tools". What is it? > > thanks, > jc. > > Le 11 mars 04, à 10:04, Bernard Leach a écrit : > > > > > In order to see a HFS+ partition you need HFS+ filesystem support and > > Mac > > partition support. For the parition support select the "Advanced > > partition" > > option and then specify MAC (and MSDOS if needed). > > > > In .config: > > > > CONFIG_HFSPLUS_FS=y > > CONFIG_MAC_PARTITION=y > > > > The kernel problems you had are quite strange - it should compile "out > > of the > > box". > > > > After you applied the patches etc you should be able to just copy the > > default > > config and then build something that works; > > > > cp arch/armnommu/def-configs/ipod .config > > make oldconfig > > make dep > > make > > make modules > > > > Did you miss the "make dep" line? > > > > Jean-Charles Tournier <jea...@rd...> said: > > > >> hi, > >> > >> I try to install linux on my mac ipod, which means that I have HFS+ > >> partition. So I compiled the 2.4.24 kernel . When I installed it, i > >> hoped that it could natively see my HFS+ root partition, but it > >> doesn't. Is there a special flag to set when compiling the kernel? > >> > >> I report here the problems I get when I compiled the 2.4.24 kernel. I > >> used the source kernel from > >> (http://www.ovh-new.lkams.kernel.org/pub/linux/kernel/v2.4/), the > >> uClinux-2.4.24-uc0.diff.gz and the cvs version of the ipodlinux patch. > >> First I needed to create a file at include/linux/version.h which > >> contains: > >> #define UTS_RELEASE "2.4.24-uc0" > >> #define LINUX_VERSION_CODE KERNEL_VERSION(2,2,24) > >> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) > >> > >> Then, I need to comment the line 245 of file char/serial.c and line 4 > >> of include/asm/spinlock.h > >> > >> thanks, > >> jc. > >> > >> > >> > >> > >> ------------------------------------------------------- > >> 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 > >> > > > > > > > > -- > > > > > > > > -- |
From: Jean-Charles T. <jea...@rd...> - 2004-03-11 09:43:39
|
> Bernard Leach wrote: > There is a download from sourceforge "iPod Linux Userland". This > archive > contains all you need for the root partition. This is also the "user > tools". > > OK, but in this section the root file systems must be mounted as "msdos". But is it possible to use it with a HFS+ partition? thanks, jc. |
From: Bernard L. <le...@bo...> - 2004-03-11 12:31:26
|
Sorry, I should have read your email better! You can use this version, but you need to use UMSDOS to "convert" it to a normal unix looking filesystem. Fortunately I done this already and you can download it from the following URL: <http://ipodlinux.sf.net/ipod_fs_030323.tgz> You need to extract this one as root because it creates device files. cheers, bern. Jean-Charles Tournier <jea...@rd...> said: > > > > Bernard Leach wrote: > > > There is a download from sourceforge "iPod Linux Userland". This > > archive > > contains all you need for the root partition. This is also the "user > > tools". > > > > > > OK, but in this section the root file systems must be mounted as > "msdos". But is it possible to use it with a HFS+ partition? > > thanks, > jc. > > > > ------------------------------------------------------- > 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 > -- |
From: Jean-Charles T. <jea...@rd...> - 2004-03-11 15:31:59
|
Thank you very much. If you were not here i would be lost :) But it doesn't not work exactly, may be i think because i am a pure=20 newbie..... I get the tgz file and when i try to unzip it to /dev/disk1s3 (it's the=20= music partition of the ipod) i get the following error. sudo unzip /travail/ipod/ipod_fs_030323.tgz Archive: /travail/ipod/ipod_fs_030323.tgz End-of-central-directory signature not found. Either this file is = not a zipfile, or it constitutes one disk of a multi-part archive. In = the latter case the central directory and zipfile comment will be found = on the last disk(s) of this archive. unzip: can't find zipfile directory in one of=20 /travail/ipod/ipod_fs_030323.tgz or /travail/ipod/ipod_fs_030323.tgz.zip, and can't find=20 /travail/ipod/ipod_fs_030323.tgz.ZIP, period. any idea? thanks, jc. Le 11 mars 04, =E0 13:21, Bernard Leach a =E9crit : > > Sorry, I should have read your email better! > > You can use this version, but you need to use UMSDOS to "convert" it=20= > to a > normal unix looking filesystem. > > Fortunately I done this already and you can download it from the=20 > following URL: > > <http://ipodlinux.sf.net/ipod_fs_030323.tgz> > > You need to extract this one as root because it creates device files. > > cheers, > bern. > > Jean-Charles Tournier <jea...@rd...> = said: >> >> >>> Bernard Leach wrote: >> >>> There is a download from sourceforge "iPod Linux Userland". This >>> archive >>> contains all you need for the root partition. This is also the = "user >>> tools". >>> >>> >> >> OK, but in this section the root file systems must be mounted as >> "msdos". But is it possible to use it with a HFS+ partition? >> >> thanks, >> jc. >> >> >> >> ------------------------------------------------------- >> 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=3D1470&alloc_id=3D3638&op=3Dc= lick >> _______________________________________________ >> iPodlinux-devel mailing list >> iPo...@li... >> https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel >> > > > > --=20 > > > > > > ------------------------------------------------------- > 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=3D1470&alloc_id=3D3638&op=3Dcl= ick > _______________________________________________ > iPodlinux-devel mailing list > iPo...@li... > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > |
From: Jean-Charles T. <jea...@rd...> - 2004-03-11 16:17:30
|
ok, ok i write the previous mail too quickly... :( a tar zxf is better=20= than unzip for a tgz file :) of course i got another problem: i can't do anything by myself ;) I=20 promise, i 'll rewrite the building howto for hfs+ partition.... Why i got this lines: warning: unable to open an inital console. irq: bus reset requested jc. Le 11 mars 04, =E0 16:21, Jean-Charles Tournier a =E9crit : > Thank you very much. If you were not here i would be lost :) > > But it doesn't not work exactly, may be i think because i am a pure=20 > newbie..... > > I get the tgz file and when i try to unzip it to /dev/disk1s3 (it's=20 > the music partition of the ipod) i get the following error. > > sudo unzip /travail/ipod/ipod_fs_030323.tgz > Archive: /travail/ipod/ipod_fs_030323.tgz > End-of-central-directory signature not found. Either this file is=20= > not > a zipfile, or it constitutes one disk of a multi-part archive. In=20= > the > latter case the central directory and zipfile comment will be found=20= > on > the last disk(s) of this archive. > unzip: can't find zipfile directory in one of=20 > /travail/ipod/ipod_fs_030323.tgz or > /travail/ipod/ipod_fs_030323.tgz.zip, and can't find=20 > /travail/ipod/ipod_fs_030323.tgz.ZIP, period. > > any idea? > > thanks, > jc. > > Le 11 mars 04, =E0 13:21, Bernard Leach a =E9crit : > >> >> Sorry, I should have read your email better! >> >> You can use this version, but you need to use UMSDOS to "convert" it=20= >> to a >> normal unix looking filesystem. >> >> Fortunately I done this already and you can download it from the=20 >> following URL: >> >> <http://ipodlinux.sf.net/ipod_fs_030323.tgz> >> >> You need to extract this one as root because it creates device files. >> >> cheers, >> bern. >> >> Jean-Charles Tournier <jea...@rd...>=20 >> said: >>> >>> >>>> Bernard Leach wrote: >>> >>>> There is a download from sourceforge "iPod Linux Userland". This >>>> archive >>>> contains all you need for the root partition. This is also the=20 >>>> "user >>>> tools". >>>> >>>> >>> >>> OK, but in this section the root file systems must be mounted as >>> "msdos". But is it possible to use it with a HFS+ partition? >>> >>> thanks, >>> jc. >>> >>> >>> >>> ------------------------------------------------------- >>> 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=3D1470&alloc_id=3D3638&op=3Dclic= k >>> _______________________________________________ >>> iPodlinux-devel mailing list >>> iPo...@li... >>> https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel >>> >> >> >> >> --=20 >> >> >> >> >> >> ------------------------------------------------------- >> 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=3D1470&alloc_id=3D3638&op=3Dc= lick >> _______________________________________________ >> 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_id638&op=3Dclick > _______________________________________________ > iPodlinux-devel mailing list > iPo...@li... > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > |
From: Jean-Charles T. <jea...@rd...> - 2004-03-11 15:14:22
|
i unzipped ipod_fs_0323.zip on hda3 partition of my ipod, since my=20 kernel mount this partition as HFS+. But I get another kernel panic: .....warning: unable to open an inital console. Kernel panic: No init=20 found. Try passing init=3D option to kernel. <3> irq: bus reset=20 requested. When i am looking in the linux tree from the zip file, there is no=20 /etc/init.d/rcS file jc. Le 11 mars 04, =E0 10:33, Jean-Charles Tournier a =E9crit : > > >> Bernard Leach wrote: > >> There is a download from sourceforge "iPod Linux Userland". This=20 >> archive >> contains all you need for the root partition. This is also the "user=20= >> tools". >> >> > > OK, but in this section the root file systems must be mounted as=20 > "msdos". But is it possible to use it with a HFS+ partition? > > thanks, > jc. > > > > ------------------------------------------------------- > 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=3D1470&alloc_id=3D3638&op=3Dcl= ick > _______________________________________________ > iPodlinux-devel mailing list > iPo...@li... > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > |