URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 581 |
Rev 761 |
Line 1... |
Line 1... |
This is uClinux for or32.
|
This is uClinux for or32.
|
|
|
To build type:
|
To build type:
|
set to 1 MC_INIT define in include/asm-or1k/board.h if you are using memory controller
|
set to 1 MC_INIT define in include/asm-or1k/board.h if you are using memory controller
|
|
|
make oldconfig
|
make oldconfig
|
make dep
|
make dep
|
make linux.bin
|
make linux.bin
|
|
|
To make ext2 fs image:
|
To make ext2 fs image:
|
|
|
mke2fs -m0 -r0 -O none /dev/ram0 64
|
mke2fs -m0 -r0 -O none /dev/ram0 64
|
mount /dve/ram0/ /initrd
|
mount /dve/ram0/ /initrd
|
cp ... /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
|
umount /initrd
|
dd if=/dev/ram0 of=~/uClinux/linux/arch/or1k/board/initrd
|
dd if=/dev/ram0 of=~/uClinux/linux/arch/or1k/board/initrd
|
|
|
To make romfs image
|
To make romfs image:
|
|
|
cd ~/delete/romfs
|
cd ~/delete/romfs
|
cp .... ./
|
cp .... ./
|
genromfs -f ~/uClinux/linux/arch/or1k/board/initrd
|
genromfs -f ~/uClinux/linux/arch/or1k/board/initrd
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.