RetroBSD

2.11BSD operating system for microcontrollers
It is currently Tue Mar 31, 2020 1:59 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Sep 28, 2015 6:06 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
fub 384 auto>
Code:
adc: 15 channels
pwm: 5 channels
sd0: type SDHC, size 1936128 kbytes, speed 13 Mbit/sec             <<<< ??
sd0a: partition type b7, sector 2, size 102400 kbytes
sd0b: partition type b8, sector 204802, size 2048 kbytes
sd0c: partition type b7, sector 208898, size 102400 kbytes
phys mem  = 128 kbytes
user mem  = 96 kbytes
root dev  = (0,1)
swap dev  = (0,2)
root size = 102400 kbytes
swap size = 4096 kbytes                                            <<<< ??
/dev/sd0a: 1322 files, 13590 used, 88409 free
Starting daemons: update cron

It seems the sdcard size is half and the swap double of I would expect.

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
PostPosted: Mon Sep 28, 2015 6:41 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1081
Location: Sunnyvale, CA
Wow, seems like it's my bug: incorrect computation of partition size in recently modified SD driver.
I'll take a look.


Top
 Profile  
 
PostPosted: Mon Sep 28, 2015 6:52 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1081
Location: Sunnyvale, CA
Fixed in next revision: the size of partition has been computed in sectors, not in kilobytes.
Thank you, Pito, for report.


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