confu 发表于 2013-5-1 19:47:54

超简单的安装ArchLinux到NAND

本帖最后由 confu 于 2013-5-1 23:25 编辑

买了个CubieBoard打算做WEB服务器,想把系统装到NAND,然后把WEB站点放在TF卡中,于是装了个http://guillaumeplayground.net/share/debian_wheezy_armhf_v1_mele.img.gz,结果无线网卡MW150US, 芯片是8179(其实就是8188eu)驱动死活装不上,想按照http://just4fun.cn/?p=650这篇文章说的编译,结果开发环境搞不定,只好老老实实去装ArchLinux照着做了.网上找一些资料,有的很麻烦,试出来一个简单的办法,暂时没发现有什么问题!

PS:ArchLinux是官方提供的,感觉更可靠一些.用TTL线连接然后用PuTTY很方便(这个CubieBoard考虑的很周全,赞一个!!),也不需要HDMI显示器!没有就插上网上然后到路由上看IP,然后用SSH连接操作

1.先把debian_wheezy_armhf_v1_mele.img.gz烧入TF卡启动系统,推荐使用USB Image Tool

2.插入TF卡启动,然后给NAND分区,可以使用SunXi的NAND-PART工具,貌似要编译,麻烦!直接下载官方的nand boot parttion imagewget http://cubieboard.googlecode.com/files/cubie_nand_uboot_partition_image.bin写入到nanddd bs=4096 if=./cubie_nand_uboot_partition_image.bin of=/dev/nand
网上的资料说等30秒然后重启reboot3.向分好的区里拷贝文件系统mkfs.ext4 /dev/nandb
wget http://archlinuxarm.org/os/ArchLinuxARM-sun4i-latest.tar.gz
mount /dev/nandb /mnt
tar -zxvf ArchLinuxARM-sun4i-latest.tar.gz -C /mnt等待复制完成,然后关闭系统poweroff然后拨出TF卡,开机进入系统,完成




botio 发表于 2013-5-2 17:16:34

請問要怎麼支援hdmi?

醉月 发表于 2013-5-3 09:51:49

其实,所谓的30S时间,个人认为是等待数据完全写入或者读出,在linux下操作非本机磁盘数据时,经常会用到一个 sync 命令,每次对数据操作后,一般都会敲下这个命令

醉月 发表于 2013-5-3 09:56:28

botio 发表于 2013-5-2 17:16 static/image/common/back.gif
請問要怎麼支援hdmi?

首先要有hdmi驱动,然后...就是共享一些资料吧:
http://cn.cubieboard.org/forum.php?mod=viewthread&tid=141&extra=page%3D1
http://linux-sunxi.org/Fex_Guide

botio 发表于 2013-5-3 13:20:07

醉月 发表于 2013-5-3 09:56 static/image/common/back.gif
首先要有hdmi驱动,然后...就是共享一些资料吧:
http://cn.cubieboard.org/forum.php?mod=viewthread&ti ...

請問是什麼意思,不好意思,因為我是初學者,不太懂你的意思,謝謝

hipboi 发表于 2013-5-3 19:00:22

botio 发表于 2013-5-2 17:16 static/image/common/back.gif
請問要怎麼支援hdmi?

你需要什么系统支持hdmi

botio 发表于 2013-5-3 21:49:30

hipboi 发表于 2013-5-3 19:00 static/image/common/back.gif
你需要什么系统支持hdmi

http://guillaumeplayground.net/share/debian_wheezy_armhf_v1_mele.img.gz 這個debian 跟這個樓主說的Arch 都沒有 hdmi ,我目前是比較想用這兩個系統。

另外這兩個內核 好像不支援 pppoe ,請問有辦法嗎? 我目前有一個中華電信固定IP,可是需要PPP撥號。

麻煩大大們幫忙

hipboi 发表于 2013-5-4 11:19:01

botio 发表于 2013-5-3 21:49 static/image/common/back.gif
http://guillaumeplayground.net/share/debian_wheezy_armhf_v1_mele.img.gz 這個debian 跟這個樓主說的A ...

这个debian是headless的,不支持hdmi。

hipboi 发表于 2013-5-4 11:19:55

botio 发表于 2013-5-3 21:49 static/image/common/back.gif
http://guillaumeplayground.net/share/debian_wheezy_armhf_v1_mele.img.gz 這個debian 跟這個樓主說的A ...

这个是支持hdmi和pppoe拨号的

http://dl.cubieboard.org/software/ubuntu/cb-sdcard-1.1-linaro-quantal-alip-20130227-290.img.tgz

botio 发表于 2013-5-4 14:22:21

hipboi 发表于 2013-5-4 11:19 static/image/common/back.gif
这个是支持hdmi和pppoe拨号的

http://dl.cubieboard.org/software/ubuntu/cb-sdcard-1.1-linaro-quantal ...
就是不想用 linaro系統耶....T_T
页: [1] 2
查看完整版本: 超简单的安装ArchLinux到NAND