Memory size in embedded Linux

Source: Internet
Author: User
For more information about memory size in embedded Linux-Linux general technology-Linux programming and kernel, see the following. Now I get a lot of SDKs, but many image files cannot be run. make sure the SDK can be run on the development board,
The DDr of the board is 256 MB and the ramdisk file system is used. The size of the SDK to be tested is 20 MB ~ 29M,
Root =/dev/ram0 rw init =/linuxrc mem = 256 M console = ttyS0, 38400 lpj = 4188160 user_debug = 31 console = tty0
Mem = 256 M. I suspect that the mem setting is too small. if it is added to 512 M, it cannot be started. most of these errors are caused,
0.010000] Calibrating delay loop (skipped) preset value .. 837.63 BogoMIPS (lpj = 4188160)
[0.030000] Unhandled fault: alignment exception (0x8f1) at 0x00000021
[2, 0.040000] Internal error: 8f1 [#1] from cpu 0
[0.040000] Modules linked in:
[1, 0.040000] CPU: 0 Not tainted (2.6.31.1-cavm1 #5)
[2, 0.040000] PC is at pidmap_init + 0x0/0xe4
[0.040000] LR is at start_kernel + 0x20c/0x2b4
[2, 0.040000] pc :[ ] Lr :[ ] SRS: 60000153
[0.040000] sp: c03c5fd8 ip: 00000694 fp: 00000000
[0.040000] r10: 00024910 r9: 127fb024 r8: 00000000
[1, 0.040000] r7: c03c7c78 r6: c0028218 r5: c03f0550 r4: c0428b98
[0.040000] r3: c03ca51c r2: c03ca51c r1: 00000694 r0: 00000021
[1, 0.040000] Flags: nZCv IRQs on FIQs off Mode SVC_32 isa arm Segment kernel
I want to modify the kernel configuration to reduce the size of the generated image file. However, I am not very familiar with how to configure it. the generated image files cannot run,
Which of the following experts can give me some suggestions? I am a newbie to linux. I really don't know how to fix it, and I'm not sure what the problem is. thank you!

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.