Debian on the Octeon

1, Use fdisk to create two partitions on Compat Flash Card;

    My USB card reader/writer is Box2s-M2-H. Works very well with CentOS 5.x

    You can use dmesg to find which device is attched to when you plug cf card.

 

    First partition is FAT16, linux kernel will be stored here. The other partition is ext2, will keep a copy of debian linux.

 

    You need make file system after partitions created.

 

 

2, Install Octeon debian linux

 

    ; Create the Mount Directories
host$ sudo mkdir –p /mnt/cf1
host$ sudo mkdir –p /mnt/cf2

 

    ;  Install Kernel Plus Debian Onto the Flash card

    cd $OCTEON_ROOT/linux/debian

    sudo make DISK=/dev/sdb kernel debian toolchain toolchain32 toolchain-uclibc

 

    ; Upgrading the Kernel on the Flash Card because above installed kernel include embedded file system

    cd $OCTEON_ROOT/linux

    sudo make kernel-deb flash

 

3, Let U-Boot auto boot linux
   a, set octeon to local bus boot;
   b, setenv bootcmd 'fatload ide 0 0 vmlinux.64;bootoctlinux 0x20000000 coremask=0xFFF root=/dev/cfa2 mem=0'
      saveenv

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值