How to port cupcake to TI zoom2 platform (3)

Zoom2 (Beta) Hardware and     SoftwareSetup

 

 

                                          --------By Fendy_Dai

nux Bring-up on Zoom2

1.  Prepare SD card for booting.

§  Copy MLO, u-boot and uImage in partition 1 (FAT32) of SD card

 

2.  Prepare filesystem and install on SD card

§  For SD card based filesystem

insert SD Card

mkdir  /tmp/ mmc 1

mkdir /tmp/mmc2  

mount /dev/sdx1 mmc1

mount /dev/sd x 2 mmc 2   à  here replace ‘x’ with the device on your host ex: sdb2 or sdc2

cd /home/ wenjuan/android/out/target/product/zoom2

su root

(cd root; tar cf - * ) | (cd /tmp/mmc2; tar xfp -)

tar cf – system |  (cd /tmp/mmc2; tar xfp -)

cd   /tmp/mmc2

cp  init.omap zoom2 .rc init.rc

sudo ln  s ./system/etc ./etc

sudo chmod  R 777 system

cd dev

mknod  m 660 null 1 3

mknod  m 660 console 5 1

cd ..

sudo vim init.rc

# playmp3

umount /dev/sdx2 

Eject the card

 

3.  Setup u-boot environment variables.

§  Insert SD card into the card reader on Zoom2 

§  nand unlock

§  setenv bootargs console=ttyS 3 ,115200n8 root=/dev/mmcblk0p2 rw rootdelay=1  ip= off init=./init devfs=mount

§  setenv bootcmd = mmcinit;fatload mmc 0 0x80800000 uImage;bootm 80800000 :

§  setenv bootfile=uImage;

§  saveenv

§  boot

 

4.  The kernel will boot using the Filesystem provided and you will get the kernel prompt on the console

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值