How to modify initrd ?

I followed this topic to decompress and compress l4t_initrd.img without modifying any files in bootloader/l4t_initrd.img. The strange thing is that the system can’t start.