To: | |
---|---|
Subject: | [ts-7000] Creation of a 7800 bootable SD card |
From: | "jhslakota" <> |
Date: | Mon, 07 Jan 2008 17:14:25 -0000 |
Hello all, I'm a newbie on this group and have a question. Actually I solved a problem I had and some of the posts have helped but ultimately I did something NOT suggested and solved the problem. Posting here in the hope that my description and any discussion will help others. Short version: The root partition used in the 7800.mbr is only 4096 blocks long (2MB) but the kernel image is 3.5MB. This caused me many problems before realizing this mismatch. Thus: Are people REALLY getting onboard and SD flashes to work using the posted files on ftp://ftp.embeddedarm.com/ts7800/reflash, namely "ImageKernel" along with the "7800.mbr" configuration? Because it didn't work for me. Long Version: I had been struggling for weeks trying to fix the on-board flash (that I accidentally hosed..somehow) by creating a bootable SD card.&n bsp; All of the instructions I found yielded failure. 1) dd'ing the raw sdimage.dd image to the device, 2) creating individual partitions and dd'ing the respective files, etc, etc. All to now avail....would say "booting from SD card" and print a period, then nothing. Yesterday I was dd'ing ImageKernel to the first partition and it did it, but "ran out of space on device". Huh?! Apparently the first partition, according to 7800.mbr, is configured to be 4096 blocks long, but ImageKernel is 3.5MB which overshoots the partition. I first tried hex-editing the 7800.mbr file, which was annoying me before I thought of trying something easier: dd 7800.mbr to the raw device, then use fdisk to delete the partitions and remake new ones twice as large for the kernel and initrd partitions, with the third partition just maxing out whatever space was left. Incidentally I made both partitions 8192 blocks....big enough for ImageKernel. Voila! & nbsp; It started working. Now, to repeat the question in the short version: Am I missing something? Are people using the posted 7800.mbr WITH ImageKernel and getting positive results? I followed the details given in the thread starting with http://tech.groups.yahoo.com/group/ts-7000/message/9569 but applied it to the SD card instead of the on-board flash as mentioned above. But those instructions, IMHO, have the same problem when applied to the on-board flash. The first partition is still smaller than ImageKernel. Anyway, I'd appreciate anyone's comments/clarifications on this matter. Once I REALLY understand what's happening I'll post a step-by-step process for this. I'll also post a/my 7800-sdimage.dd if there is interest. Due to size, maybe just an image with partitions 1 and 2 for kernel and initrd. Thanks all, John Shaffer Lakota Innovations LLC __._,_.___
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe __,_._,___ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: Changing HZ on 7800, JD |
---|---|
Next by Date: | [ts-7000] Re: Creation of a 7800 bootable SD card, phrasky |
Previous by Thread: | [ts-7000] One Wire Support (compiling OWFS) Help, Frank |
Next by Thread: | [ts-7000] Re: Creation of a 7800 bootable SD card, phrasky |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU