Thank You for your continued support and contributions!
gcc -o amsinfo -W -Wall amsinfo.cgcc -o mkamsboot -W -Wall mkamsboot.carm-elf-as -o test.o test.Stest.S: Assembler messages:test.S:0: Warning: end of file not at end of a line; newline insertedarm-elf-ld -e 0 -o test.elf test.oarm-elf-objcopy -O binary test.elf test.bin./mkamsboot e200pF.bin test.bin patched.binOriginal firmware size - 0x0001d81cPadded firmware size - 0x0001da00 Shifted by 1 blocksBootloader size - 0x00000074New padded size - 0x0001da00original firmware entry point: 0x00000128New entry point: 0x0001d820
gcc -o amsinfo -W -Wall amsinfo.cgcc -o mkamsboot -W -Wall mkamsboot.carm-elf-as -o test.o test.Stest.S: Assembler messages:test.S:0: Warning: end of file not at end of a line; newline insertedarm-elf-ld -e 0 -o test.elf test.oarm-elf-objcopy -O binary test.elf test.bin./mkamsboot e200pF.bin test.bin patched.binOriginal firmware size - 0x0001d81cPadded firmware size - 0x00020000New firmware size - 0x00020000Bootloader size - 0x00000074New padded size - 0x00020000original firmware entry point: 0x00000128New entry point: 0x0001d820
Hey oh one second, the biggest possible should be 0xFF since the firmware header allocates 1 byte for the "firmware size" field...
gcc -o amsinfo -W -Wall amsinfo.cgcc -o mkamsboot -W -Wall mkamsboot.carm-elf-as -o test.o test.Stest.S: Assembler messages:test.S:0: Warning: end of file not at end of a line; newline insertedarm-elf-ld -e 0 -o test.elf test.oarm-elf-objcopy -O binary test.elf test.bin./mkamsboot e200pF.bin test.bin patched.binOriginal firmware size - 0x0001d81cPadded firmware size - 0x0001da00New firmware size - 0x00020000Bootloader size - 0x00000074New padded size - 0x00020000Calling memmove(buf + 0x00020400,buf + 0x0001de00,0x00edfc00)original firmware entry point: 0x00000128New entry point: 0x0001d820
Try to get to a usb 1.1 machine and dd the big image nicely.
For the record, you can force Linux to use all devices in USB 1.1 mode by rmmod'ing the ehci-hcd module, so there is no need to hunt for an ancient machine.
Page created in 0.107 seconds with 22 queries.