How to extract a IFS file - Страница 4
Добро пожаловать на Turbo Quattro.
Страница 4 из 5 ПерваяПервая ... 2345 ПоследняяПоследняя
Показано с 61 по 80 из 89
  1. #61

    По умолчанию

    Цитата Сообщение от slav Посмотреть сообщение
    The first program in a bootable Neutrino image is a startup program whose purpose is to:
    1. Initialize the hardware.
    2. Initialize the system page.
    3. Initialize callouts.
    4. Load and transfer control to the next program in the image.

    You can customize Neutrino for different embedded-system hardware by changing the startup program.

    If you can customize startup sources from SH7785SDK BSP and compile startup program for mmi3g - you can make new image, using QNX IDE.
    Excuse me, why I always show: "Unable to find startup header in ifs-root.ifs"
    Чтобы узнать от вас

  2. #62
    Пользователь
    Регистрация
    03.02.2015
    Адрес
    Belgium
    Сообщений
    52

    По умолчанию

    Hi Theed,

    Did you find a solution or explanation for this ===DATA CHECKSUM ERROR === ?

    Regards,

    ROy

  3. #63
    Пользователь
    Регистрация
    03.02.2015
    Адрес
    Belgium
    Сообщений
    52

    По умолчанию

    Цитата Сообщение от theed Посмотреть сообщение
    Bedrock, checked it see the result of a scan command:

    Entering CLI, type '?' or 'help' for help

    => scan
    ** @0x80100000: FPGA

    total size: 746480 [0x0b63f0]
    data: 746212 [0x0b62e4]

    .FDR = PL_MMI3G_PLUS_FPGA_9411_D1_09422A

    .FDU = Userinfos zu FPGA 9411_D1_4010_14lw

    ** @0x801c0000: IFS [vers.1, UCL, old EMERGENCY]

    total size: 4666284 [0x4733ac]
    - header: 256
    - startup: 53512
    - imagefs: 11565604

    RAM: 11619116 [0xb14b2c]

    ** @0x80780000: IFS [vers.1, LZO, old APPLICATION]

    total size:36867924 [0x2328f54]
    - header: 256
    - startup: 53512
    - imagefs: 85872380

    RAM: 85925892 [0x51f2004]

    === DATA CHECKSUM ERROR! ===

    ** @0x87f00000: BIOS packet

    total size: 786432 [0x0c0000]

    BIOS pattern: FFFFFF7F.FFFFFFFF
    App. pattern: FFFFFF7F.FFFFFFFF

    Is hard to notice, great finding



    Hi, did you find a explanation or solution for this === DATA CHECKSUM ERROR === ?


    Regards,

    ROy

  4. #64

    По умолчанию

    Hello, i can unpack IFS, change it and pack back. If you want know some more pelase write.

  5. #65
    Местный Аватар для zerbino
    Регистрация
    10.12.2013
    Адрес
    Moscow
    Сообщений
    256

    По умолчанию

    Так пиши прям сюда, не стесняйся. Тут все свои))

  6. #66

    По умолчанию

    Ok so you must unpack ifs image with proper tool, find files structure in unpacked image, replace file which you want, pack image back with proper tool and change checksums thats all

  7. #67
    Местный Аватар для zerbino
    Регистрация
    10.12.2013
    Адрес
    Moscow
    Сообщений
    256

    По умолчанию

    Цитата Сообщение от telewizoor Посмотреть сообщение
    Ok so you must unpack ifs image with proper tool, find files structure in unpacked image, replace file which you want, pack image back with proper tool and change checksums thats all
    thank you, admiral Yasenkher

  8. #68
    Местный
    Регистрация
    22.03.2017
    Сообщений
    107

    По умолчанию

    Can U explain what tool we need to unpack IFS?

  9. #69
    Новичок
    Регистрация
    14.04.2014
    Адрес
    London
    Сообщений
    29

    По умолчанию

    What IFS file you need unpacked? Link?

  10. #70

  11. #71

  12. #72
    Местный
    Регистрация
    22.03.2017
    Сообщений
    107

    По умолчанию

    Thank U very much mr bedrock.

    Is there anybody who can repack IFS?

  13. #73

    По умолчанию

    I need packed ifs to make repack

  14. #74
    Новичок
    Регистрация
    28.01.2017
    Сообщений
    13

    По умолчанию

    Unpackign the ifs image is not a hard work.
    With the help of mmi-ifs tool you can dump and decompress teh filesystem image. Than with dumpifs and with some shell scripting knoweledge you can extract and create the directory and file structure including the symlinks.

    Maybe somebody can give some hints how to repack the filesystem structure into ifs image?
    The mkifs utilitiy must be used? What arguments and attributes must be set for mmi3g?

  15. #75
    Местный
    Регистрация
    22.03.2017
    Сообщений
    107

    По умолчанию

    Цитата Сообщение от bertelsmann Посмотреть сообщение
    you have to create the directories first

    try something like this:

    IMAGE=$1
    echo "Dumping content of $IMAGE..."
    $IFSDUMP -z $IMAGE |awk '{print $3}' >$TMPDIR/ifscont.txt
    $IFSDUMP -z $IMAGE |grep "\->" |awk '{print $3" -> "$5}' >$TMPDIR/ifslinks.txt
    for i in `cat $TMPDIR/ifscont.txt`; do dirname $i; done |sort -u >$TMPDIR/dirlist.txt
    for i in `cat $TMPDIR/dirlist.txt`; do mkdir -p ./$i; done
    #create symlinks
    while
    read i
    do
    SRC=`echo -e "$i" | awk '{print $3}'`
    LNK=`echo -e "$i" | awk '{print $1}'`
    LNKDIR=`dirname $LNK`
    LNKBASE=`basename $LNK`
    cd $LNKDIR
    ln -s $SRC $LNKBASE
    cd $CURDIR
    done < $TMPDIR/ifslinks.txt
    ##
    $IFSDUMP -zx $IMAGE
    echo "done !"
    Finally I know how to extract ifs-root.ifs, but all files are in one directory - how to create good *.bat to make directory and then unpack files with QNX?

  16. #76
    Новичок
    Регистрация
    25.11.2018
    Адрес
    Großmaischeid
    Сообщений
    2

    По умолчанию

    Цитата Сообщение от mobista Посмотреть сообщение
    Finally I know how to extract ifs-root.ifs, but all files are in one directory - how to create good *.bat to make directory and then unpack files with QNX?
    push

  17. #77
    Пользователь
    Регистрация
    03.02.2015
    Адрес
    Belgium
    Сообщений
    52

    По умолчанию

    Mistake, sorry
    Последний раз редактировалось MMI; 04.01.2019 в 20:06.

  18. #78
    Местный
    Регистрация
    22.03.2017
    Сообщений
    107

    По умолчанию

    Hello. I'm trying to dump IFS from MIB. ifs-root file have 22 509 852 bytes of size, unpacked files 15 882 984 bytes - why? How to make proper unpack?

  19. #79
    Новичок
    Регистрация
    14.04.2014
    Адрес
    London
    Сообщений
    29

    По умолчанию

    Dumped ifs-root.ifs has two ifs images embedded in it like https://www.qnx.com/developers/docs/.../multiple.html

    Need to find second ifs marker in dump and split, then extract both parts.

    --
    bedrock

  20. #80
    Новичок
    Регистрация
    18.11.2019
    Адрес
    Москва
    Сообщений
    3

    По умолчанию

    Привет всем! Кто-нибудь может помочь выгрузить полностью файловую систему? В моем случае она двойная, dumpifs выгружает только одну. https://drive.google.com/open?id=151...8ox84c5XEXph17

 

 

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •  
Back to top