[Bug 712523] Re: Add a timestamp to the uboot Image Name
Heinrich Schuchardt
712523 at bugs.launchpad.net
Tue Feb 21 13:37:53 UTC 2023
We don't use legacy images anymore for Ubuntu. Closing as won't fix.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/712523
Title:
Add a timestamp to the uboot Image Name
Status in Linaro Image Tools:
Won't Fix
Status in flash-kernel package in Ubuntu:
Won't Fix
Bug description:
Currently the images created using l-m-c boot like this:
<snip>
Booting from mmc ...
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Linux
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3636128 Bytes = 3.5 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 81600000 ...
Image Name: initramfs
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 4491814 Bytes = 4.3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
<snip>
mkimage allows us to configure the "Image Name" using the -n option.
In my local script I use it to do something like:
NAME="AmitsKernelImage-`date +%F-%H%M`"
mkimage -A arm -O linux -T kernel -C gzip -a 0x80008000 -e 0x80008000 -n $NAME -d linux.bin.gz myImage
This allows us to tell quickly when the kernel was prepared for
consumption by u-boot and who created it (Linaro official vs. local).
This is just a quick visual check (among others) to make sure we're
booting with the intended kernel.
To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/712523/+subscriptions
More information about the foundations-bugs
mailing list