At91sam9xek RAMDisk Start Note

Source: Internet
Author: User

1. After starting the following information, the system hangs up and does not continue to output information

switching to Clocksource tcb_clksrcnet:registered protocol family2IP route cache Hash Table entries:1024x768(Order:0,4096bytes) TCP established hash table entries:4096(Order:3,32768bytes) TCP bind hash Table entries:4096(Order:2,16384bytes) Tcp:hash tables configured (established4096Bind4096) TCP Reno registeredudp Hash Table entries: the(Order:0,4096bytes) UDP-lite Hash Table Entries: the(Order:0,4096bytes) Net:registered Protocol Family1rpc:registered UDP Transport module. Rpc:registered TCP Transport module. Rpc:registered TCP NFSv4.1backchannel Transport module. Trying to unpack Rootfs image as Initramfs...rootfs image was not Initramfs (no cpio magic); Looks like an initrd

Workaround:

Well, it is my carelessness, not ramdisk size set too big, I u-boot in this configuration Bootargs cause the above problem

Set Bootargs root=/dev/ram0 rw ramdisk_size=17912 initrd=0x21100000, 64M CONSOLE=TTYS0,115200N8

It would be nice to change the 64M to 16M.

2. Ramdisk Mount failure

The Ramdisk mount fails, and there is a similar output of the following information:

RAMDISK:gzipImage found at block0Ramdisk:incompleteWrite(4485!=32768)Writeerrorvfs:mounted Root (ext2 filesystem) on device1:0. Attempt to access beyond end of DEVICERAM0:RW=0, want=112684, limit=35824EXT2-fs (RAM0): error:ext2_get_inode:unable to read Inode block-inode= the, block=56341EXT2-fs (RAM0): error:remounting filesystem read-Onlydevtmpfs:error Mounting-5freeing Init memory:136kattempt to access beyond end of DEVICERAM0:RW=0, want=48300, limit=35824EXT2-fs (RAM0): error:ext2_get_inode:unable to read Inode block-inode= the, block=24149EXT2-fs (RAM0): error:remounting filesystem read-onlyattempt to access beyond end of device

Generally, when making RAMDisk, the specified size is too large, such as the following command to make RAMDisk

102400 -D rootfs ramdisk.image

Try to make the 102400 smaller, and I'll solve the problem after I change it.

At91sam9xek RAMDisk Start Note

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.