[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] SystemAce and mb-uClinux
Eric (via me) wrote:
> [Forwarded to the list after majordomo bounced it]
> >>Have you tried the driver without hardware present? Is it reasonable to
> >>modify the driver so it can gracefully abort if the hardware isn't
> >>present? Or is it reasonable that the user shouldn't select the driver,
> >>if they don't have the hardware?
> I will dig into this topic. But that may need some time.
> As I will have ot understand how this driver works
> (actually I will have to understand how drivers in Linux
> work in general - I have just ordered the books you
> recommended, so I hope I will make some progress addressing
> this topic)
I'll just go and put the driver in - then you can fix it whenever you
get a chance.
> The good news is: We got Linux booting right from SystemAce
> at powerup.
> But we can see the light...
as long as it's not the headlamp of an approaching train.. :)
> I am still addressing the problem of mounting the
> SystemAce's compact flash as root file system.
> I hard coded a command line, but neither
> root=/dev/xsysacea1 nor root=fe00 nor
> root=fe01 did the trick. I guess I found
> the parts in do_mounts.c where all this stuff
> is done. But I still have not found how
> 1f00 (the ramdisk) is mounted. But today
> I have not spend much time on this, so I
> expect to solve this tomorrow.
hmm.... I wonder if the mbvanilla MTD map is interfering somehow... in
drivers/mtd/maps/mbvanilla-flash.c , around line 436, it probles for a
romfs filesystem in RAM (at the end of the bss section), and does
so you might need to duplicate that map driver, call it something else
(mbvanilla-systemace maybe), and modify what it's doing there re: the
root file system).
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/