Texas Instruments
  • Samples Cart - Add Samples Samples & Purchase Cart
  • |
  • Contact Us
  • |
  • TI Worldwide: United States
  • |
  • my.TI Login
  • Products
  • Applications
  • Design Support
  • Sample & Buy

  • All Searches
TI Home » TI E2E Community » Support Forums » ARM® & DSP Microprocessors » OMAP™ Processors » OMAP35x Processors Forum » Rebuilt Ramdisk does not boot
  • Join
  • Sign In with my.TI Login

TI E2E™ Community

  • Home
  • Support Forums
  • Videos
  • Blogs
  • Groups
  • More ...
  • Go
  • Advanced Search
Share
Details
Rate This
  • 3 Replies
  • 1 Subscriber
  • 854 Views
  • Postedover 2 years ago
Options
  • Subscribe via RSS
Tags
  • -
  • "DSP System Clock"
  • .5mm
  • .args Beagle DM3730 c6runapp
  • .bin loading error
  • /ultrasound/ultrasound': No such file or directory
  • [hw]
  • 0x48)
  • 1.8V 3.3V 5V SPI GPIO
  • 15 BSP LCD Backlight
  • 16550
  • 16-bit camera
  • 2.6.22.18
  • 2.6.29-rc3-omap1
  • 2.6.32
  • 26.4MHz oscillator
  • 3.3V
  • 32kHz clock
  • 3517 barebox
  • 3530
  • 3530 oprofile
  • 3530 clock
  • 3530 OTG ULPI
  • 37x
  • 37xx
Forum - Title

Rebuilt Ramdisk does not boot

OMAP™ Processors

OMAP™ Processors

Welcome to the OMAP™ Processors Section of the TI E2E Support Community. Ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers. To post a question, click on the forum tab then "New Post".

  • Get this RSS feed
  • Home
  • Announcements
  • Forums
New Post

Rebuilt Ramdisk does not boot

This question is answered
Glenn Wainwright
Posted by Glenn Wainwright
on Dec 9, 2010 12:58 PM
Expert1105 points

Using OMAP3530, PSP 3.00.01.06.  I would like to build a ramdisk image and load it over tftp.  Unfortunately, the boot process is hanging after "RAMDISK: gzip image found at block 0".

The process I am using to build the ramdisk image:
  mkdir -p ramdisk
dd if=/dev/zero of=ramdisk_file bs=40M count=1
mkfs.ext2 ramdisk_file
sudo mount -o loop ramdisk_file ramdisk
sudo tar -xvzf arago-console-image-omap3evm.tar.gz -C ramdisk
sudo umount ramdisk
gzip ramdisk_file

My boot arguments:

setenv get_kernel      run nand_kernel
setenv get_initrd      run tftp_initrd
setenv nand_kernel     nand read.i 0x80000000 280000 300000
setenv tftp_initrd     tftpboot 0x81600000 ramdisk_file.gz
setenv rdargs 'setenv bootargs mem=99M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x81600000,40M ramdisk_size=40960'
setenv boot_rd 'run get_kernel; run get_initrd; run rdargs; bootm 0x80000000'

I load the ramdisk over tftp fine, the kernel boots up as normal, it gets to the ramdisk section, spits out "RAMDISK: gzip image found at block 0" and then hangs.  I have tried this with a prebuilt ramdisk image from DVSDK 3.00 and it boots fine.  What might I be doing wrong in my process?

Thank you,

Glenn Wainwright

 

omap3530 TFTP Ramdisk
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Glenn Wainwright
    Posted by Glenn Wainwright
    on Dec 9, 2010 5:18 PM
    Expert1105 points

    Changing the compression type doesn't seem to make any difference.  Perhaps that minimal filesystem package is unsuitable for using in a ramdisk?  Is there another in DVSDK 4.00 that would be better?

    Glenn

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Glenn Wainwright
    Posted by Glenn Wainwright
    on Dec 14, 2010 12:40 PM
    Expert1105 points

    Nope, unzipping a known good ramdisk image and using the same contents to create a new ramdisk image with the above process gives the same results.  What could be wrong with the process?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Glenn Wainwright
    Posted by Glenn Wainwright
    on Dec 21, 2010 11:53 AM
    Verified Answer
    Verified by Glenn Wainwright
    Expert1105 points

    Seems like the problem here is "mem=99M".  Changing that to "mem=128M" appears to give it enough space to load the ramdisk image without issue.  Since our memory's currently only 128 MB total, using CMEM with the ramdisk is probably out of the question, but I can work around that.

    Glenn Wainwright

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Share

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS AND PROVIDERS OF CONTENT MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. TI AND ITS RESPECTIVE SUPPLIERS AND PROVIDERS OF CONTENT MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH RESPECT TO THESE MATERIALS. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY TI. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Products | Applications | Design Support | Sample & Buy RSS

TI Worldwide | About TI | Contact Us | Investor Relations | Press Center | Corporate Citizenship | Careers | Tags | my.TI Login | All Searches | Site Map

© Copyright 1995- Texas Instruments Incorporated. All rights reserved. Trademarks | Privacy Policy | Terms of Use