TI论坛
直播中

张荷

7年用户 220经验值
私信 关注
[问答]

请问TI能够提供使用uclibc交叉编译的交叉编译工具吗?

请问ti能够提供使用uclibc交叉编译的交叉编译工具吗?

回帖(5)

张荷

2018-7-27 09:16:57
详细说一下,由于希望精简DM385的文件系统,官方的开发包里仅提供了使用glibc编译的交叉编译工具,编译出来的文件系统精简后也要17M左右,其实主要还是glibc相关的库文件比较大,我使用uclibc编译了一个交叉编译工具,但是编译后的内核无法启动,出现很多错误。
Linux version 2.6.37_DM385_IPNC_3.50.00 (root@ubuntu) (gcc version 4.8.2 (Buildroot 2014.02-rc1) ) #18 Mon Feb 24 19:23:54 PST 2014
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: dm385ipnc
vram size = 4194304 at 0x0
bootconsole [earlycon0] enabled
ti81xx_reserve: ### Reserved DDR region @84f00000
reserved size = 4194304 at 0x0
FB: Reserving 4194304 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is DM385 1.0
SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
Unhandled fault: alignment exception (0x801) at 0xc04adf37
Internal error: : 801 [#1]
last sysfs file:
Modules linked in:
CPU: 0    Not tainted  (2.6.37_DM385_IPNC_3.50.00 #18)
PC is at pcpu_dump_alloc_info+0x24/0x20c
LR is at pcpu_setup_first_chunk+0x3fc/0x6f0
pc : []    lr : []    psr: 00000193
sp : c04adf08  ip : c04adf70  fp : c04adf6c
r10: c0511c8c  r9 : c05d4080  r8 : c05d4000
r7 : c05cc000  r6 : c0511c8c  r5 : 00000001  r4 : c05ca780
r3 : c0442510  r2 : 2d2d2d2d  r1 : c05ca780  r0 : c0448237
Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387f  Table: 80004019  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc04ac2e8)
Stack: (0xc04adf08 to 0xc04ae000)
df00:                   c04adf54 c04adf18 c0015ffc c0015c6c 00000000 c04adf30
df20: 00000000 c0448237 c045d1ec 00000004 00008000 c0511c8c c05cc000 c05d4000
df40: c05d4080 c05ca780 00008000 c0511c8c c05cc000 c05d4000 c05d4080 c0511c8c
df60: c04adfac c04adf70 c0017730 c037c19c c002da90 c05ca600 c05d40c0 c05d4040
df80: 413fc082 c05ca780 c002da90 c05ca600 c04b002c 80000000 413fc082 0000001f
dfa0: c04adfc4 c04adfb0 c0017a9c c0017340 00000157 c04ed4c0 c04adff4 c04adfc8
dfc0: c0008a78 c0017a30 00000000 00000000 00000000 c002da90 00000000 10c53c7d
dfe0: c04ed674 c002da8c 00000000 c04adff8 80008048 c00089b8 00000000 00000000
Backtrace:
[] (pcpu_dump_alloc_info+0x0/0x20c) from [] (pcpu_setup_first_chunk+0x3fc/0x6f0)
[] (pcpu_setup_first_chunk+0x0/0x6f0) from [] (setup_per_cpu_areas+0x78/0x90)
[] (setup_per_cpu_areas+0x0/0x90) from [] (start_kernel+0xcc/0x2b8)
 r4:c04ed4c0 r3:00000157
[] (start_kernel+0x0/0x2b8) from [<80008048>] (0x80008048)
 r6:c002da8c r5:c04ed674 r4:10c53c7d
Code: e1a04001 e591501c e50b0048 e5932000 (e50b2035)
Unhandled fault: alignment exception (0x801) at 0xc04add16
Internal error: : 801 [#2]
last sysfs file:
Modules linked in:
CPU: 0    Tainted: G      D      (2.6.37_DM385_IPNC_3.50.00 #18)
PC is at extract_buf+0xc4/0xe4
LR is at 0x0
pc : []    lr : [<00000000>]    psr: 60000113
sp : c04adb58  ip : 00000000  fp : c04add0c
r10: c037c1b4  r9 : 00000017  r8 : c04dacb0
r7 : 00000000  r6 : c04dacb0  r5 : c04add16  r4 : 00000020
r3 : 000075fe  r2 : ff8f579c  r1 : 1b75b31a  r0 : 2719ed1c
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387f  Table: 80004019  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc04ac2e8)
Stack: (0xc04adb58 to 0xc04ae000)
db40:                                                       a7c5ac47 2719ed1c
db60: 1b75b31a 75fe75fe ccdd4a00 e4fae486 00000000 00000000 00000000 00000000
db80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dbc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dbe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dcc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dce0: 00000000 00000000 00000000 00000000 c01fd0a8 00000000 00000008 c04ee468
dd00: c04add44 c04add10 c01fd648 c01fd0d0 c04add90 c01d02a4 00000000 00000000
dd20: c04add5c c04addd2 00000001 c037c1b6 c04ac000 00000000 c04add5c c04add48
dd40: c01fd6a8 c01fd5ec 00000000 c037c1b4 c04add6c c04add60 c006f36c c01fd688
dd60: c04add7c c04add70 c006f54c c006f34c c04add8c c04add80 c006f6ac c006f548
dd80: c04ade04 c04add90 c004bf68 c006f694 c04ac2e8 0000000b 00000000 00000008
dda0: 65015edc 34306131 20313030 31393565 63313035 30356520 34303062 35652038
ddc0: 30323339 28203030 62303565 35333032 c0002029 c05d4000 00000193 00000801
dde0: c04b0368 c04adf37 c04adec0 c05d4000 00000193 c0511c8c c04ade14 c04ade08
de00: c004c03c c004bd38 c04adebc c04ade18 c003e248 c004bff4 00000000 c001603c
de20: 00000007 00000000 00030001 c04adf37 00000020 00000000 00000000 00000000
de40: c00a4d74 c0314c70 c04ade94 c04ade58 c002bc7c c002bda8 c04ade94 00000000
de60: 00000000 00085000 c00165b8 c04ecb20 00000000 00005000 c04ecb20 c04adef4
de80: c04adeb4 c04ade90 c01cf604 c04adf38 c0039828 c045d1f3 00001000 c039d918
dea0: ffffffff c04adef4 c0511c8c c05cc000 c04adf6c c04adec0 c03805ac c003e1c8
dec0: c0448237 c05ca780 2d2d2d2d c0442510 c05ca780 00000001 c0511c8c c05cc000
dee0: c05d4000 c05d4080 c0511c8c c04adf6c c04adf70 c04adf08 c0017730 c037c1b4
df00: 00000193 ffffffff c04adf54 c04adf18 c0015ffc c0015c6c 00000000 c04adf30
df20: 00000000 c0448237 c045d1ec 00000004 00008000 c0511c8c c05cc000 c05d4000
df40: c05d4080 c05ca780 00008000 c0511c8c c05cc000 c05d4000 c05d4080 c0511c8c
df60: c04adfac c04adf70 c0017730 c037c19c c002da90 c05ca600 c05d40c0 c05d4040
df80: 413fc082 c05ca780 c002da90 c05ca600 c04b002c 80000000 413fc082 0000001f
dfa0: c04adfc4 c04adfb0 c0017a9c c0017340 00000157 c04ed4c0 c04adff4 c04adfc8
dfc0: c0008a78 c0017a30 00000000 00000000 00000000 c002da90 00000000 10c53c7d
dfe0: c04ed674 c002da8c 00000000 c04adff8 80008048 c00089b8 00000000 00000000
Backtrace:
[] (extract_buf+0x0/0xe4) from [] (extract_entropy+0x68/0x9c)
 r6:c04ee468 r5:00000008 r4:00000000
[] (extract_entropy+0x0/0x9c) from [] (get_random_bytes+0x2c/0x38)
 r8:00000000 r7:c04ac000 r6:c037c1b6 r5:00000001 r4:c04addd2
[] (get_random_bytes+0x0/0x38) from [] (init_oops_id+0x2c/0x48)
[] (init_oops_id+0x0/0x48) from [] (print_oops_end_marker+0x10/0x34)
[] (print_oops_end_marker+0x0/0x34) from [] (oops_exit+0x24/0x34)
[] (oops_exit+0x0/0x34) from [] (die+0x23c/0x2bc)
[] (die+0x0/0x2bc) from [] (arm_notify_die+0x54/0x58)
[] (arm_notify_die+0x0/0x58) from [] (do_DataAbort+0x8c/0xa0)
[] (do_DataAbort+0x0/0xa0) from [] (__dabt_svc+0x4c/0x60)
Exception stack(0xc04adec0 to 0xc04adf08)
dec0: c0448237 c05ca780 2d2d2d2d c0442510 c05ca780 00000001 c0511c8c c05cc000
dee0: c05d4000 c05d4080 c0511c8c c04adf6c c04adf70 c04adf08 c0017730 c037c1b4
df00: 00000193 ffffffff
 r7:c05cc000 r6:c0511c8c r5:c04adef4 r4:ffffffff
[] (pcpu_dump_alloc_info+0x0/0x20c) from [] (pcpu_setup_first_chunk+0x3fc/0x6f0)
[] (pcpu_setup_first_chunk+0x0/0x6f0) from [] (setup_per_cpu_areas+0x78/0x90)
[] (setup_per_cpu_areas+0x0/0x90) from [] (start_kernel+0xcc/0x2b8)
 r4:c04ed4c0 r3:00000157
[] (start_kernel+0x0/0x2b8) from [<80008048>] (0x80008048)
 r6:c002da8c r5:c04ed674 r4:10c53c7d
Code: e50b31a8 e24b3e1b e8b30003 e1d330b0 (e5850000)
Unhandled fault: alignment exception (0x801) at 0xc04ad966
Internal error: : 801 [#3]
last sysfs file:
Modules linked in:
CPU: 0    Tainted: G      D      (2.6.37_DM385_IPNC_3.50.00 #18)
PC is at extract_buf+0xc4/0xe4
LR is at 0x0
pc : []    lr : [<00000000>]    psr: 60000113
sp : c04ad7a8  ip : 00000000  fp : c04ad95c
r10: c01fd188  r9 : 00000017  r8 : c04dacb0
r7 : 00000000  r6 : c04dacb0  r5 : c04ad966  r4 : 00000020
r3 : 0000c82f  r2 : ffa41d71  r1 : da227214  r0 : a82491b7
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387f  Table: 80004019  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc04ac2e8)
Stack: (0xc04ad7a8 to 0xc04ae000)
d7a0:                   a7c5ac47 a82491b7 da227214 c82fc82f 9c76bf06 25866f65
d7c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d7e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d800: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d820: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d840: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d860: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d880: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d8a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d8c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d8e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d900: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d920: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d940: c01fd0a8 00000000 00000008 c04ee468 c04ad994 c04ad960 c01fd648 c01fd0d0
d960: c04ad9e0 c01d02a4 00000000 00000000 c04ad9ac c04ada22 00000001 c01fd18a
d980: c04ac000 00000000 c04ad9ac c04ad998 c01fd6a8 c01fd5ec 00000000 c01fd188
d9a0: c04ad9bc c04ad9b0 c006f36c c01fd688 c04ad9cc c04ad9c0 c006f54c c006f34c
d9c0: c04ad9dc c04ad9d0 c006f6ac c006f548 c04ada54 c04ad9e0 c004bf68 c006f694
d9e0: c04ac2e8 0000000b 00000000 00000008 65000000 33623035 20386131 62343265
da00: 62316533 62386520 30303033 31652033 30333364 28203062 35383565 30303030
da20: c0002029 c04dacb0 20000113 00000801 c04b0368 c04add16 c04adb10 c04dacb0
da40: 20000113 c037c1b4 c04ada64 c04ada58 c004c03c c004bd38 c04adb0c c04ada68
da60: c003e248 c004bff4 00000000 c04ee944 00000007 00000000 00030001 c04add16
da80: c04adaa8 c04ada90 c01d05ec c01d01a0 c04adaf1 c04adab0 c04ee944 c04adae4
daa0: c04adab8 c009a760 c01d05d4 c0460047 c04adae4 c04adac0 c01cf604 c01cdefc
dac0: 00000000 c04adaf1 00000000 c04ee944 c04ee57d c039d918 c04adbec c04adae8
dae0: c01cf930 c01cf5dc ffffffff ffffffff ffffffff c04adb44 c04dacb0 00000000
db00: c04add0c c04adb10 c03805ac c003e1c8 2719ed1c 1b75b31a ff8f579c 000075fe
db20: 00000020 c04add16 c04dacb0 00000000 c04dacb0 00000017 c037c1b4 c04add0c
db40: 00000000 c04adb58 00000000 c01fd188 60000113 ffffffff a7c5ac47 2719ed1c
db60: 1b75b31a 75fe75fe ccdd4a00 e4fae486 00000000 00000000 00000000 00000000
db80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dbc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dbe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dcc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dce0: 00000000 00000000 00000000 00000000 c01fd0a8 00000000 00000008 c04ee468
dd00: c04add44 c04add10 c01fd648 c01fd0d0 c04add90 c01d02a4 00000000 00000000
dd20: c04add5c c04addd2 00000001 c037c1b6 c04ac000 00000000 c04add5c c04add48
dd40: c01fd6a8 c01fd5ec 00000000 c037c1b4 c04add6c c04add60 c006f36c c01fd688
dd60: c04add7c c04add70 c006f54c c006f34c c04add8c c04add80 c006f6ac c006f548
dd80: c04ade04 c04add90 c004bf68 c006f694 c04ac2e8 0000000b 00000000 00000008
dda0: 65015edc 34306131 20313030 31393565 63313035 30356520 34303062 35652038
ddc0: 30323339 28203030 62303565 35333032 c0002029 c05d4000 00000193 00000801
dde0: c04b0368 c04adf37 c04adec0 c05d4000 00000193 c0511c8c c04ade14 c04ade08
de00: c004c03c c004bd38 c04adebc c04ade18 c003e248 c004bff4 00000000 c001603c
de20: 00000007 00000000 00030001 c04adf37 00000020 00000000 00000000 00000000
de40: c00a4d74 c0314c70 c04ade94 c04ade58 c002bc7c c002bda8 c04ade94 00000000
de60: 00000000 00085000 c00165b8 c04ecb20 00000000 00005000 c04ecb20 c04adef4
de80: c04adeb4 c04ade90 c01cf604 c04adf38 c0039828 c045d1f3 00001000 c039d918
dea0: ffffffff c04adef4 c0511c8c c05cc000 c04adf6c c04adec0 c03805ac c003e1c8
dec0: c0448237 c05ca780 2d2d2d2d c0442510 c05ca780 00000001 c0511c8c c05cc000
dee0: c05d4000 c05d4080 c0511c8c c04adf6c c04adf70 c04adf08 c0017730 c037c1b4
df00: 00000193 ffffffff c04adf54 c04adf18 c0015ffc c0015c6c 00000000 c04adf30
df20: 00000000 c0448237 c045d1ec 00000004 00008000 c0511c8c c05cc000 c05d4000
df40: c05d4080 c05ca780 00008000 c0511c8c c05cc000 c05d4000 c05d4080 c0511c8c
df60: c04adfac c04adf70 c0017730 c037c19c c002da90 c05ca600 c05d40c0 c05d4040
df80: 413fc082 c05ca780 c002da90 c05ca600 c04b002c 80000000 413fc082 0000001f
dfa0: c04adfc4 c04adfb0 c0017a9c c0017340 00000157 c04ed4c0 c04adff4 c04adfc8
dfc0: c0008a78 c0017a30 00000000 00000000 00000000 c002da90 00000000 10c53c7d
dfe0: c04ed674 c002da8c 00000000 c04adff8 80008048 c00089b8 00000000 00000000
Backtrace:
[] (extract_buf+0x0/0xe4) from [] (extract_entropy+0x68/0x9c)
 r6:c04ee468 r5:00000008 r4:00000000
[] (extract_entropy+0x0/0x9c) from [] (get_random_bytes+0x2c/0x38)
 r8:00000000 r7:c04ac000 r6:c01fd18a r5:00000001 r4:c04ada22
[] (get_random_bytes+0x0/0x38) from [] (init_oops_id+0x2c/0x48)
[] (init_oops_id+0x0/0x48) from [] (print_oops_end_marker+0x10/0x34)
[] (print_oops_end_marker+0x0/0x34) from [] (oops_exit+0x24/0x34)
[] (oops_exit+0x0/0x34) from [] (die+0x23c/0x2bc)
[] (die+0x0/0x2bc) from [] (arm_notify_die+0x54/0x58)
[] (arm_notify_die+0x0/0x58) from [] (do_DataAbort+0x8c/0xa0)
[] (do_DataAbort+0x0/0xa0) from [] (__dabt_svc+0x4c/0x60)
Exception stack(0xc04adb10 to 0xc04adb58)
db00:                                     2719ed1c 1b75b31a ff8f579c 000075fe
db20: 00000020 c04add16 c04dacb0 00000000 c04dacb0 00000017 c037c1b4 c04add0c
db40: 00000000 c04adb58 00000000 c01fd188 60000113 ffffffff
 r7:00000000 r6:c04dacb0 r5:c04adb44 r4:ffffffff
[] (extract_buf+0x0/0xe4) from [] (extract_entropy+0x68/0x9c)
 r6:c04ee468 r5:00000008 r4:00000000
[] (extract_entropy+0x0/0x9c) from [] (get_random_bytes+0x2c/0x38)
 r8:00000000 r7:c04ac000 r6:c037c1b6 r5:00000001 r4:c04addd2
[] (get_random_bytes+0x0/0x38) from [] (init_oops_id+0x2c/0x48)
[] (init_oops_id+0x0/0x48) from [] (print_oops_end_marker+0x10/0x34)
[] (print_oops_end_marker+0x0/0x34) from [] (oops_exit+0x24/0x34)
[] (oops_exit+0x0/0x34) from [] (die+0x23c/0x2bc)
[] (die+0x0/0x2bc) from [] (arm_notify_die+0x54/0x58)
[] (arm_notify_die+0x0/0x58) from [] (do_DataAbort+0x8c/0xa0)
[] (do_DataAbort+0x0/0xa0) from [] (__dabt_svc+0x4c/0x60)
Exception stack(0xc04adec0 to 0xc04adf08)
dec0: c0448237 c05ca780 2d2d2d2d c0442510 c05ca780 00000001 c0511c8c c05cc000
dee0: c05d4000 c05d4080 c0511c8c c04adf6c c04adf70 c04adf08 c0017730 c037c1b4
df00: 00000193 ffffffff
 r7:c05cc000 r6:c0511c8c r5:c04adef4 r4:ffffffff
[] (pcpu_dump_alloc_info+0x0/0x20c) from [] (pcpu_setup_first_chunk+0x3fc/0x6f0)
[] (pcpu_setup_first_chunk+0x0/0x6f0) from [] (setup_per_cpu_areas+0x78/0x90)
[] (setup_per_cpu_areas+0x0/0x90) from [] (start_kernel+0xcc/0x2b8)
 r4:c04ed4c0 r3:00000157
[] (start_kernel+0x0/0x2b8) from [<80008048>] (0x80008048)
 r6:c002da8c r5:c04ed674 r4:10c53c7d
Code: e50b31a8 e24b3e1b e8b30003 e1d330b0 (e5850000)
Unhandled fault: alignment exception (0x801) at 0xc04ad5b6
Internal error: : 801 [#4]
last sysfs file:
Modules linked in:
CPU: 0    Tainted: G      D      (2.6.37_DM385_IPNC_3.50.00 #18)
PC is at extract_buf+0xc4/0xe4
LR is at 0x0
pc : []    lr : [<00000000>]    psr: 60000113
sp : c04ad3f8  ip : 00000000  fp : c04ad5ac
r10: c01fd188  r9 : 00000017  r8 : c04dacb0
r7 : 00000000  r6 : c04dacb0  r5 : c04ad5b6  r4 : 00000020
r3 : 000004bd  r2 : f56b7f06  r1 : dec69970  r0 : 83161631
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387f  Table: 80004019  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc04ac2e8)
Stack: (0xc04ad3f8 to 0xc04ae000)
d3e0:                                                       a7c5ac47 83161631
d400: dec69970 04bd04bd b7e4e706 2bade676 00000000 00000000 00000000 00000000
d420: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d460: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d4a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d4c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d4e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d500: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d520: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d540: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d580: 00000000 00000000 00000000 00000000 c01fd0a8 00000000 00000008 c04ee468
d5a0: c04ad5e4 c04ad5b0 c01fd648 c01fd0d0 c04ad630 c01d02a4 00000000 00000000
d5c0: c04ad5fc c04ad672 00000001 c01fd18a c04ac000 00000000 c04ad5fc c04ad5e8
d5e0: c01fd6a8 c01fd5ec 00000000 c01fd188 c04ad60c c04ad600 c006f36c c01fd688
d600: c04ad61c c04ad610 c006f54c c006f34c c04ad62c c04ad620 c006f6ac c006f548
d620: c04ad6a4 c04ad630 c004bf68 c006f694 c04ac2e8 0000000b 00000000 00000008
d640: 65000000 33623035 20386131 62343265 62316533 62386520 30303033 31652033
d660: 30333364 28203062 35383565 30303030 c0002029 c04dacb0 20000113 00000801
d680: c04b0368 c04ad966 c04ad760 c04dacb0 20000113 c01fd188 c04ad6b4 c04ad6a8
d6a0: c004c03c c004bd38 c04ad75c c04ad6b8 c003e248 c004bff4 00000000 c04ee944
d6c0: 00000007 00000000 00030001 c04ad966 c04ad6f8 c04ad6e0 c01d05ec c01d01a0
d6e0: c04ad741 c04ad700 c04ee944 c04ad734 c04ad708 c009a760 c01d05d4 c0460047
d700: c04ad734 c04ad710 c01cf604 c01cdefc 00000000 c04ad741 00000000 c04ee944
d720: c04ee57d c039d918 c04ad83c c04ad738 c01cf930 c01cf5dc ffffffff ffffffff
d740: ffffffff c04ad794 c04dacb0 00000000 c04ad95c c04ad760 c03805ac c003e1c8
d760: a82491b7 da227214 ffa41d71 0000c82f 00000020 c04ad966 c04dacb0 00000000
d780: c04dacb0 00000017 c01fd188 c04ad95c 00000000 c04ad7a8 00000000 c01fd188
d7a0: 60000113 ffffffff a7c5ac47 a82491b7 da227214 c82fc82f 9c76bf06 25866f65
d7c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d7e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d800: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d820: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d840: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d860: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d880: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d8a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d8c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d8e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d900: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d920: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d940: c01fd0a8 00000000 00000008 c04ee468 c04ad994 c04ad960 c01fd648 c01fd0d0
d960: c04ad9e0 c01d02a4 00000000 00000000 c04ad9ac c04ada22 00000001 c01fd18a
d980: c04ac000 00000000 c04ad9ac c04ad998 c01fd6a8 c01fd5ec 00000000 c01fd188
d9a0: c04ad9bc c04ad9b0 c006f36c c01fd688 c04ad9cc c04ad9c0 c006f54c c006f34c
d9c0: c04ad9dc c04ad9d0 c006f6ac c006f548 c04ada54 c04ad9e0 c004bf68 c006f694
d9e0: c04ac2e8 0000000b 00000000 00000008 65000000 33623035 20386131 62343265
da00: 62316533 62386520 30303033 31652033 30333364 28203062 35383565 30303030
da20: c0002029 c04dacb0 20000113 00000801 c04b0368 c04add16 c04adb10 c04dacb0
da40: 20000113 c037c1b4 c04ada64 c04ada58 c004c03c c004bd38 c04adb0c c04ada68
da60: c003e248 c004bff4 00000000 c04ee944 00000007 00000000 00030001 c04add16
da80: c04adaa8 c04ada90 c01d05ec c01d01a0 c04adaf1 c04adab0 c04ee944 c04adae4
daa0: c04adab8 c009a760 c01d05d4 c0460047 c04adae4 c04adac0 c01cf604 c01cdefc
dac0: 00000000 c04adaf1 00000000 c04ee944 c04ee57d c039d918 c04adbec c04adae8
dae0: c01cf930 c01cf5dc ffffffff ffffffff ffffffff c04adb44 c04dacb0 00000000
db00: c04add0c c04adb10 c03805ac c003e1c8 2719ed1c 1b75b31a ff8f579c 000075fe
db20: 00000020 c04add16 c04dacb0 00000000 c04dacb0 00000017 c037c1b4 c04add0c
db40: 00000000 c04adb58 00000000 c01fd188 60000113 ffffffff a7c5ac47 2719ed1c
db60: 1b75b31a 75fe75fe ccdd4a00 e4fae486 00000000 00000000 00000000 00000000
db80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dbc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dbe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dc80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dcc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dce0: 00000000 00000000 00000000 00000000 c01fd0a8 00000000 00000008 c04ee468
dd00: c04add44 c04add10 c01fd648 c01fd0d0 c04add90 c01d02a4 00000000 00000000
dd20: c04add5c c04addd2 00000001 c037c1b6 c04ac000 00000000 c04add5c c04add48
dd40: c01fd6a8 c01fd5ec 00000000 c037c1b4 c04add6c c04add60 c006f36c c01fd688
dd60: c04add7c c04add70 c006f54c c006f34c c04add8c c04add80 c006f6ac c006f548
dd80: c04ade04 c04add90 c004bf68 c006f694 c04ac2e8 0000000b 00000000 00000008
dda0: 65015edc 34306131 20313030 31393565 63313035 30356520 34303062 35652038
ddc0: 30323339 28203030 62303565 35333032 c0002029 c05d4000 00000193 00000801
dde0: c04b0368 c04adf37 c04adec0 c05d4000 00000193 c0511c8c c04ade14 c04ade08
de00: c004c03c c004bd38 c04adebc c04ade18 c003e248 c004bff4 00000000 c001603c
de20: 00000007 00000000 00030001 c04adf37 00000020 00000000 00000000 00000000
de40: c00a4d74 c0314c70 c04ade94 c04ade58 c002bc7c c002bda8 c04ade94 00000000
de60: 00000000 00085000 c00165b8 c04ecb20 00000000 00005000 c04ecb20 c04adef4
de80: c04adeb4 c04ade90 c01cf604 c04adf38 c0039828 c045d1f3 00001000 c039d918
dea0: ffffffff c04adef4 c0511c8c c05cc000 c04adf6c c04adec0 c03805ac c003e1c8
dec0: c0448237 c05ca780 2d2d2d2d c0442510 c05ca780 00000001 c0511c8c c05cc000
dee0: c05d4000 c05d4080 c0511c8c c04adf6c c04adf70 c04adf08 c0017730 c037c1b4
df00: 00000193 ffffffff c04adf54 c04adf18 c0015ffc c0015c6c 00000000 c04adf30
举报

周颂焱

2018-7-27 09:28:05
引用: nvywerww 发表于 2018-7-27 09:16
详细说一下,由于希望精简DM385的文件系统,官方的开发包里仅提供了使用glibc编译的交叉编译工具,编译出来的文件系统精简后也要17M左右,其实主要还是glibc相关的库文件比较大,我使用uclibc编译了一个交叉编译工具,但是编译后的内核无法启动,出现很多错误。
Linux version 2.6.37_DM385_IPNC_3.50.00 (root@ubuntu) (gc ...

uclibc和glibc的差别还是蛮大的,用uclibc链内核,风险太大,最精简的文件系统应该是没有17M这么大的,可以进一步精简,去掉一些不需要的库文件和静态库文件,还有个办法就是可以考虑下ramdisk
举报

张荷

2018-7-27 09:37:12
引用: sosolala 发表于 2018-7-27 09:28
uclibc和glibc的差别还是蛮大的,用uclibc链内核,风险太大,最精简的文件系统应该是没有17M这么大的,可以进一步精简,去掉一些不需要的库文件和静态库文件,还有个办法就是可以考虑下ramdisk

uclibc的交叉编译工具HK在用,我在他的产品的打印信息中确认过,使用的是uclibc。风险是会有,但是理论上是可行的,只是需要时间来验证。使用glibc的文件系统我已经精简过了,17M已经很小了,整个系统要想使用16M的flash,文件系统至少要控制在12M左右,最好是10M左右。
举报

张荷

2018-7-27 09:51:49
引用: nvywerww 发表于 2018-7-27 09:37
uclibc的交叉编译工具HK在用,我在他的产品的打印信息中确认过,使用的是uclibc。风险是会有,但是理论上是可行的,只是需要时间来验证。使用glibc的文件系统我已经精简过了,17M已经很小了,整个系统要想使用16M的flash,文件系统至少要控制在12M左右,最好是10M左右。 ...

内核启动失败的问题是由于编译器编译选项中没有使用soft-float导致,之前使用的是NEON,选择soft-float后重新编译内核、uboot,之前uboot第二阶段无法启动的问题也解决了,内核的问题也没有了,现在就差文件系统引导起来就可以测试稳定性了。有相同需求的朋友可以参考一下。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分