Cubieboard the Linux Debian system into NAND's operational records __linux

Source: Internet
Author: User
Tags ssh

Download Address: http://guillaumeplayground.net:81/share/debian_wheezy_armhf_v1_mele.img.gz

First in the win system using Win32diskimager will debian_wheezy_armhf_v1_mele.img brush to the TF card, and then put the TF card into the CB TF slot, the power to start.
Because Debian has its own SSH service, we connect to CB directly via SSH clients such as SECURECRT or putty, and the default username and password are " root ",

wget Http://cubieboard.googlecode.com/files/cubie_nand_uboot_partition_image.bin

DD bs=4096 if=cubie_nand_uboot_partition_image.bin of=/dev/nand    #更新板载MBR
dd Wait at least 30 seconds after completing the Then reboot the system for additional steps.
reboot    #重启CB
mkfs.ext4/dev/nandb    #格式化板载存储
mount/dev/nandb/mnt  &N Bsp #挂载
mkdir/tmp/boot    #新建临时目录
mount/dev/mmcblk0p1/tmp/boot    #将sd卡的第一个分区挂载到刚才的临时目录
mkdir/mnt/boot    #在板载存储里面新建boot目录
cp/tmp/boot/uimage/mnt/boot/uimage    # The boot in the first partition of the SD card is mirrored to the boot directory in the onboard
Touch cp.txt    #新建一个txt文件
Nano cp.txt    #编辑里面内容如下:

/ dev/*
/proc/*
/sys/*
/media/*
/mnt/*
/run/*
/tmp/*

RSYNC-AVC--exclude-from=cp.txt//mn t    #同步TF卡系统到NAND
If the above steps do not prompt the error, after the synchronization operation to drink a glass of water wait a moment, the screen should be fast, the TF card on various files are fast sync to NAND, waiting for the end. Use the shutdown-h now command to turn off the CB, unplug the TF card, and then power the boot up, and see that ~CB is starting Linux without the TF card. Please use the TTL line to connect the CB after viewing the network IP, and then through SSH operation, this page provides the system to connect the monitor will not have any display, you need to solve.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.