Script worked correctly, but skipped /flash/extlinux (probably because it's write-protected?)
This is probably the reason why it doesn't boot. That folder contains a file with parameters for correctly booting Linux. Just make sure it's copied over. Maybe "-r" is missing in cp command?
During an attempt to boot from eMMC, it writes
That is harmless and actually expected.