* [U-Boot] LZMA support
@ 2009-09-09 17:44 Prafulla Wadaskar
2009-09-09 18:12 ` Mike Frysinger
2009-09-12 7:09 ` Luigi Mantellini
0 siblings, 2 replies; 5+ messages in thread
From: Prafulla Wadaskar @ 2009-09-09 17:44 UTC (permalink / raw)
To: u-boot
Hi all
Has anybody used LZMA compression with u-boot?
If yes, can you pls share your experience?
Regards..
Prafulla . .
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] LZMA support
2009-09-09 17:44 [U-Boot] LZMA support Prafulla Wadaskar
@ 2009-09-09 18:12 ` Mike Frysinger
2009-09-12 4:26 ` khteh at smartbridges.com
[not found] ` <53560.116.15.92.35.1252729605.squirrel@mail.smartbridges.com>
2009-09-12 7:09 ` Luigi Mantellini
1 sibling, 2 replies; 5+ messages in thread
From: Mike Frysinger @ 2009-09-09 18:12 UTC (permalink / raw)
To: u-boot
On Wednesday 09 September 2009 13:44:24 Prafulla Wadaskar wrote:
> Has anybody used LZMA compression with u-boot?
> If yes, can you pls share your experience?
booting lzma compressed linux uimage kernels worked fine on my Blackfin boards
provided the malloc region was increased appropriately (lzma takes more mem
than gzip or bzip2)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090909/3e47a7d4/attachment.pgp
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] LZMA support
2009-09-09 18:12 ` Mike Frysinger
@ 2009-09-12 4:26 ` khteh at smartbridges.com
[not found] ` <53560.116.15.92.35.1252729605.squirrel@mail.smartbridges.com>
1 sibling, 0 replies; 5+ messages in thread
From: khteh at smartbridges.com @ 2009-09-12 4:26 UTC (permalink / raw)
To: u-boot
You can refer to Open-WRT Kamikaze ubootifx code to see how u-boot is
lzma'ed in flash and de-lzma'ed from flash to RAM....
> On Wednesday 09 September 2009 13:44:24 Prafulla Wadaskar wrote:
>> Has anybody used LZMA compression with u-boot?
>> If yes, can you pls share your experience?
>
> booting lzma compressed linux uimage kernels worked fine on my Blackfin
> boards
> provided the malloc region was increased appropriately (lzma takes more
> mem
> than gzip or bzip2)
> -mike
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] LZMA support
[not found] ` <53560.116.15.92.35.1252729605.squirrel@mail.smartbridges.com>
@ 2009-09-12 4:27 ` khteh at smartbridges.com
0 siblings, 0 replies; 5+ messages in thread
From: khteh at smartbridges.com @ 2009-09-12 4:27 UTC (permalink / raw)
To: u-boot
it's done on MIPS platform....
> You can refer to Open-WRT Kamikaze ubootifx code to see how u-boot is
> lzma'ed in flash and de-lzma'ed from flash to RAM....
>
>> On Wednesday 09 September 2009 13:44:24 Prafulla Wadaskar wrote:
>>> Has anybody used LZMA compression with u-boot?
>>> If yes, can you pls share your experience?
>>
>> booting lzma compressed linux uimage kernels worked fine on my Blackfin
>> boards
>> provided the malloc region was increased appropriately (lzma takes more
>> mem
>> than gzip or bzip2)
>> -mike
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] LZMA support
2009-09-09 17:44 [U-Boot] LZMA support Prafulla Wadaskar
2009-09-09 18:12 ` Mike Frysinger
@ 2009-09-12 7:09 ` Luigi Mantellini
1 sibling, 0 replies; 5+ messages in thread
From: Luigi Mantellini @ 2009-09-12 7:09 UTC (permalink / raw)
To: u-boot
Hi Prafulla,
This is my code to create the uimage:
# create flat binary
$(CROSS)objcopy -O binary -S $(LINUX_DIR)/vmlinux $(KDIR)/vmlinux.bin
# compress
$(TOOLS)/bin/lzma e $(KDIR)/vmlinux.bin $(KDIR)/vmlinux.lzma
# create uimage
export KERNEL_ENTRY=`$(CROSS)objdump -x $(LINUX_DIR)/vmlinux |grep -i
kernel_entry|cut -d " " -f 1` ;\
mkimage -A mips -O linux -T kernel -C lzma -a 0x80010000 -e
$$$$KERNEL_ENTRY \
-n 'IDF ONU BOARD Image-$(LINUX_VERSION)' \
-d $(KDIR)/vmlinux.lzma $(KDIR)/uImage
I use everyday this script (picked from OpenWRT) to build my firmware image.
best regards,
luigi
On Wed, Sep 9, 2009 at 7:44 PM, Prafulla Wadaskar <prafulla@marvell.com> wrote:
> Hi all
>
> Has anybody used LZMA compression with u-boot?
> If yes, can you pls share your experience?
>
> Regards..
> Prafulla . .
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
--
Luigi 'Comio' Mantellini
R&D - Software
Industrie Dial Face S.p.A.
Via Canzo, 4
20068 Peschiera Borromeo (MI), Italy
Tel.: +39 02 5167 2813
Fax: +39 02 5167 2459
web: www.idf-hit.com
mail: luigi.mantellini at idf-hit.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-09-12 7:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 17:44 [U-Boot] LZMA support Prafulla Wadaskar
2009-09-09 18:12 ` Mike Frysinger
2009-09-12 4:26 ` khteh at smartbridges.com
[not found] ` <53560.116.15.92.35.1252729605.squirrel@mail.smartbridges.com>
2009-09-12 4:27 ` khteh at smartbridges.com
2009-09-12 7:09 ` Luigi Mantellini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox