RetroBSD

2.11BSD operating system for microcontrollers
It is currently Sat Jun 23, 2018 9:50 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Oct 11, 2015 7:42 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
While messing with baremetal fubarino (trying various CPU and BUS freq combinations), I've found out when the BUS is half of the CPU (bus divider=2), the upload via TT and rz corrupts the filesystem (it could be recovered via fsck). The upload always stops (usually at 100%) and the system stops to respond, so you have to reset. It does even at 10MHz card speed.
With bus divider=1 I cannot reproduce the issue.
Needs more investigation.

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
PostPosted: Wed Oct 14, 2015 2:42 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1079
Location: Sunnyvale, CA
It may be caused by this suspicious spl0()/splx() trick in the SD driver. An interrupt from the serial driver intervenes and somehow damages the block transfer.


Top
 Profile  
 
PostPosted: Thu Oct 15, 2015 12:30 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
I would recommend to cancel the bus_khz and bus_div option and to stay with cpu_khz only.

_________________
Pukao Hats Cleaning Services Ltd.


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:




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission