Open GoogleCodeExporter opened 9 years ago
I'm also interested in helping out here, and I'm a FreeBSD developer.
What version of FreeBSD have you used as a base?
Thanks!
M
Original comment by mrvmur...@gmail.com
on 31 Dec 2010 at 4:12
Hi Mark, sorry for the delayed response - I've only just now had some time to
start looking at this stuff again.
I've added you as a developer to the project using your email address.
Stupidly I can't actually remember the exact revision of FreeBSD I'm using, I
checked it out from SVN-HEAD about a year ago now and haven't changed since
then. I believe it might have been the 8.0 release.
The main problem with the current code is that I can't get userspace apps to
work. I'm pretty sure this is a problem in the pmap code, which I've had to
make quite a few changes to get to work with ARMv7. I also think the problem
is with mmap'ed files, i.e. when loading shared libraries. It seems that if I
statically link the init process it gets a lot further. But I'm still very
lost and I'm thinking of purchasing a JTAG probe to really start looking at
this :).
Cheers,
Ben.
Original comment by ben.r.g...@gmail.com
on 8 Jan 2011 at 2:30
Hi Ben,
I also have a very basic port of the FreeBSD 7.3 kernel(timers, serial
console), unfortunately I was not aware of your project before, a lot of things
became easier). I used pmap for ARMv7 from NetBSD with minor modifications
#define L1_S_PROT_U_armv7 (L1_S_AP(AP_R) | L1_S_AP(AP_U))
#define L1_S_PROT_W_armv7 (L1_S_AP(AP_W))
#define L1_S_PROT_RO_armv7 (L1_S_AP(AP_R) | L1_S_AP(AP_RO))
#define L1_S_PROT_MASK_armv7 (L1_S_PROT_U|L1_S_PROT_W|L1_S_PROT_RO)
Were replaced from the items from the generic ARM to make it actually work.
In fact I have not tested the userspace apps, but init yet. Now I am porting
ethernet driver for my board(not BB actually but DEVKIT8000 with ethernet
controller), hope to have ethernet+NFS root to work shortly to test the apps.
I'll post here the update of the status.
I also would like to help with this project as a developer, maybe just merge a
code to the repository if pmap will actually work.
P.S.
EMBEST DEVKIT8000 that is actually a clone with dm9000 ethernet adapter. I have
a JTAG probe for the board.
Thanks,
Andrey
Original comment by andrei.e...@gmail.com
on 20 Jan 2011 at 9:45
Hi Andrey,
That's good to know, I wasn't aware NetBSD had an ARMv7 pmap. I might check it out and give it a go this weekend. I must admit my port of the pmap code is quite a mess and really needs some work.
Also FYI - I couple of days ago I got the ECHI USB controller working, I'm in the process of tidying up the code now and will hopefully commit it tonight. I also have a few bug fixes that need to go in the current tree, again, tonight I hope to bring the repo up to date.
Lastly I've added you as a developer to the project, which should mean you can checkout and commit. So feel free to commit the pmap code if you think it will work.
Cheers,
Ben.
Original comment by ben.r.g...@gmail.com
on 20 Jan 2011 at 9:58
Original issue reported on code.google.com by
samsp...@mail.ru
on 17 Aug 2010 at 7:06