char: import frandom

Change-Id: I3ee8a5bac9643752c7f59bbc14d6e8ccf36ca779
glacier: rework memory sizes

Change-Id: Ia4255d348a21d89397eae9bac19ea517fb6bb011