Searching \ for '[PIC] one week with FreeBSD: PIC related' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'one week with FreeBSD: PIC related'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] one week with FreeBSD: PIC related'
2006\01\07@040648 by Xiaofan Chen

face picon face
Updates to my FreeBSD test.

---------- Forwarded message ----------
From: Xiaofan Chen <spam_OUTxiaofancTakeThisOuTspamgmail.com>
Date: Jan 7, 2006 1:05 PM
Subject: one week with FreeBSD: PIC related
To: GNUPIC <.....gnupicKILLspamspam@spam@linuxhacker.org>

Just a summary regarding my one week experiment with FreeBSD and
PIC development.

In general, it is not as easy as under Linux so Linux is more suitable
as a workstation OS for PIC development.

Here are a list of the status of some popular programs:
1) gputils 0.13.2beta: existing FreeBSD port
2) SDCC Oct 12 2005: existing FreeBSD port
3) gpsim: an old version 0.21.2 works but not yet the 0.21.11

4) xwisp2 1.8.1 for Wisp628A works with minor bugs. Next version
of xwisp2 should work under FreeBSD

5) picp for PS+: an old 0.5d version exists as a FreeBSD port,
new version from Jeff builds okay but I do not have PS+
to test. gpcip can be built after various changes but fail to run.

6) pk2 and pyk for PICkit 2 do not work yet but I hope they will
work once I learn how to recompile the kernel.

7) JAL 0.4.60 and 0.4.62 can be built with a simple change
and both work under FreeBSD

8) MPLAB under wine: not yet tried since I could not get winetools
to work under FreeBSD.
9) MPLAB-C18 fails to install under Wine but copying from Windows
partition seems to do the trick
10) MPLAB-C30 installs okay under Wine but not tested yet
11) MPASM-WIN installs okay under wine and seems to work

12) piklab and pikdev fail to build since they require Linux.

Regards,
Xiaofan

2006\01\11@113550 by M. Adam Davis

face picon face
On 1/7/06, Xiaofan Chen <xiaofancspamKILLspamgmail.com> wrote:
> Updates to my FreeBSD test.
> 6) pk2 and pyk for PICkit 2 do not work yet but I hope they will
> work once I learn how to recompile the kernel.

make world
If I remember correctly...

> 12) piklab and pikdev fail to build since they require Linux.

Did you enable linux binary compatability?

-Adam

2006\01\11@144946 by Chetan Bhargava

picon face
make world would make everything not just the kernel!

There are two ways to build a kernel.

Old way is to copy the GENERIC file to SOMEKERNEL, edit SOMEKERNEL and
use following commands (in proper directories):

config
make dep; make; make install


Both the ways are mentioned here
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

I use the old quick and dirty way to make and install the kernel.


On 1/11/06, M. Adam Davis <.....stienmanKILLspamspam.....gmail.com> wrote:
>
> make world
> If I remember correctly...


--
Chetan Bhargava
Web: http://www.bhargavaz.net
Blog: http://microz.blogspot.com

2006\01\11@190352 by Chen Xiao Fan

face
flavicon
face
> -----Original Message-----
> From: EraseMEpiclist-bouncesspam_OUTspamTakeThisOuTmit.edu
> [piclist-bouncesspamspam_OUTmit.edu] On Behalf Of M. Adam Davis

> On 1/7/06, Xiaofan Chen <@spam@xiaofancKILLspamspamgmail.com> wrote:
> > Updates to my FreeBSD test.
> > 6) pk2 and pyk for PICkit 2 do not work yet but I hope they will
> > work once I learn how to recompile the kernel.
>
> make world
> If I remember correctly...

I dare not to change the kernel yet...

Actually I chose to easy way (to change the PICKit 2 firmware
to use vendor specific configuration). Now uhid driver will not
claim the PICkit 2 and ugen will. So it should work. Unfortunately
it does not. So I guess libusb under FreeBSD does have some
limitations. I will check this later.

>> 12) piklab and pikdev fail to build since they require Linux.
>
> Did you enable linux binary compatability?
>
I'am able to build and run piklab-0.2 and pikdev-0.8.1 under
FreeBSD after the patches by Nicolas the author of piklab.
piklab-0.8.2 can be built but crash during startup.

I can not get ICD2 to work under FreeBSD with piklab-0.2
even though I can get ICD2 (USB) connection to work
under Ubuntu 5.10 Breezy with piklab.

Some other updates:
>>1) gputils 0.13.2beta: existing FreeBSD port
Latest snapshot works nicely as well.

>>2) SDCC Oct 12 2005: existing FreeBSD port
Latest CVS version works nicely as well.

>>3) gpsim: an old version 0.21.2 works but not yet the 0.21.11

I've got gpsim 0.21.11 working after a simple patch to
os_dependent.c.

I've reported all my findings to the GNUPIC list. I thought
people in this list are not interested on FreeBSD...

Anyway, I think this is just an experiment. As long as I
can not get USB things to work under FreeBSD, Linux will
be the main alternative OS for me.

Regards,
Xiaofan

2006\01\11@190737 by Chen Xiao Fan

face
flavicon
face

> -----Original Message-----
> From: KILLspampiclist-bouncesKILLspamspammit.edu
> [RemoveMEpiclist-bouncesTakeThisOuTspammit.edu] On Behalf Of Chetan Bhargava
>
> make world would make everything not just the kernel!
>
> There are two ways to build a kernel.
>

Thanks. I will try this a bit later. Right now I am quite
happy that I can run most of the things under FreeBSD. The
main obstacles are the USB PICkit 2 support.

Regards,
Xiaofan

2006\01\13@001506 by Chetan Bhargava

picon face
I have found FreeBSD to be lot more stable than linux in server
environment though Linux has better threading support for MySQL and
Apache than FreeBSD.

> Anyway, I think this is just an experiment. As long as I
> can not get USB things to work under FreeBSD, Linux will
> be the main alternative OS for me.

--
Chetan Bhargava
Web: http://www.bhargavaz.net
Blog: http://microz.blogspot.com

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...