Wed Apr 27 19:28:41 EDT 2011

Opening up BeBook e-reader

- Take out the 4 cylindrical rubber plugs that cover 4 screws on the
  back.  Remove 4 screws + one for the battery holder.

- Use some sticky gum to temporarily attach the battery to the board
  otherwise it's dangling.

- Take off the back cover by prying it open at the USB connector, then
  go around.

- Serial console is at J8.  Center is ground, closest to the label is
  TX the other end is (probably) RX.

- The distance between the pads is not quite 100mil, more like 2mm.  I
  used a 3-prong SIP socket and bent the wires a bit, then use jumper
  wires into a TTL serial female header plug.

- The baud rate is 115200.

- Plug in USB to prevent it from going to sleep.


U-Boot 1.1.6-g1b97c629-dirty (Aug 24 2009 - 14:27:37) for SMDK2416

CPU:   S3C2416@400MHz
       Fclk = 800MHz, Hclk = 133MHz, Pclk = 66MHz
Board: SMDK2416 Mobile SDRAM
DRAM:    32 MB
NAND:    512 MB (Memory Based BBT Enabled)
*** Warning - bad CRC or NAND, using default environment

In:      serial
Out:     serial
Err:     serial
Battery Power : 4.01v
8 Gray Level Screen Supported!
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x200000, size 0x1c0000
 1835008 bytes read: OK
Boot with zImage

Starting kernel ...

Uncompressing Linux....................................................................... done, booting the kernel.
Linux version (maoyk@celling) (gcc version 4.0.0) #507 Wed Nov 4 13:30:36 CST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: SMDK2416
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C2416 (id 0x32450003)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2416: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666 MHz
S3C2416: epll on 192.000 MHz, usb-bus 48.000 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 8128
Kernel command line: noinitrd root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC0 mem=32M
irq: clearing subpending status 00000402
irq: clearing subpending status 00000002
PID hash table entries: 128 (order: 7, 512 bytes)
timer tcon=00500000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30120KB available (1936K code, 291K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2416: Initialising architecture
S3C2416: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c2800000, irq 88
DMA channel 1 at c2800100, irq 89
DMA channel 2 at c2800200, irq 90
DMA channel 3 at c2800300, irq 91
DMA channel 4 at c2800400, irq 92
DMA channel 5 at c2800500, irq 93
DMA channel 6 at c2800600, irq 99
DMA channel 7 at c2800700, irq 100
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Founded postion :[11]
Founded postion :[11]
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
loop: loaded (max 8 devices)
wake enabled for irq 50
wake enabled for irq 16
wake enabled for irq 17
wake enabled for irq 18
wake enabled for irq 19
wake enabled for irq 58
wake enabled for irq 59
wake enabled for irq 51
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
s3c2410 NOR-Flash Driver, (c) 2004 Simtec Electronics
s3c2410-nor: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 1 MTD partitions on "s3c2410-nor":
0x00000000-0x00200000 : "Boot loader"
S3C NAND Driver, (c) 2007 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 6 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x00200000-0x00400000 : "KERNEL"
0x00400000-0x00a00000 : "BASEFS"
0x00a00000-0x07d00000 : "ROOTFS"
0x07d00000-0x07e00000 : "LOGO"
0x07e00000-0x08000000 : "USERDATA"
0x08000000-0x1f000000 : "STORAGE"
Loaded s3c-udc version Nov  4 2009
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
res->start : 57005000 res->end : 0<6>s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 9 KHz
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
wake enabled for irq 48
[s3c_hsmmc_probe]: s3c-hsmmc.0: at 0xc286c000 with irq 37. clk src: hsmmc
Registered led device: nand-green-led-data
Registered led device: nand-red-led-data
Registered led device: mmc-green-led-data
Registered led device: mmc-red-led-data
Registered led device: charge-green-led-da
Registered led device: charge-red-led-data
Registered led device: lcd-green-led-data
Registered led device: lcd-red-led-data
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC).
smdk_audio_matchdev: dev=c020d948
ALSA device list:
  #0: S3C2410 TLV320
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 92K
init started: BusyBox v1.8.2 (2008-12-03 22:38:29 CST)
starting pid 238, tty '': '/etc/init.d/rcS'
Make /etc writeable
Remounting /etc as writeable ......
vm.dirty_writeback_centisecs = 10
vm.dirty_expire_centisecs = 10
Mounting local filesystems...
Starting system message bus: [  $OK  ]
starting pid 279, tty '': '/bin/autologin'
Welcome to jinke ebook system...
login[279]: root login on 'ttyS0'
/bin/dbus-launch --exit-with-session
# Sending signal PowerChange with value PowerLevel4
nxclient: retry connect attempt 1
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
open file:/root/appdata/fontlib.conf error
wake enabled for irq 46
wake disabled for irq 46
wake enabled for irq 46
Stopping tasks ... done.
Suspending console(s)
Leaving IRQ 16 (pin 160) enabled
Leaving IRQ 17 (pin 161) enabled
Leaving IRQ 18 (pin 162) enabled
Leaving IRQ 19 (pin 163) enabled
Leaving IRQ 48 (pin 164) enabled
Disabling IRQ 49 (pin 165)
Leaving IRQ 50 (pin 166) enabled
Leaving IRQ 51 (pin 167) enabled
Disabling IRQ 57 (pin 197)
Leaving IRQ 58 (pin 198) enabled
Leaving IRQ 59 (pin 199) enabled
sleep: irq wakeup masks: bffffff0,ffff3f2f

[1] http://delicious.com/doelie/bebook
[2] http://openinkpot.org/wiki/Device/V5/SerialPort