OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [README.or32] - Rev 761

Go to most recent revision | Compare with Previous | Blame | View Log

This is uClinux for or32.

To build type:
  set to 1 MC_INIT define in include/asm-or1k/board.h if you are using memory controller

make oldconfig
make dep
make linux.bin

To make ext2 fs image:

mke2fs -m0 -r0 -O none /dev/ram0 64
mount /dve/ram0/ /initrd
cp ... /initrd
mknod fb c 29 0
mknod fb0 c 29 0
mknod ram0 b 1 0
mknod tty c 4 0
mknod tty0 c 4 0
mknod tty1 c 4 1
mknod ttyS0 c 4 64
mknod ttyS1 c 4 65
umount /initrd
dd if=/dev/ram0 of=~/uClinux/linux/arch/or1k/board/initrd

To make romfs image:

cd ~/delete/romfs
cp .... ./
genromfs -f ~/uClinux/linux/arch/or1k/board/initrd

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.