Страница 4 из 5

Добавлено: Пт мар 27, 2015 10:15 pm
walawa75
Bedrock you're the best ....... as usual.

Thank you so much !!

Добавлено: Вт апр 07, 2015 4:54 am
audijiJQ
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"

Добавлено: Сб авг 01, 2015 10:47 pm
MMI
Hi Theed,

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

Regards,

ROy

Добавлено: Сб авг 01, 2015 10:48 pm
MMI
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

Добавлено: Ср ноя 15, 2017 12:40 pm
telewizoor
Hello, i can unpack IFS, change it and pack back. If you want know some more pelase write.

Добавлено: Ср ноя 15, 2017 1:02 pm
zerbino
Так пиши прям сюда, не стесняйся. Тут все свои))

Добавлено: Ср ноя 15, 2017 1:47 pm
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

Добавлено: Ср ноя 15, 2017 3:00 pm
zerbino
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

Добавлено: Вт ноя 21, 2017 6:19 pm
mobista
Can U explain what tool we need to unpack IFS?

Добавлено: Вт ноя 21, 2017 6:56 pm
bedrock
What IFS file you need unpacked? Link?

Добавлено: Вт ноя 21, 2017 7:25 pm
mobista

Добавлено: Ср ноя 22, 2017 10:10 pm
bedrock

Добавлено: Чт ноя 23, 2017 10:44 am
mobista
Thank U very much mr bedrock.

Is there anybody who can repack IFS?

Добавлено: Пт ноя 24, 2017 12:00 am
telewizoor
I need packed ifs to make repack :)

Добавлено: Пт дек 15, 2017 7:53 pm
leader
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?

Добавлено: Сб дек 16, 2017 2:00 pm
mobista
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?

Добавлено: Вс ноя 25, 2018 11:54 pm
Henno
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

Добавлено: Чт янв 03, 2019 6:44 pm
MMI
Mistake, sorry

Добавлено: Вс июн 02, 2019 12:31 am
mobista
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?

Добавлено: Вс июн 02, 2019 12:52 am
bedrock
Dumped ifs-root.ifs has two ifs images embedded in it like https://www.qnx.com/developers/docs/6.4 ... tiple.html

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

--
bedrock