Shopping Cart | 中文网站
Online Support
  Atmel Boards  (29) TOP10
  MYD-SAM9X5 (7)
  MYS-SAM9X5 (2)
  MYS-SAM9G45 (1)
  MYD-SAMA5D3X (12)
  MYD-SAM9X5-V2 (2)
  MYC-SAM9X5 (4)
  MYC-SAM9X5-V2 (1)
  MYC-SAMA5D3X (0)
  NXP Boards  (3) TOP10
  MYD-LPC435X (2)
  MYD-LPC185X (1)
  MYD-LPC1788 (0)
  Samsung Boards  (0) TOP10
  TI Boards  (10) TOP10
  MYD-AM335X (9)
  MYC-AM335X (1)
  Other  (3) TOP10
  MY-WF003U (1)
  Freescale Boards  (2) TOP10
  MYD-IMX28X (2)
  Xilinx Boards  (7) TOP10
  Z-turn Board (6)
  Home >  Support > Atmel Boards > MYS-SAM9G45
MYS-SAM9G45 root directory capacity only shows 64MB
I'm using the MYS-SAM9G45 board under Linux. But found the root directory capacity is only 64MB when using the df -h command. So 256MB Nand Flash seems lost much space for using. How to solve the problem then?

Hello, that's because the much space of the MYS-SAM9G45 is as user space which has not been mounted. User may need to mount it himself and then it can be used. You can follow below ways:

1. Please use text editor to open the file "at91sam9g45ekes_demo_linux_nandflash.tcl" before the system auto-programming;

2. Go to the location roughly in the 84th line, the contents are as below:

"bootargs=mem=128M console=ttyS0,115200 mtdparts=atmel_nand:5M(bootstrap/uboot/kernel)ro,64M(rootfs),-(data) root=/dev/mtdblock1 rw   rootfstype=jffs2" \

Please change 64M to 200M and note do not change to 256M as part of the space will be used for uboot and system.

"bootargs=mem=128M console=ttyS0,115200 mtdparts=atmel_nand:5M(bootstrap/uboot/kernel)ro,64M(rootfs),-(data) root=/dev/mtdblock1 rw   rootfstype=jffs2" \

3. Re-programming

4. It will be as following if successful.

root@at91sam:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock1          200.0M     31.8M    168.3M  16% /
tmpfs                    40.0k         0     40.0k   0% /mnt/.psplash
/dev/mtdblock1          200.0M     31.8M    168.3M  16% /dev/.static/dev
tmpfs                     2.0M     48.0k      2.0M   2% /dev
tmpfs                    61.5M     92.0k     61.4M   0% /var/volatile
tmpfs                    61.5M         0     61.5M   0% /media/ram


Room 04, 6th Floor, Building No.2, Fada Road, Yunli Smart Park, Bantian, Longgang District, Shenzhen, Guangdong, China 518129
E-mail: or  Phone: +86-755-22984836  Fax: +86-755-25532724
Copyright © MYIR Tech Limited 2011-2018 all rights reserved.
myirtech_facebook myirtech_Twitter myirtech_linkedin myirtech_youtube