CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
楼主: sunbeyond

小白如何自己编译一个debian-server系统一

[复制链接]
 楼主| 发表于 2015-6-23 09:30:32 | 显示全部楼层
leyiwo 发表于 2015-6-23 08:39
ubuntu 15.04 编译成功 显示编译成功,烧录到sd卡后启动,
可以启动,启动过程在某一个阶段卡住、 ...

log贴出来
回复 支持 反对

使用道具 举报

发表于 2015-6-23 12:47:48 | 显示全部楼层
sunbeyond 发表于 2015-6-23 09:30
log贴出来

leyiwo@leyiwo:~/sunxi-tools/linux-sdk-card1$ cb_install_tfcard nand sdc
/home/leyiwo/sunxi-tools/linux-sdk-card1/binaries/u-boot-a20/u-boot-sunxi-with-spl-ct-20131102.bin
"/home/leyiwo/sunxi-tools/linux-sdk-card1/build/ct/ct-debian-server/linux/arch/arm/boot/uImage" -> "/home/leyiwo/sunxi-tools/linux-sdk-card1/output/ct/ct-debian-server/card0-part1/uImage"
"/home/leyiwo/sunxi-tools/linux-sdk-card1/products/ct/ct-debian-server/configs/nand/uEnv-mmc.txt" -> "/home/leyiwo/sunxi-tools/linux-sdk-card1/output/ct/ct-debian-server/card0-part1/uEnv.txt"
Check ok: /dev/sdc
记录了254+1 的读入
记录了254+1 的写出
260260字节(260 kB)已复制,0.111734 秒,2.3 MB/秒
Build successfully
leyiwo@leyiwo:~/sunxi-tools/linux-sdk-card1$
回复 支持 反对

使用道具 举报

发表于 2015-6-23 12:50:13 | 显示全部楼层
leyiwo 发表于 2015-6-23 12:47
leyiwo@leyiwo:~/sunxi-tools/linux-sdk-card1$ cb_install_tfcard nand sdc
/home/leyiwo/sunxi-tools/l ...

由于论坛限制,贴在博客回复上
http://www.whatled.com/post-1578.html

EXT4-fs (mmcblk0p2): Cannot change data mode on remount
mount: / not mounted or bad option
[ ok ] Cleaning up temporary files... /tmp.
[info] Loading kernel module gpio_sunxi.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module pwm_sunxi.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module sunxi_gmac.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module disp.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module lcd.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module hdmi.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module ump.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module mali.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module bcmdhd.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[info] Loading kernel module sunxi_ss.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...<1>Unable to handle kernel paging request at virtual address c04d35b8
Unable to handle kernel paging request at virtual address c04d35b8
<1>pgd = ee508000
pgd = ee508000
<1>[c04d35b8] *pgd=6f7fd801[c04d35b8] *pgd=6f7fd801, *pte=404d34df, *pte=404d34df, *ppte=404d365e, *ppte=404d365e

<0>Internal error: Oops: 80f [#1] PREEMPT SMP ARM
Internal error: Oops: 80f [#1] PREEMPT SMP ARM
<d>Modules linked in:Modules linked in:

CPU: 1    Not tainted  (3.4.79 #3)
CPU: 1    Not tainted  (3.4.79 #3)
PC is at patch_text+0xc/0x1c
PC is at patch_text+0xc/0x1c
LR is at __jump_label_update+0x64/0x6c
LR is at __jump_label_update+0x64/0x6c
pc : [<c0014894>]    lr : [<c00aac58>]    psr: 80000013
sp : eebdbf20  ip : ee6d4094  fp : 00000001
pc : [<c0014894>]    lr : [<c00aac58>]    psr: 80000013
sp : eebdbf20  ip : ee6d4094  fp : 00000001
r10: eebda000  r9 : eed5a540  r8 : bed6b5b4
r10: eebda000  r9 : eed5a540  r8 : bed6b5b4
r7 : 00000001  r6 : c098c514  r5 : c0a09e74  r4 : c0a09904
r7 : 00000001  r6 : c098c514  r5 : c0a09e74  r4 : c0a09904
r3 : c04d35b8  r2 : c098b4ec  r1 : ea000034  r0 : c04d35b8
r3 : c04d35b8  r2 : c098b4ec  r1 : ea000034  r0 : c04d35b8
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: 6e50806a  DAC: 00000015
Control: 10c5387d  Table: 6e50806a  DAC: 00000015

PC: 0xc0014814:

PC: 0xc0014814:
4814 4814  13a024eb 13a024eb e37303ff e37303ff 2a000002 2a000002 e7f70150 e7f70150 e1820000 e1820000 e12fff1e e12fff1e e92d4070 e92d4070 e3095819 e3095819

4834 4834  e34c50a0 e34c50a0 e5d54000 e5d54000 e3540000 e3540000 0a000001 0a000001 e3a00000 e3a00000 e8bd8070 e8bd8070 e30906f4 e30906f4 e3a0102e e3a0102e

4854 4854  e34c0083 e34c0083 eb008ee7 eb008ee7 e3a03001 e3a03001 e1a00004 e1a00004 e5c53000 e5c53000 e8bd8070 e8bd8070 e30b24ec e30b24ec e1a03000 e1a03000

4874 4874  e34c2098 e34c2098 e4831004 e4831004 e5922010 e5922010 e1a01003 e1a01003 e12fff12 e12fff12 e30b24ec e30b24ec e1a03000 e1a03000 e34c2098 e34c2098

4894 4894  e4831004 e4831004 e5922010 e5922010 e1a01003 e1a01003
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-6-23 14:18:01 | 显示全部楼层
leyiwo 发表于 2015-6-23 12:50
由于论坛限制,贴在博客回复上
http://www.whatled.com/post-1578.html

新sdk编译有3步:

$ cb_build_card_image
$cb_part_install_tfcard nand sdc
$cb_install_tfcard nand sdc

不知道第二步分区你有没有做?

另外从log看, 你第一步编译内核驱动的时候应该是有报错的。 请仔细看,有时候报错不会停下来的。
回复 支持 反对

使用道具 举报

发表于 2015-6-23 16:38:03 | 显示全部楼层
sunbeyond 发表于 2015-6-23 14:18
新sdk编译有3步:

$ cb_build_card_image

好的,我会继续
回复 支持 反对

使用道具 举报

发表于 2017-9-9 23:17:09 | 显示全部楼层
让我有种冲冲欲动的感觉,快行动起来
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-25 05:56 , Processed in 0.021270 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部