• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: how to create img of u-boot  (Read 1576 times)
zloyadmin
Newbie
*

Karma: 0
Posts: 5


View Profile
« on: May 14, 2012, 03:51:21 AM »

Hi!!!
I have a sheeva with installed software and settings. I need to clone my sheeva on the rest. How can i do it?
For rootfs and kernel I use nanddump -nof
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00020000 "uImage"
mtd1: 1fb00000 00020000 "rootfs"

but I can`t find resolving for u-boot.
which way can I do it?

I am waiting for your help!!!
Logged

mabuhay
Newbie
*

Karma: 0
Posts: 22


View Profile WWW
« Reply #1 on: May 18, 2012, 06:36:46 AM »

Hello

I dont think you have to clone your U-Boot. As long as you have the same U-Boot version on the other Sheevaplug, just copy the environment variables.

In your U-Boot, type "version" to compare the versions.

mfg
Logged

My low-power homeserver with the GuruPlug Server Plus: www.myownhomeserver.ch

zloyadmin
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #2 on: May 23, 2012, 12:47:48 AM »

I want that it will be automatic process without manual interference
Logged

bigbear59
Newbie
*

Karma: 0
Posts: 26


View Profile
« Reply #3 on: May 23, 2012, 02:16:04 PM »

Would this code snip-it from http://www.spinifex.com.au/plugs/installer.html help?

Flashing the plug with a USB stick
Copy the file uboot.bin to your USB stick, then:
 usb start
 fatload usb 0:1 0x0800000 uboot.bin
 nand erase 0x0 0xa0000
 nand write.e 0x0800000 0x0 0xa0000


also using "nand read" to get a copy of the original uboot.bin
# nand read <loadAddress> <sourceAddress> <count>
  where SourceAddress is 0x0 & Count is 0xa0000

BigBear59
Logged

Give me a fish, I eat for a day.  Teach me to fish, I eat for a lifetime.
"Do you have any spades?"

Pages: [1]
Print
Jump to: