Well, now imagine a mark on a boulder that means ‘danger’ (left there because, say, a tiger lives nearby). Same thing. (And it would not be unreasonable to suspect that that’s how writing began.)
So, in other words, the notion of the homomorphism is almost useless in this context - which is why its mentioning when talking about knots may create confusion.
Yes, there must have been a long pre-history of writing proper, like, leaving marks on trees or soil as a guide, a warning, etc. But it takes a civilization to start writing on a scale comparable to that of the Sumerians, and such a civilization cannot be lost to time so completely as to leave behind some evidence if its writing - especially given that they would likely use different media, including clay and stone.
Think of a 3-dimensional object (unlike a surface, which is 2-dimensional, regardless of the shape), with the volume zero. That's not easy to wrap your head around.