ROBIN -  Open Source Mesh Network Forum Index ROBIN - Open Source Mesh Network
users community forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

4mb or 8mb ram - Antonio, what is your official advice

 
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> Ubiquiti Unclassified & Misc
View previous topic :: View next topic  
Author Message
Ads






Posted: Mon Sep 25, 2017 3:22 am    Post subject: Ads

Back to top
dalenorman
Ultimate User
Ultimate User


Joined: 24 Mar 2008
Posts: 379
Location: Toronto, Ontario

PostPosted: Wed Oct 22, 2008 5:53 pm    Post subject: 4mb or 8mb ram - Antonio, what is your official advice Reply with quote

Hi Antonio, can you please clarify how much flash ram the current version of ROBIN needs - 4mb or 8mb.?

Some new ubiquity units come with 8mb, which you have previously said is very important. But that was a long time ago, and since then, you've posted a ubiquity-specific build of ROBIN on blogin.it that's compressed with squashfs.

Is 4mb ok? do 8mb units run "better" than 4mb ones?

And what about ram (not flash ram, real ram). Some are 16, some are 32. What difference does this make to ROBIN?

Accton, FON and Meraki nodes are all 8mb flash, 32 ram.
Back to top
View user's profile Send private message
Antonio (isleman)
Site Admin
Site Admin


Joined: 10 Feb 2008
Posts: 2323
Location: Toscana, Italy

PostPosted: Thu Oct 23, 2008 11:41 am    Post subject: Reply with quote

robin needs 8 MB flash room, squash images are experimental ones to flash 8MB flash sized ubiquity devices. The "real" RAM size is important 'cos it allow the chance to use the On The Air mtd-upgrade: the routers must have room enough to store rootfs and kernel images.
Sometimes there is confusion about terms and numbers, for istance the FON2100A/B/C (La Fonera) is 16MB router but only 8MB are available after a flash so, they run with very little free memory.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dimach
User
User


Joined: 05 Apr 2008
Posts: 45

PostPosted: Mon Oct 27, 2008 6:24 pm    Post subject: Reply with quote

Antonio, but how much flash do you need to do On The Air-mtd-update?

My NS2 has this much space :

root@nanostation:~# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 6.7M 112.0k 6.6M 2% /tmp
tmpfs 512.0k 0 512.0k 0% /dev
/dev/mtdblock3 640.0k 436.0k 204.0k 68% /jffs
mini_fo:/jffs 2.3M 2.3M 0 100% /

I can download images to /tmp with no problems

root@nanostation:~# wget
Only registered users can see links on this forum!
Register or Login on forum!

request sent, awaiting response... 200 OK
Length: 2,490,368 (2.4M) [text/plain]

100%[====================================>] 2,490,368 45.32K/s ETA 00:00

17:17:23 (41.37 KB/s) - `openwrt-atheros-root.squashfs' saved [2490368/2490368]

root@nanostation:~# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 6.7M 2.5M 4.2M 37% /tmp
tmpfs 512.0k 0 512.0k 0% /dev
/dev/mtdblock3 640.0k 440.0k 200.0k 69% /jffs
mini_fo:/jffs 2.3M 2.3M 0 100% /
root@nanostation:~# wget

Only registered users can see links on this forum!
Register or Login on forum!


HTTP request sent, awaiting response... 200 OK
Length: 720,896 (704K) [text/plain]

100%[====================================>] 720,896 41.54K/s ETA 00:00

17:19:17 (38.20 KB/s) - `openwrt-atheros-vmlinux.lzma' saved [720896/720896]

root@nanostation:~# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 6.7M 3.2M 3.5M 48% /tmp
tmpfs 512.0k 0 512.0k 0% /dev
/dev/mtdblock3 640.0k 440.0k 200.0k 69% /jffs
mini_fo:/jffs 2.3M 2.3M 0 100% /

I still have 3.5M available. Am I missing something?
Back to top
View user's profile Send private message
Antonio (isleman)
Site Admin
Site Admin


Joined: 10 Feb 2008
Posts: 2323
Location: Toscana, Italy

PostPosted: Mon Oct 27, 2008 7:14 pm    Post subject: Reply with quote

Quote:
tmpfs 6.7M 112.0k 6.6M 2% /tmp


it seems you have enough space to room rootfs and kernel but I don't know if flash will be a success.
We need to know how the flash memory (so not the /tmp) is partitioned by ubnt redboot and so undertand if rootfs can fit its partition. To detect the partitions simply issue:
Code:
cat /proc/mtd
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dimach
User
User


Joined: 05 Apr 2008
Posts: 45

PostPosted: Mon Oct 27, 2008 7:56 pm    Post subject: Reply with quote

Here what I have:

Code:
root@nanostation:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00030000 00010000 "RedBoot"
mtd1: 000b0000 00010000 "kernel"
mtd2: 002e0000 00010000 "rootfs"
mtd3: 000a0000 00010000 "rootfs_data"
mtd4: 00020000 00010000 "cfg"
mtd5: 0000f000 00010000 "FIS directory"
mtd6: 00001000 00010000 "RedBoot config"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> Ubiquiti Unclassified & Misc All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
c d
e



Powered by phpBB © 2001, 2005 phpBB Group

Abuse - Report Abuse - TOS & Privacy.
Powered by forumup.it free forum, create your free forum! Created by Hyarbor & Qooqoa
Confirmed

Page generation time: 0.072