1*42e7aff5SPeter Yin#!/bin/bash 2*42e7aff5SPeter Yin 3*42e7aff5SPeter Yin# Create /dev/mem 4*42e7aff5SPeter Yinif [ ! -c /dev/mem ]; then 5*42e7aff5SPeter Yin /bin/mknod /dev/mem c 1 1 6*42e7aff5SPeter Yinfi 7*42e7aff5SPeter Yin 8*42e7aff5SPeter Yindevmem 0x1e6ee000 32 0xff00ba55 9*42e7aff5SPeter Yindevmem 0x1e6e2454 32 0xaa000000 10*42e7aff5SPeter Yindevmem 0x1e6e2094 32 0x00000003 11