I believe there is an existing Empeg API for this purpose, the exact same method as is used by the player software. Of course, you'll have to figure out which bytes are which.. the kernel just sees a "blob" of data going back/forth.

The existing save/restore stuff is in arch/arm/special/empeg_state.c, but all that you need to do is open("/dev/flash") (I'm not positive about the devicename), and do a "read()" from it.