UART Boot log

I removed a bunch of whitespace from this page to make it smaller, here is the unmodified log

Things to note:

  • The bootloader seems to have this boot order:
    1. SD Card (port 0)
    2. NAND Flash
    3. SPI Flash
    4. SD Card (port 1)
    5. SD Card (port 2)
    6. USB
  • Kernel version 2.6.35.4 (released on the 26th of aug. 2010)
  • RootFS is loaded into RAM, appears to be just a CPIO image.
  • A console seems to be spawned on ttyS1 @115200bps
  • BusyBox v1.15.2
  • kernel cmdline: root=/dev/ram0 console=ttyS1,115200n8 rdinit=/sbin/init mem=32M vt.global_cursor_default=0 clocksource=jiffies
Init RTC ..
DDR2 16MB
SD Port0 Booting Fail - No Device
NAND Booting Fail - Not for Booting
SPI Booting
 - B0000004 = 000307EB
 - B0000224 = 0000469E
 - B0000220 = 000009EC
 - B000020C = 00000018
 - B0000214 = 001F0000
 - B000021C = 00000100
 - B0003034 = 00888800
 - B0003008 = 0000805A
 - B0003028 = 21667525
 - B0003000 = 04130476
 - B0003000 = 04030476
 - B0003010 = 00000005
 - B0003004 = 00000021
 - B0003004 = 00000023
 - B0003004 = 00000027
 - B0003020 = 00008000
 - B0003024 = 00008000
 - B000301C = 00002403
 - B0003018 = 00000532
 - B0003004 = 00000027
 - B0003004 = 0000002B
 - B0003004 = 0000002B
 - B0003018 = 00000432
 - B000301C = 00002782
 - B000301C = 00002403
 - B0003004 = 00000020
 - B00000A0 = 00000001
