enricorossi.org

Enrico Rossi


Avr32 build root

Published:
By Enrico Rossi
Category: blog
Tags: howto, tips, embedded, linux, avr32

A postit:

mmcinit
set bootargs 'console=ttyS0 root=/dev/mmcblk0p2 ro rootwait'
ext2load mmc 0:1 0x10200000 /uImage
bootm 0x10200000

Filesystem stuff

  • fstab to be fixed

from root after mount sd card

mknod -m 0660 console c 5 1
mknod -m 0666 null c 1 3
chown -R root:root /mnt/

fstab

# /etc/fstab: static file system information.
#
# <file system> <mount pt>  <type>      <options>   <dump>  <pass>
#/dev/mtdblock3 /usr        jffs2       defaults    0   0

proc /proc proc defaults 0 0
/dev/mmcblk0p2 / ext3 noatime,errors=remount-ro 0 1
/dev/mmcblk0p1 /boot ext3 noatime,defaults 0 2