From: Andreas Friesen <ms.frsn@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] FIT tftp-autoupdate image
Date: Tue, 22 Mar 2011 12:16:17 +0100 [thread overview]
Message-ID: <87zkon9zi6.wl%ms.frsn@gmail.com> (raw)
Hello folks,
I'm trying to generate a FIT tftp-autoupdate image for MPC5200b Board.
I'm using u-boot 2010.12 / dtc 1.2.0. / Kernel 2.6.36.6 ;
Hier is my its file :
-------------- 8<--------------------
/dts-v1/;
/ {
description = "Automatic Software Update: kernel, rootfs, FDT, FPGA ";
timestamp = <1300774787>;
#address-cells = <1>;
images {
kernel at 0 {
description = "linux kernel image";
data = /incbin/("./uImage");
arch = "ppc";
type = "firmware";
load = <0xFF000000>;
compression = "none";
hash at 1 {
algo = "sha1";
};
};
rootfs at 0 {
description = "RootFS image";
data = /incbin/("./rootfs.img");
arch = "ppc";
type = "firmware";
load = <0xFF200000>;
compression = "none";
hash at 1 {
algo = "sha1";
};
};
fpga at 0 {
description = "FPGA Firmware";
data = /incbin/("./fpga.bin");
arch = "ppc";
compression = "none";
type = "firmware";
load = <0xFFF60000>;
hash at 1 {
algo = "sha1";
};
};
fdt at 0 {
description = "FDT binary";
data = /incbin/("./mxa.dtb");
arch = "ppc";
compression = "none";
type = "firmware";
load = "<0xFFFE0000>"; <----------- !!!!!!!!!!!!!!!!!!!!!!
hash@1 {
algo = "sha1";
};
};
};
};
------------------------8<--------------------------
$ mkimage -f mxa_autoupdate.its mxa.itb
Registered Kirkwood Boot Image support
Registered Freescale i.MX 51 Boot Image support
Registered FIT Image support
Registered Default Image support
FIT format handling
Trying to execute "dtc -I dts -O dtb -p 500 mxa_autoupdate.its > mxa_autoupdate.itb.tmp"
DTC: dts->dtb on file "mxa_autoupdate.its"
Added timestamp successfully
FIT description: Automatic Software Update: kernel, rootfs, FDT, FPGA
Created: Tue Mar 22 07:19:47 2011
Image 0 (kernel at 0)
Description: linux kernel image
Type: Firmware
Compression: uncompressed
Data Size: 1222870 Bytes = 1194.21 kB = 1.17 MB
Architecture: PowerPC
Load Address: 0xff000000
Hash node: 'hash at 1'
Hash algo: sha1
Hash value: e619b777d20246fe5b4f5b6ed2ad6ebe44c54fdf
Hash len: 20
Image 1 (rootfs at 0)
Description: RootFS image
Type: Firmware
Compression: uncompressed
Data Size: 753664 Bytes = 736.00 kB = 0.72 MB
Architecture: PowerPC
Load Address: 0xff200000
Hash node: 'hash at 1'
Hash algo: sha1
Hash value: eaf7b46387c0a912b81cb1cd38f8af616ed746a6
Hash len: 20
Image 2 (fpga at 0)
Description: FPGA Firmware
Type: Firmware
Compression: uncompressed
Data Size: 212392 Bytes = 207.41 kB = 0.20 MB
Architecture: PowerPC
Load Address: 0xfff60000
Hash node: 'hash at 1'
Hash algo: sha1
Hash value: 65a54dc977a7287c499816108bc18eb19989aa0e
Hash len: 20
Image 3 (fdt at 0)
Description: FDT binary
Type: Firmware
Compression: uncompressed
Data Size: 20000 Bytes = 19.53 kB = 0.02 MB
Architecture: PowerPC
Load Address: 0x3c307846 <----------------- ???????????????????????
Hash node: 'hash@1'
Hash algo: sha1
Hash value: 067d8484ef45bfb0efe9d3b1caf17e0f37748aa4
Hash len: 20
Can't get configurations parent node '/configurations' (FDT_ERR_NOTFOUND)
--------- >8 --------------
Auto-update from TFTP: trying update file 'mxa.itb'
Using FEC device
TFTP from server 192.168.1.10; our IP address is 192.168.1.58
Filename 'mxa.itb'.
Load address: 0x100000
Loading: #################################################################
#################################################################
#####################
done
Bytes transferred = 2210382 (21ba4e hex)
Processing update 'kernel at 0' :sha1+
Erasing 0xff000000 - 0xff13ffff
.......... done
Erased 10 sectors
Copying to flash...done
Processing update 'rootfs at 0' :sha1+
Erasing 0xff200000 - 0xff2bffff
...... done
Erased 6 sectors
Copying to flash...done
Processing update 'fpga at 0' :sha1+
Erasing 0xfff60000 - 0xfff9ffff
.. done
Erased 2 sectors
Copying to flash...done
Processing update 'fdt at 0' :sha1+
Error: end address (0x3c30c665) not in flash! <----------------- ??????????????
Error: can't flash update, aborting
Hit any key to stop autoboot: 0
-------------------------------------8<---------------------
Does anyone know what the problem is?
Thanks in advance.
Andreas Friesen
next reply other threads:[~2011-03-22 11:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-22 11:16 Andreas Friesen [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-03-22 7:48 [U-Boot] FIT tftp-autoupdate image Andreas Friesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zkon9zi6.wl%ms.frsn@gmail.com \
--to=ms.frsn@googlemail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox