ares.zhoui 发表于 2014-9-4 16:18:54

cubieboard2怎么编译成linux 系统的NAND img?

   目前参考论坛的方法已经可以从TF卡启动了,但是由于A20从TF卡启动后不能对/dev/nand进行操作,所以不能直接通过TF卡生成固件到NAND中,而sunxi-bsp也不能支持a20。

大家有什么方法能制作NAND固件吗? 注意,不是安卓,是linux的固件。


airpumpkin 发表于 2014-9-4 20:03:29

/dev/nand不能手动mount?

ares.zhoui 发表于 2014-9-5 15:49:31

airpumpkin 发表于 2014-9-4 20:03 static/image/common/back.gif
/dev/nand不能手动mount?

系统中无此设备,没办法操作。

mc_john 发表于 2014-9-9 15:41:18

你这个是编译的事,在内核编译的时候,把sunxi 的nand选择上就可以了;

不过,我还是想找个能制作nand image的方法,因为我现在做的太笨了,是烧了一下ct官方的固件,
然后再把内核和文件系统替换成自己 的,这样做,U-BOOT不是自己 的,而且也不方便。
请高手给个制作 nand image 的方法。

smileFei 发表于 2014-9-23 09:36:22

我也是啊,同求!

mxfggg 发表于 2015-3-18 10:16:55

这么好的帖子怎么没下文了。。。。?

daiyoko 发表于 2015-3-30 19:58:18

mc_john 发表于 2014-9-9 15:41 static/image/common/back.gif
你这个是编译的事,在内核编译的时候,把sunxi 的nand选择上就可以了;

不过,我还是想找个能制作nand ima ...

那個 "构建自己的 CubieBoard Debian Linux" 文檔 最後幾頁有教如何制成 img。。。

daiyoko 发表于 2015-3-31 20:26:31

ares.zhoui 发表于 2014-9-5 15:49 static/image/common/back.gif
系统中无此设备,没办法操作。

在編譯 kernel 時,在 make menuconfig 那個 step <= 按 / 搜尋 nand 再 Y (Device Drive \ Block ...),就會有 /dev/nand...

bbschenzuo 发表于 2015-4-2 08:21:24

帮不了你什么东西。只能顶

hiwu36 发表于 2015-8-30 16:44:55

you can not mount /dev/nand directly under linux.
Please use the following step
(1) make menuconfig -->enable linux nand flash driver
(2) check your "MTD partition"
(3) mount your MTD partition in linux. (such as /dev/mtd2)
(4) if you use UBIFS, you need to use the mtdtool for ubifs to mount your image on nand flash.

页: [1] 2
查看完整版本: cubieboard2怎么编译成linux 系统的NAND img?