[uClinux-dev] Problem with uclinux-dist-20030305
hnmem at 163.com
Wed Mar 19 02:51:28 EST 2003
Great thanks to Greg for your reply about the reboot (5307/ints.c) problem(but I missed the mail, and found the reply by searching the maillist on WEB, how could this happen! :( bug of the maillist??)
You are absolutely right:
The only problem is that the soft reboot does not do a real hard reset of all the peripherals.
New problem report-->
the latest uclinux-dist-20030305 is tested not working for the MCF5249C3,
could not pass the IDE probe and go dead there!
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: probing with STATUS(0x58) instead of ALTSTATUS(0xff)
hda: IC35L040AVER07-0, ATA DISK drive
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0xff)
ide0 at 50000020 on irq 0x000000a5
hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=79780/16/63
hda: [PTBL] [5005/255/63] hda1
>Jivin Jay Vaughan lays it down ...
>> Out of the box, the uclinux-dist-20030305, configured plain vanilla
>> for MCF5272 (Motorola Eval board), produces this error when compiling
>> the threaddemos:
>> Working POSIX threads on 5272 has *always* been a pain in the ass for
>> me, as far as uClinux is concerned. One of these days, the -dist
>> releases will *just work* for libpthreads/m5272, but until then I'm
>> compelled to be stupid about it and just ask you guys, since there
>> always seem to be hidden gotchas.
>> Maybe I've just not configured something properly with this release,
>> but what I did was a) download the tarball, b) make menuconfig to set
>> things up exactly as I had them in my older (-20030226) uClinux
>> system, c) 'make dep ; make' ...
>> Seems to me one of the big reasons for this release was to make
>> libpthread available for 5272 users wanting to take advantage of the
>> XIP fixes also done as part of the m68k-elf-tools-20030314.sh
>> release, but alas ... threads are *still* broken, config-wise, with
>> this -dist.
>> It would appear, anyway. Please correct me if I'm completely missing
>> something ...
>Every thing in the tree is working for pthreads, but not all platforms
>have had it enabled (ie., we haven't tested it specifically).
>The reason pthreads isn't working for you is that it isn't enabled in the
>Here is a patch for the dist the fixes the Mot configs and also a small
>problem with the top level Makefile which is needed when you are
>switching platforms a lot ;-)
>make clean, make config and force defaults, make dep, make and you
>should have a full pthreads 5272. Then you can be the first to test it ;-)
>David McCullough: Ph: +61 7 3435 2815 http://www.SnapGear.com
>davidm at snapgear.com Fx: +61 7 3891 3630 Custom Embedded Solutions + Security
More information about the uClinux-dev