ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] (ltib/fedora core 10) and (mpc8349itx/udev)


From: Stuart Hughes
Subject: Re: [Ltib] (ltib/fedora core 10) and (mpc8349itx/udev)
Date: Mon, 23 Feb 2009 10:34:02 +0000

Hi Aaron,

Thanks for your note.  Regarding: 1) you're right, I have this change
waiting to be merged out.  To accelerate this I've updated Savannah CVS
to remove the obsolete Coldfire patch for this one spec file.

So far as 2) goes, I'm not certain, but I think this will also be fixed
by the next merge out I do (which should be in the next few weeks).  In
the mean time, please use your work-around. Once I've merged out, if you
would be willing to help, it would be great if you could re-test and let
me know if the udev stuff works without modification.

Regards, Stuart 

On Fri, 2009-02-20 at 16:48 -0600, address@hidden wrote:
> 1)
> 
> Using Fedora Core 10 as a host development environment I checked out the
> ltib from Savannah CVS, and in order to complete
> 
> ./ltib --configure
> 
> I had to edit
> 
> dist/lfs-5.1/mtd-utils/mtd-utils-20060302.spec
> 
> and comment out the references to the first patch.
> 
> #Patch1          : mtd-utils-20060302-cf-byteswap_h-1.patch
> ...
> #%patch1 -p1
> 
> I don't know if anyone else has gotten stuck here.
> 
> 2)
> 
> Also, getting udev to work for the mpc8349itx required a few workarounds. 
> First I had to add a couple of files to the build so that the udev-fsl and
> sysconfig-udev-fsl packages were selected instead of the defaults.
> 
> $ cat config/platform/mpc8349itx/pkg_map
> source = pkg_map-mpc8349itx
> 
> $ cat config/userspace/pkg_map-mpc8349itx
> PKG_UDEV = udev-fsl
> PKG_SYSCONFIG = sysconfig-udev-fsl
> 
> Next I ran into a problem with the mount binary not being able to find
> libblkid.so.1.  I had to make sure that "[*] Keep temporary staging
> directory" was selected as part of ./ltib --configure so that my staging
> directory wasn't deleted.  Then, I had to move my libblkid library and
> links from rootfs.tmp/usr/lib to rootfs.tmp/lib, and rerun
> 
> Also, I had to edit the udev rules file to get my ttyS0 to show up so I
> could log in.
> 
> rootfs.tmp.copy/etc/udev/rules.d/10-fsl.rules
> 
> #KERNEL=="ttyS[0-9]",    NAME="tts/%n",          SYMLINK+="tts%n"
> KERNEL=="ttyS[0-9]",    NAME="tts/%n",          SYMLINK+="ttyS0%n"
> 
> One more thing I did which I'm not sure that I really need or not yet was
> to add and entry for my mtdblock device in the device table min.  My root
> file system is in flash.
> 
> $ cat bin/device_table_min.txt
> 
> #<name>               <type>  <mode>  <uid>   <gid>   <major> <minor> <start> 
> <inc>   <count>
> /dev          d       755     0       0       -       -       -       -       
> -
> /dev/null     c       666     0       0       1       3       0       0       
> -
> /dev/console  c       666     0       0       5       1       -       -       
> -
> /dev/tty      c       666     0       0       5       0       -       -       
> -
> # CHANGE: adding this until I can figure out the udev stuff
> /dev/mtdblock b       640     0       0       31      0       0       1       
> 7
> 
> After that I reran the mkfs command and this seemed to work.
> 
> $ /opt/ltib/usr/bin/mkfs.jffs2 -n -p -D bin/device_table_min.txt  -U -b -e
> 128 -d /home/aaron/ltib/rootfs.tmp -o ./rootfs.jffs2
> 
> I don't know if anyone else could find this helpful or has gone through
> the process of getting udev to work with mpc8349itx, but I'd be curious to
> know.
> 
> Aaron
> 
> 
> 
> 
> 
> _______________________________________________
> LTIB home page: http://bitshrine.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]