Hi there,I have discovered a inconsistency between the image.srec file
and the image.bin file.
The romfs section is located at __init_end in image.srec while it is
located at __bss_start in image.srec. I will explain:
The image.bin file is created by a "cat" of linux.bin and romfs.img (see
detail 1 below). This causes romfs to start were linux ends, which is at
__init_end. Image.srec is derived from image.elf. Image.elf is updated
with "microblaze-uclinux-objcopy", which adds a section .romfs to
"linux". See detail 2. For this the .bss location is extracted from
"linux". See detail 3. The difference between the two is the unused
space up to the next page boundary as can be seen in the System.map file:
2015d086 ? __initramfs_end
2015d08c A __init_end
2015e000 B __bss_start
2015e000 B saved_command_line
2015e100 B reset_devices
The length of the binary "linux.bin" is 0x2015d08c, which equals __init_end