[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] RE: SystemAce and mb-uClinux
Hi folks,
thanks to the hints from john and peter I am now
able to access the data an the systemace's cf.
Just the reboot funtion is still deactivated.
I will try to commit a path for systemAce tomorrow.
(I am slowly beginning to understand how the kernel
works :) )
My next step will be to put data from romfs onto
the cf, so that the cf can be used as root.
As we are not handing over any kernel parameters
I guess mounting dev/root is hard coded?
I already located do_mounts.c, but I haven't
gone thought all the code. So if somebody can
point me to the important section that will
be a great help for me. Thanks in advance.
By the way.. is it possible to have fat as root
system?
john> Have you just hardcoded the IRQ for now, in adapter.c (similar to
my
john> kludge in xemac/adapter.c)?
Yes, I have done so. But why not put the irq stuff into
xparameters.h like they have done in the ppc port.
I have changed the includes in xilinx_sysace to point
at asm/xparameters as the sysacedriver uses stuff from
that file. The definitions of the irqs would fit quite
nicely into the file from a logical point of view, though
they are not automatically generated by XPS.
But there is a script in the ml300-linux demo from
xilinx which modifies xparameters according to their
need. May be something like that is possible for
uClinux as well?
john> I've submitted a couple of small kernel changes to CVS in the last
few
john> days - so perhaps you can do an update and diff, and post the
patch to
john> the list? (plus a tar file of the new driver).
I will try to do so tomorrow. I will have to do some
clean-ups beforhand as there are a lot of useless
printk's in there. Is there anything special to take
care of when generating the patch - I haven't done
such a thing before.
john> I'm just guessing here - but what if you run mkfs on your host to
make a
john> FAT image, put it into your kernel/filesystem image and upload it
to
john> microblaze. Then after boot do
john> dd if=/fatimage.bin of=/dev/xsysacea
john> or similar - then try to mount it?
Had some touble today with partitions an filesystems, first only could
write using dd, later read, then mount. Seems to be working now,
but only in case the CF card has in xilinx.sys. Otherwhise it
generates an config read error.
peter>In your case you might want to add another device node
peter>xsyseacea1,b,254,1 and then mount with
peter>mount /dev/xsysacea1 /mnt
that worked for me
Cheers
Erik
--
Diese Nachricht wurde auf Viren und andere gefaehrliche Inhalte untersucht
und ist - aktuelle Virenscanner vorausgesetzt - sauber.
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/