[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] New PetaLinux release - call for patches and bug reports
Hi John,
----- John Williams <john.williams@xxxxxxxxxxxxx> wrote:
> > - patch_emaclite is a critical correction done in u-boot for emaclite
> > xilinx block. It is actually quit simple, it seems that the faulty
> > file was not imported correctly from the kernel.
>
> I'll check this one out - we've been using emaclite in u-boot without
> problems for a long time, we will have to look at it in more detail
> before committing.
The XEmacLite_Config struct has 6 members, but is only initialized with
5 (PhysAddress is missing), so the TxPingPong is set with Rx value and
RxPingPong is always 0. If it has been set in HW, the driver will
assume that it is not set and will not work.
> > - patch_user correct some compilation problems in busybox.
>
> Again, we've been building busybox for a long time and not seen
> problems associated with this - can you give a bit of background into
> the problem and the patch?
I guess I had these compilation errors because I choosed a config
different to the default one. More explanations:
- in busybox/gzip: "static const int build_bl_tree() {...}"
has a declaration different from the prototype, and the "const"
has no sense as the result from the function.
- in busybox/inetd: "#define SWAP [...] (type)a=(type)b; [...]"
gcc does not accept a cast on the lvalue. This was accepted with
a previous version, but not anymore.
- in busybox/inetd: "vfork_daemon_rexec(argc, argv, "-f")"
vfork_daemon_rexec() is defined with two more parameters. I found
some patchs in uClinux and applied them on the code.
Note however that I could get gzip working, but not inetd. I did
not investigate further and just switch back to the stand alone inetd.
The patch at least correct the compilation problem, but I do
not know if inetd's failure is related with it.
Regards,
Antoine
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/