RetroBSD

2.11BSD operating system for microcontrollers
It is currently Sat Aug 08, 2020 3:19 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jun 23, 2016 4:41 pm 
Contributor
User avatar

Joined: Sun Oct 20, 2013 3:15 am
Posts: 322
https://github.com/RetroBSD/retrobsd/pull/74

We should also update the wiki to provide FreeBSD build steps for both RetroBSD and LiteBSD. I also have a binary toolchain available for FreeBSD 10.3 (10.x?): http://homepages.rpi.edu/~callab3/mips- ... 0.3.tar.gz
You extract it to /usr/local (it creates a /usr/local/mips-elf directory). This toolchain builds both RetroBSD and LiteBSD.

_________________
@__briancallahan on Twitter


Top
 Profile  
 
PostPosted: Tue Jun 28, 2016 10:24 am 
Committer
User avatar

Joined: Thu Oct 11, 2012 8:45 am
Posts: 1801
Location: Room 217, Floor 8, Arm 8, Wheel S7, Mars Base Alpha 3
To add to this, I have overhauled the pic32prog build process. It now uses GNU Autotools (for better or worse) in my own fork of the project.

The upshot of this is it now compiles (though I don't know if it works or not) on FreeBSD and OpenBSD.

So you now have the whole thing end-to-end on BSD systems ;)

https://github.com/majenkotech/pic32prog-autotools

As this is a completely separate repo, at the moment I have to manually merge in upstream changes with my own changes (though they are minimal). It'd be nice (nugde nudge, Serge) if we could adopt this new build system as the default...

_________________
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".


Top
 Profile  
 
PostPosted: Sat Jul 11, 2020 9:28 am 

Joined: Wed Jun 24, 2015 11:22 am
Posts: 3
Hi,
I built pic32prog using autotools port on FreeBSD12. It builds successfully with following message from configure script:

Configuration Summary
---------------------

AN1388 (HID) ............. Disabled
AN1388 (UART) ............ Enabled
BitBang .................. Enabled
HIDBoot .................. Disabled
MPSSE .................... Enabled
PICkit2/3 ................ Disabled
STK500v2 ................. Enabled
UHB ...................... Disabled

USB Support .............. Enabled
HID Support .............. Disabled
Serial Support ........... Enabled

Compiling For ............ freebsd12.0

Warning:
HID support could not be enabled. You may need to install libiconv

I have the libiconv libraries in /usr/local/lib.
I also read I might need libhid and installed that also.
But got same results. So ran configure with
./configure --with-libiconv-prefix=/usr/local
with same result.
When I plugin pickit2 programmer, it always reports "Target not found". Also, the LED on the target board does not light.
dmesg reports as follows when the programmer(pickit2) inserted:
ugen0.9: <Microchip Technology Inc. PICkit 2 Microcontroller Programmer> at usbus0
uhid1: <Microchip Technology Inc. PICkit 2 Microcontroller Programmer, class 0/0, rev 2.00/0.02, addr 17> on usbus0

It is creating the HID device, but somehow the s/w is unable to detect it.
Can someone help me debug the issue?

thanks,
Sreenath


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission