RetroBSD

2.11BSD operating system for microcontrollers
It is currently Tue Feb 25, 2020 6:31 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri May 23, 2014 4:09 pm 

Joined: Fri May 23, 2014 4:04 pm
Posts: 10
I'm trying to get -current building and running on the emulator for my amusement at this point rather than anything practical. Having built it with gcc 4.8.1 I've fixed a few warnings that blow up the build but trying to run it under the emulator it dies with

VirtualMIPS (version 0.06-retrobsd)
Copyright (c) 2008 yajin, 2011 vak.
Build date: May 22 2014 21:26:57

Using configure file: pic32_max32.conf
ram_size: 128k bytes
boot_method: Binary
flash_type: NOR FLASH
flash_size: 492k bytes
flash_file_name: ../../sys/pic32/max32/unix.bin
flash_phy_address: 0x1d000000
boot_from: NOR FLASH
sdcard_port: SPI4
sdcard0_size: 340M bytes
sdcard0_file_name: ../../sdcard.rd
start_address: 0x9d001000
uart1_type = console
--- Start simulation: PC=0x9d001000, JIT disabled

2.11 BSD Unix for PIC32, revision 898 build 1:
Compiled 2014-05-23 by alan@alan:
/rotating/home/alan/RetroBSD/retrobsd-current/sys/pic32/max32
cpu: 795F512L 80 MHz, bus 80 MHz
oscillator: HS crystal, PLL div 1:2 mult x20
console: tty0 (5,0)
sd0: port SPI4, select pin D3
sd1: port SPI4, select pin D4
sd0: card_cmd timeout, cmd=08, addr=000001aa, reply=ff

*** 0x9d00c1f4: exception 'Address Load'
*** badvaddr = 0x8000387a
t0 = 4 s0 = 0 t8 = 0 lo = 6
at = 0 t1 = 800036b4 s1 = 8000 t9 = 0 hi = 7d0
v0 = 80005358 t2 = ffffffff s2 = 0 status = 10000003
v1 = 0 t3 = 9d0222dc s3 = 0 cause = 800010
a0 = 800036b4 t4 = 2a s4 = 80004304 gp = 80000000 epc = 9d00c1f4
a1 = 80005358 t5 = 0 s5 = 4 sp = 80007f48
a2 = 80000164 t6 = 0 s6 = 2 fp = 80004178
a3 = 0 t7 = 0 s7 = 0 ra = 9d00c1a8
************************************
*******STACK DUMP START*************
frame = 80007ec4
stack data
0 80005358 0 800036b4
80005358 80000164 0 4
800036b4 ffffffff 9d0222dc 2a
0 0 0 0
8000 0 0 80004304
4 2 0 0
0 80000000 80007f48 80004178
9d00c1a8 6 7d0 10000003
9d00c1f4 0 80007f74 0
0 0 0 9d020864
0 b7 9d00cb74 4
9d00f2f0 0 80004330 80004330
80003ab4 80003ab4 808 80003d4c
80000000 9d01f9b0 0 0
9d002c70 9d01f98c 9d02264c 0
80000000 0 0 0
0 0 0 0
0 0 0 0
0 0 9d00109c 0
0 0 0
*******STACK DUMP END***************
************************************

*** 0x9d00c1f4: exception 'Address Load'
*** badvaddr = 0x8000387a
t0 = 4 s0 = 0 t8 = 0 lo = 6
at = 0 t1 = 800036b4 s1 = 8000 t9 = 0 hi = 7d0
v0 = 80005358 t2 = ffffffff s2 = 0 status = 10000003
v1 = 0 t3 = 9d0222dc s3 = 0 cause = 800410
a0 = 800036b4 t4 = 2a s4 = 80004304 gp = 80000000 epc = 9d00c1f4
a1 = 80005358 t5 = 0 s5 = 4 sp = 80007f48
a2 = 80000164 t6 = 0 s6 = 2 fp = 80004178
a3 = 0 t7 = 0 s7 = 0 ra = 9d00c1a8
panic: unexpected exception
no fs on dev 0/0
syncing disks... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 done
halted
9d00a708: wait instruction with interrupts disabled - stop the simulator.

--- Stop simulation


Top
 Profile  
 
PostPosted: Fri May 23, 2014 5:14 pm 
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
Looks to me like you're still using the old google code SVN repository. It's old, don't use it.

Use the github repo instead.

https://github.com/RetroBSD/retrobsd

_________________
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  
 
 Post subject:
PostPosted: Fri May 23, 2014 5:31 pm 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1081
Location: Sunnyvale, CA
Source tree at Googlecode is a bit outdated. The development has switched to Github. To get the sources, please use:
Code:
git clone https://github.com/RetroBSD/retrobsd.git


Top
 Profile  
 
PostPosted: Fri May 23, 2014 5:45 pm 

Joined: Fri May 23, 2014 4:04 pm
Posts: 10
Yay - that works

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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