Success
ExeAddr 0x00900000
SPI Boot Loader +++
Load logo file length 0x54B9
11 jpegInfo.jpeg_width = 0  jpegInfo.jpeg_height = 0
22 jpegInfo.width = 0  jpegInfo.height = 0
Load file length 0x1CFA20, execute address 0x0
Excute.....
Linux version 2.6.35.4 (root@dev.mediayou.net) (gcc version 4.2.1) #235 PREEMPT Mon Jul 8 14:23:20 CST 2019
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: W55FA93
Memory policy: ECC disabled, Data cache writeback
CPU type 0x00fa5c30 is W55FA93
w55fa93_external_clock  = 12.0 MHz
w55fa93_apll_clock      = 988000 KHz
w55fa93_upll_clock      = 240000 KHz
w55fa93_system_clock    = 240000 KHz
w55fa93_cpu_clock       = 240000 KHz
w55fa93_ahb_clock       = 120000 KHz
w55fa93_apb_clock       = 60000 KHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/ram0 console=ttyS1,115200n8 rdinit=/sbin/init mem=32M vt.global_cursor_default=0 clocksource=jiffies
PID hash table entries: 128 (order: -3, 512 bytes)
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: 28820k/28820k available, 3948k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xc2800000 - 0xe0000000   ( 472 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0104000   (1008 kB)
      .text : 0xc0104000 - 0xc035c000   (2400 kB)
      .data : 0xc035c000 - 0xc0372c20   (  92 kB)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:32
Console: colour dummy device 80x30
console [ttyS1] enabled
Calibrating delay loop... 119.60 BogoMIPS (lpj=598016)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.23.
cfg80211: Calling CRDA to update world regulatory domain
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
NET: Registered protocol family 1
register clock device
w55fa93_edma_init
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 56
io scheduler noop registered (default)
---w55fa93fb_init ----w55fa93 frame buffer init!!! 
###########w55fa93 frame buffer probe############
check_var(var=c1c7e020, info=c1c7e000)
w55fa93 LCD driver has been installed successfully
w90x900 GPIO driver has been installed successfully.
NUC930 ADC Keypad driver has been initialized successfully!
SC6122 Remote Controller driver has been initialized successfully!

W55FA93 uart driver has been initialized successfully!
w55fa93-uart0: ttyS0 at MMIO 0xb8008000 (irq = 13) is a W55FA93
w55fa93-uart1: ttyS1 at MMIO 0xb8008100 (irq = 24) is a W55FA93
jedec == 00ef4016  ext_jedec = 0000  m25p_ids[tmp].name = w25q32
m25p80 spi0.0: w25q32 (4096 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x0000003dc000-0x000000400000 : "FLASH"
mtd: Giving out device 0 to FLASH
0x000000000000-0x000000400000 : "ALL"
mtd: Giving out device 1 to ALL
0x0000001eb000-0x0000002fb000 : "DATA1"
mtd: Giving out device 2 to DATA1
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Init CONFIG_W55FA93_USB_HOST_LIKE_PORT1
ohci_hcd_w55fa93_drv_probe
usb_hcd_w55fa93_probe
get_pll
External clock = 12MHz
NF: 40, NR: 2, NO: 1
PLL is 240   ---
div1 = 1
div0 = 1
div0 = 2
div0 = 3
div0 = 4
div0 = 5
Div1 = 0,  Div0 = 4
USBH IP  Reset
CONFIG_W55FA93_USB_HOST_LIKE_PORT1
w55fa93-ohci w55fa93-ohci: Nuvoton W55FA93 OHCI Host Controller
w55fa93-ohci w55fa93-ohci: new USB bus registered, assigned bus number 1
w55fa93-ohci w55fa93-ohci: irq 18, io mem 0xb1009000
ohci_w55fa93_start
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB device plug in
i2c /dev entries driver
w55fa93-i2c w55fa93-i2c: bus frequency set to 100 KHz
w55fa93-i2c w55fa93-i2c: Add W55FA93 I2C port adapter
i2c gpio scl=(2)8, sda=(2)9
w55fa93_gpio_configure()-2,8
w55fa93_gpio_configure()-2,9
Linux video capture interface: v2.00
jpegcodec_init
After snd_soc_register_dai
w55fa93evb_asoc_dev = 0xc0836aa0 !!! 
asoc: W55FA93_DAC HiFi <-> w55fa93-spu mapping ok
ret = 0x0 !!!, platform device added 
******* global g_pw55fa93_adc_data address = 0xc0c2bd60
 0 = platform_driver_register
 
asoc: W55FA93ADC HiFi <-> w55fa93adc_cpu_dai mapping ok
ALSA device list:
  #0: W55FA93_SPU (W55FA93_DAC)
  #1: mach-W55FA93_ADC (codecADC)
TCP cubic registered
NET: Registered protocol family 17
Freeing init memory: 1008K
init started: BusyBox v1.15.2 (2018-04-02 11:12:47 CST)
starting pid 283, tty '': '/etc/init.d/rcS'
Mon Jan  1 00:00:00 UTC 2018
usb 1-1: new full speed USB device using w55fa93-ohci and address 2
USB device plug in
usbcore: registered new interface driver rt2870
usbcore: registered new interface driver usb-storage
File: UIProto.gz, Addr: 2449408, Size = 493865
Read [UIProto.gz] file success!!
File: mplayer.gz, Addr: 3006464, Size = 426917
Read [mplayer.gz] file success!!
File: W950OSD.gz, Addr: 2043904, Size = 397309
Read [W950OSD.gz] file success!!
Error: File [alexa_run_demo.gz] unsupported!
rm: cannot remove '/tmp/W950OSD.gz': No such file or directory
N932OSD Version 3.03 2019/08/02 
rm: cannot remove '/tmp/UIProto.gz': No such file or directory
UIProto Version 3.50 2019/08/02
Tue Jan  1 00:00:00 UTC 2019
Accept a New Domain Socket's Client Successful, mClient_SocketID = 9
File: stn.dat.gz, Addr: 3436544, Size = 552302
Read [stn.dat.gz] file success!!
FM_SeekThreshold =24,2
FM_StereoThreshold =26,2
killall: LCMINIT: no process killed
Set alarm gpio: High for Off
MPlayer Version 2.07 2019/07/01
Play : [48Ks://stop]
rm: cannot remove '/tmp/mplayer.lzma': No such file or directory

Please press Enter to activate this console.

In cases that the SPI chip isn’t readable, it tries some other locations as well:

Init RTC ..
DDR2 16MB
SD Port0 Booting Fail - No Device
NAND Booting Fail - Not for Booting
SPI Booting Fail - Not for Booting
SD Port1 Booting Fail - No Device
SD Port2 Booting Fail - No Device
USB Booting Fail - NoConnect