Author Topic: LiveSuit image layout  (Read 2200 times)

Offline pietrushnic

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
LiveSuit image layout
« on: September 02, 2015, 08:10:21 am »
Hi all,
couple of days ago I went through building LiveSuit image fro Cubietruck. I didn't manage to achieve goal with sunxi-bsp or allwinner-pack-tools.  First lacks A20 files (eFex, eGON, wboot) and second after long fight created image that doesn't boot.

Because of that I changed approach and tried unpack-modify-repack way using imgRePacker by RedScorpio. This solution works fine for me but I wonder about pretty complicated image layout:

Code: [Select]
==========================[ START ]==========================

--- Firmware unpacking ---

PhoenixSuit image format detected

- image.cfg creating -
image.cfg created

- Files extracting -
"/sys_config.fex"               extracted (format: unknown)
"/sys_partition.fex"            extracted (format: unknown)
"/split_xxxx.fex"               extracted (format: unknown)
"/boot0_nand.bin"               extracted and decoded (format: Allwinner BOOT0 file)
"/boot0_sdcard.fex"             extracted (format: Allwinner BOOT0 file)
"/boot1_nand.fex"               extracted (format: Allwinner BOOT1 file)
"/boot1_sdcard.fex"             extracted (format: Allwinner BOOT1 file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/aultools.fex"         extracted (format: Compiled lua file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/aultls32.fex"         extracted (format: Compiled lua file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/toolsb.fex"           extracted (format: Windows PE file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/fes_1-1.fex"          extracted (format: unknown)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/fes_1-2.fex"          extracted (format: unknown)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/fes_2.fex"            extracted (format: unknown)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/fes.fex"              extracted (format: unknown)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/hw_scan.axf"          extracted and decoded (format: Linux/Unix ELF file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/update_boot0.axf"             extracted and decoded (format: Linux/Unix ELF file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/update_boot1.axf"             extracted and decoded (format: Linux/Unix ELF file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/fet_restore.axf"              extracted and decoded (format: Linux/Unix ELF file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/magic_cr_start.fex"           extracted (format: unknown/empty?)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/magic_cr_end.fex"             extracted (format: unknown/empty?)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/magic_de_start.fex"           extracted (format: unknown/empty?)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/magic_de_end.fex"             extracted (format: unknown/empty?)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/fed_nand.axf"         extracted and decoded (format: Linux/Unix ELF file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/card/cardtool.fex"                extracted (format: Windows PE file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/card/cardscript.fex"              extracted (format: unknown)
"/sunxi_mbr.fex"                extracted (format: unknown)
"/dlinfo.fex"           extracted (format: unknown)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/card_update_boot0.axf"                extracted and decoded (format: Linux/Unix ELF file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/card_update_boot1.axf"                extracted and decoded (format: Linux/Unix ELF file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/fed_card.axf"         extracted and decoded (format: Linux/Unix ELF file)
"/work/cb-linux-sdk/build/ct-debian/pack/eFex/usb/card_HW_scan.axf"             extracted and decoded (format: Linux/Unix ELF file)
"/bootloader.fex"               extracted (format: FAT16 image)
        "bootloader.fex.iso"    created
"/Vbootloader.fex"              extracted (format: unknown/empty?)
"/rootfs.fex"           extracted (format: ext4 image)
        "rootfs.fex.iso"        created
"/Vrootfs.fex"          extracted (format: unknown/empty?)

==========================[ STOP  ]==========================

What are purpose of those files ? Especially those with not self-explanatory names (/work/cb-linux-sdk/build/ct-debian/pack/ directory).

Is there any documentation describing LiveSuit image layout ?

Anyone managed to create LiveSuit image for Cubietruck using open source tools ?

Best Regards.
--
@pietrushnic | @3mdeb |  http://blog.3mdeb.com | http://3mdeb.com