honeylab's blog

各種ハードウェアの改造、主にファミコンミニなどをやってます(ました)

SHARP 太陽光発電 エネルギーモニタ JH-RWL7のLinux起動ログが取得できた

https://bitbucket.org/snippets/bakueikozo/Rey9j6

タイトルの通りです。

U-Boot 2009.08 (10月 25 2013 - 15:15:40)
  
  CPU:   Freescale i.MX25 at 398 MHz
  mx25 cpu clock: 398MHz
  ipg clock     : 66498560Hz
  Board: i.MX25 - Solar-System JHRWL3 board
  I2C:   ready
  RAM Configuration:
   Bank #0: 80000000 128 MB
   Bank #1: 90000000 128 MB
  SDRAM Test Aread 90000000 - 90100000
  SDRAM test phase 1:
  SDRAM test phase 2:
  SDRAM Test Aread 94000000 - 94100000
  SDRAM test phase 1:
  SDRAM test phase 2:
  SDRAM test passed.
  NAND:  Manufacturer      : Micron (0x2c)
  Device Code       : 0x38
  Cell Technology   : SLC
  Chip Size         : 1 GiB
  Pages per Block   : 128
  Page Geometry     : 4096+218
  ECC Strength      : 8 bits
  ECC Size          : 512 B
  Data Setup Time   : 25 ns
  Data Hold Time    : 15 ns
  Address Setup Time: 10 ns
  GPMI Sample Delay : 6 ns
  tREA              : Unknown
  tRLOH             : Unknown
  tRHOH             : Unknown
  Description       : MT29F8G08ABABA
  Bad block table found at page 262016, version 0x01
  Bad block table found at page 261888, version 0x01
  1024 MiB
  MMC:
  In:    serial
  Out:   serial
  Err:   serial
  Bank 0 - EEPROM Magic Check ....OK(0x9510107)
  Bank 0 - EEPROM CRC Verify ....OK
  Net:   FEC0
  Hit any key to stop autoboot:  0
  +++ Barner +++++++++++++++++++++++++++++++++++
   Kernel Image Address : 0x200000
                Version : 11.00
          Build Version : 0001
  ++++++++++++++++++++++++++++++++++++++++++++++
  
  NAND read: device 0 offset 0x200000, size 0x800000
   8388608 bytes read: OK
  ## Booting kernel from Legacy Image at 80800000 ...
     Image Name:   Linux-2.6.34.9-WR4.2.0.0_standar
     Created:      2015-10-20   8:18:25 UTC
     Image Type:   ARM Linux Kernel Image (uncompressed)
     Data Size:    6262528 Bytes =  6 MB
     Load Address: 80008000
     Entry Point:  80008000
     Verifying Checksum ... OK
     Loading Kernel Image ... OK
  OK
  
  Starting kernel ...
  
  Initializing cgroup subsys cpuset
  Initializing cgroup subsys cpu
  Linux version 2.6.34.9-WR4.2.0.0_standard (solar@solar-server) (gcc version 4.4.1 (Wind River Linux Sourcery G++ 4.4a-333) ) #315 PREEMPT Tue Oct 20 17:18:21 JST 2015
  CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
  CPU: VIVT data cache, VIVT instruction cache
  Machine: Sharp MX25 Solar Remote Controller
  Memory policy: ECC disabled, Data cache writeback
  Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64768
  Kernel command line: console=ttymxc0,115200 ubi.mtd=8,1024 root=ubi0:rootfs_a rootfstype=ubifs ro bootcmd=normal
  PID hash table entries: 1024 (order: 0, 4096 bytes)
  Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  allocated 2359296 bytes of page_cgroup
  please try 'cgroup_disable=memory,blkio' option if you don't want memory and blkio cgroups
  Memory: 128MB 128MB = 256MB total
  Memory: 250740k/250740k available, 11404k reserved, 0K highmem
  Virtual kernel memory layout:
      vector  : 0xffff0000 - 0xffff1000   (   4 kB)
      fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
      DMA     : 0xfde00000 - 0xffe00000   (  32 MB)
      vmalloc : 0xd8800000 - 0xf4000000   ( 440 MB)
      lowmem  : 0xc0000000 - 0xd8000000   ( 384 MB)
      modules : 0xbf000000 - 0xc0000000   (  16 MB)
        .init : 0xc0008000 - 0xc0086000   ( 504 kB)
        .text : 0xc0086000 - 0xc05a7000   (5252 kB)
        .data : 0xc05cc000 - 0xc0600f00   ( 212 kB)
  SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  Hierarchical RCU implementation.
  RCU-based detection of stalled CPUs is enabled.
  NR_IRQS:208
  MXC GPIO hardware
  MXC IRQ initialized
  Clock input source is 24000000
  Console: colour dummy device 80x30
  Calibrating delay loop... 198.65 BogoMIPS (lpj=397312)
  Security Framework initialized
  Mount-cache hash table entries: 512
  Initializing cgroup subsys debug
  Initializing cgroup subsys ns
  Initializing cgroup subsys cpuacct
  Initializing cgroup subsys memory
  Initializing cgroup subsys blkio
  Initializing cgroup subsys devices
  Initializing cgroup subsys freezer
  CPU: Testing write buffer coherency: ok
  Init trace_clock_cyc2ns: precalc_mult = 250000, precalc_shift = 9
  devtmpfs: initialized
  regulator: core version 0.5
  NET: Registered protocol family 16
  AIPS1 VA base: 0xfc000000
  CPU is i.MX25 Revision 1.0
  mxc_pwm_device registered
  pwm-backlight device registered
  Using SDMA I.API
  MXC DMA API initialized
  check_res_of_trace_clock: sched_clock() low resolution
  check_res_of_trace_clock: trace_clock_read64_ns() has high resolution
  bio: create slab <bio-0> at 0
  CSPI: spi_imx-0 probed
  MXC I2C driver
  cfg80211: Calling CRDA to update world regulatory domain
  regulator: REG1_BKLT: 4500 <--> 5500 mV at 5000 mV
  regulator: REG2_CPU: 2640 <--> 3877 mV at 3300 mV
  regulator: REG3_CORE: 1160 <--> 1703 mV at 1450 mV
  regulator: REG4_DDR: 1440 <--> 2115 mV at 1800 mV
  regulator: REG5_PERS: 2640 <--> 3877 mV at 3300 mV
  mc34704 0-0054: Loaded
  Switching to clocksource mxc_timer1
  NET: Registered protocol family 2
  IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
  TCP established hash table entries: 8192 (order: 4, 65536 bytes)
  TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
  TCP: Hash tables configured (established 8192 bind 8192)
  TCP reno registered
  UDP hash table entries: 256 (order: 0, 4096 bytes)
  UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  NET: Registered protocol family 1
  RPC: Registered udp transport module.
  RPC: Registered tcp transport module.
  RPC: Registered tcp NFSv4.1 backchannel transport module.
  Bus freq driver module loaded
  i.MXC CPU frequency driver
  VFS: Disk quotas dquot_6.5.2
  Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  Registering unionfs 2.5.4 (for 2.6.34-rc0)
  JFFS2 version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
  fuse init (API version 7.13)
  Btrfs loaded
  yaffs Oct 20 2015 17:15:19 Installing.
  msgmni has been set to 489
  alg: No test for stdrng (krng)
  Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
  io scheduler noop registered
  io scheduler deadline registered
  io scheduler cfq registered (default)
  LTT : ltt-relay init
  pwm_backlight_update_status(): bl_power=0 brightness=0
  pwm_config(): duty_ns=0 period_ns=5000000
  pwm_config(): [MXC_PWMSAR] 00000000
  pwm_config(): [MXC_PWMPR ] 0000d878
  pwm_config(): [MXC_PWMCR ] 03c20050
  pwm_disable(): [MXC_PWMCR ] 03c20050
  _update_lcdc : bpp setting 32(default=32) bpp = pcd is 0x3
  mxc_sdc_fb mxc_sdc_fb.0: fb0: DISP0 BG fb device registered successfully.
  mxc_sdc_fb mxc_sdc_fb.0: fb1: DISP0 FG fb device registered successfully.
  ML22823 Power Up
  ML22823 Power Down
  ML22823 probed
  Serial: IMX driver
  imx-uart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a IMX
  console [ttymxc0] enabled
  imx-uart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a IMX
  imx-uart.2: ttymxc2 at MMIO 0x5000c000 (irq = 18) is a IMX
  brd: module loaded
  at24 0-0050: 256 byte 24c02 EEPROM (writable)
  MXC MTD nand Driver 2.5
  NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron NAND 1GiB 3,3V 8-bit)
  RedBoot partition parsing not available
  Creating 9 MTD partitions on "NAND 1GiB 3,3V 8-bit":
  0x000000000000-0x000000080000 : "nand.bootloader0"
  0x000000080000-0x000000100000 : "nand.bootloader1"
  0x000000100000-0x000000180000 : "nand.bootenv0"
  0x000000180000-0x000000200000 : "nand.bootenv1"
  0x000000200000-0x000000a00000 : "nand.kernel_a"
  0x000000a00000-0x000001200000 : "nand.kernel_b"
  0x000001200000-0x000001a00000 : "nand.kernel_c"
  0x000001a00000-0x000002200000 : "nand.kernel_d"
  0x000002200000-0x000020000000 : "nand.ubi0"
  UBI: attaching mtd8 to ubi0
  UBI: physical eraseblock size:   524288 bytes (512 KiB)
  UBI: logical eraseblock size:    520192 bytes
  UBI: smallest flash I/O unit:    4096
  UBI: sub-page size:              1024
  UBI: VID header offset:          1024 (aligned 1024)
  UBI: data offset:                4096
  UBI: attached mtd8 to ubi0
  UBI: MTD device name:            "nand.ubi0"
  UBI: MTD device size:            478 MiB
  UBI: number of good PEBs:        956
  UBI: number of bad PEBs:         0
  UBI: max. allowed volumes:       128
  UBI: wear-leveling threshold:    4096
  UBI: number of internal volumes: 1
  UBI: number of user volumes:     7
  UBI: available PEBs:             15
  UBI: total number of reserved PEBs: 941
  UBI: number of PEBs reserved for bad PEB handling: 9
  UBI: max/mean erase counter: 1104/562
  UBI: image sequence number: 745870485
  UBI: background thread "ubi_bgt0d" started, PID 958
  FEC Ethernet Driver
  fec_enet_mii_bus: probed
  console [netcon0] enabled
  netconsole: network logging started
  input: gpio-keys as /devices/platform/gpio-keys/input/input0
  rtc-pcf8563 0-0051: chip found, driver version 0.4.3
  rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
  i2c i2c-0: ACK not received
  rtc-rx8025 0-0032: Unable to read registers #14..#15
  i2c i2c-0: probing for rx8025 failed
  rtc-rx8025: probe of 0-0032 failed with error -121
  i2c /dev entries driver
  MXC WatchDog Driver 2.0
  MXC Watchdog # 0 Timer: initial timeout 127 sec
  PMIC Character device: successfully loaded
  i.MX ADC at 0x50030000 irq 46
  mxsdhci: MXC Secure Digital Host Controller Interface driver
  mxsdhci: MXC SDHCI Controller Driver.
  mmc0: SDHCI detect irq 97 irq 9 INTERNAL DMA
  TCP cubic registered
  NET: Registered protocol family 17
  lib80211: common routines for IEEE802.11 drivers
  Static Power Management for Freescale i.MX25
  on-off key pressed
  regulator_init_complete: incomplete constraints, leaving REG5_PERS on
  regulator_init_complete: incomplete constraints, leaving REG1_BKLT on
  input: imx_adc_ts as /devices/virtual/input/input1
  i.MX ADC input touchscreen loaded.
  mmc0: new high speed SDIO card at address 0001
  UBIFS: recovery needed
  UBIFS: recovery deferred
  UBIFS: mounted UBI device 0, volume 1, name "rootfs_a"
  UBIFS: mounted read-only
  UBIFS: file system size:   104558592 bytes (102108 KiB, 99 MiB, 201 LEBs)
  UBIFS: journal size:       10469376 bytes (10224 KiB, 9 MiB, 21 LEBs)
  UBIFS: media format:       w4/r0 (latest is w4/r0)
  UBIFS: default compressor: lzo
  UBIFS: reserved for root:  0 bytes (0 KiB)
  VFS: Mounted root (ubifs filesystem) readonly on device 0:13.
  devtmpfs: mounted
  Freeing init memory: 504K
  UBIFS: recovery needed
  UBIFS: recovery completed
  UBIFS: mounted UBI device 0, volume 3, name "data_a"
  UBIFS: file system size:   59301888 bytes (57912 KiB, 56 MiB, 114 LEBs)
  UBIFS: journal size:       9883648 bytes (9652 KiB, 9 MiB, 19 LEBs)
  UBIFS: media format:       w4/r0 (latest is w4/r0)
  UBIFS: default compressor: lzo
  UBIFS: reserved for root:  0 bytes (0 KiB)
  UBIFS: recovery needed
  UBIFS: recovery completed
  UBIFS: mounted UBI device 0, volume 4, name "data_b"
  UBIFS: file system size:   18206720 bytes (17780 KiB, 17 MiB, 35 LEBs)
  UBIFS: journal size:       4681729 bytes (4572 KiB, 4 MiB, 9 LEBs)
  UBIFS: media format:       w4/r0 (latest is w4/r0)
  UBIFS: default compressor: lzo
  UBIFS: reserved for root:  0 bytes (0 KiB)
  UBIFS: mounted UBI device 0, volume 5, name "config"
  UBIFS: mounted read-only
  UBIFS: file system size:   18206720 bytes (17780 KiB, 17 MiB, 35 LEBs)
  UBIFS: journal size:       4681729 bytes (4572 KiB, 4 MiB, 9 LEBs)
  UBIFS: media format:       w4/r0 (latest is w4/r0)
  UBIFS: default compressor: lzo
  UBIFS: reserved for root:  0 bytes (0 KiB)
  UBIFS: recovery needed
  UBIFS: recovery completed
  UBIFS: mounted UBI device 0, volume 6, name "log"
  UBIFS: file system size:   26529792 bytes (25908 KiB, 25 MiB, 51 LEBs)
  UBIFS: journal size:       5722112 bytes (5588 KiB, 5 MiB, 11 LEBs)
  UBIFS: media format:       w4/r0 (latest is w4/r0)
  UBIFS: default compressor: lzo
  UBIFS: reserved for root:  0 bytes (0 KiB)
  BackLight Power On ....
  BackLight Max Level 5 ....
  pwm_backlight_update_status(): bl_power=0 brightness=255
  pwm_enable(): clk_enable
  pwm_enable(): [MXC_PWMCR ] 03c20051
  pwm_config(): duty_ns=5000000 period_ns=5000000
  pwm_config(): [MXC_PWMSAR] 0000d878
  pwm_config(): [MXC_PWMPR ] 0000d878
  pwm_config(): [MXC_PWMCR ] 03c20051
  setting brithness level is 255
  error: /etc/logrotate.conf:30 unknown group 'utmp'
  error: found error in /var/log/wtmp , skipping
  mlan driver install  : mlan: module license 'Marvell Proprietary' taints kernel.
  Disabling lock debugging due to kernel taint
  [ OK ]
  sd8787 driver install  : wlan_sdio mmc0:0001:1: firmware: requesting mrvl/sd8787_uapsta.bin
  WLAN FW is active
  [ OK ]
  console=ttymxc0,115200 ubi.mtd=8,1024 root=ubi0:rootfs_a rootfstype=ubifs ro bootcmd=normal
  Copy /backup/ts/pointercal.bak /etc ... Not Found
  Copy /data/ts/pointercal /etc ... [ OK ]
  +++++++++++++++++++++++++++++++++++
   Last Reset : [ H/W-Reset ]
  +++++++++++++++++++++++++++++++++++
  
  ---------------------------------------
  Version      : 11.00
  Build number : 0001
  Date         : 2017/05/10 11:44
  ---------------------------------------
  
  Speech A-Volume Setting
  low = 0x26,  mid = 0x2b,  mid_high = 0x31,  high = 0x37
  RTC Initialize
  2018/02/08 08:32:08
  ********************
     Mode: [Normal]
  ********************
  START !!!!
  
  JH-RWL7 login: mlan0     deepsleep:0
  mlan0     regioncode:65
  mlan0     httxcfg:0
  mlan0     htcapinfo:67108864
  1970-01-01 09:00:14: (log.c.166) server started
  1970-01-01 09:00:14: (server.c.968) WARNING: unknown config-key: url.access-deny (ignored)
  ioctl[SIOCSIWPMKSA]: Invalid argument
  ioctl[SIOCSIWESSID]: Invalid argument
  ioctl[SIOCSIWPMKSA]: Invalid argument
  pwm_backlight_update_status(): bl_power=0 brightness=255
  pwm_enable(): [MXC_PWMCR ] 03c20051
  pwm_config(): duty_ns=5000000 period_ns=5000000
  pwm_config(): [MXC_PWMSAR] 0000d878
  pwm_config(): [MXC_PWMPR ] 0000d878
  pwm_config(): [MXC_PWMCR ] 03c20051
  udhcpc (v1.15.3) started
  Sending discover...
  Sending select for 192.168.0.4...
  Sending select for 192.168.0.4...
  Lease of 192.168.0.4 obtained, lease time 3600
  deleting routers
  adding dns 192.168.0.1
  pwm_backlight_update_status(): bl_power=0 brightness=204
  pwm_enable(): [MXC_PWMCR ] 03c20051
  pwm_config(): duty_ns=4000000 period_ns=5000000
  pwm_config(): [MXC_PWMSAR] 0000ad2c
  pwm_config(): [MXC_PWMPR ] 0000d878
  pwm_config(): [MXC_PWMCR ] 03c20051
  slotCtrlConditionsEvt() 0x2
  slotCtrlConditionsEvt() END 0x40
  slotCtrlConditionsEvt() 0x40
  slotCtrlConditionsEvt() END 0x0
  QStateMachine::start(): already running

 

 ログインシェルは動いてますが、rootにパスワードがちゃんと設定されていますね。
U-bootが動いているので、ここからカーネルイメージ引っこ抜いたら解析できたりするんでしょうか…?