smart210 【u-boot-2014.04】移植之建立单板

reference : goni
gcc : arm-linux-gcc-4.5.1

1.建立单板
    vim Makefile
        CROSS_COMPILE ?= /home/flinn/tools/4.5.1/bin/arm-none-linux-gnueabi-

    cp -r board/samsung/goni/ board/samsung/smart210
    mv board/samsung/smart210/goni.c board/samsung/smart210/smart210.c
    vim board/samsung/smart210/Makefile
        obj-y   := smart210.o onenand.o
        
    cp include/configs/s5p_goni.h include/configs/smart210.h
    vim boards.cfg
        Active  arm         armv7    s5pc1xx     samsung       smart210    smart210     -       Flinn <flinn682@foxmail.com>


    make smart210_config
    make all
    
2.烧录
    ./mkmini210 u-boot.bin u-boot.16k
    sudo dd iflag=dsync oflag=dsync if=u-boot.16k of=/dev/sdc seek=1
    sudo dd iflag=dsync oflag=dsync if=u-boot.bin of=/dev/sdc seek=49
    
    没有任何输出

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值