M28x login: root Password: [root@M28x ~]# df Filesystem Size Used Available Use% Mounted on ubi0:rootfs 54.7M 35.1M 16.8M 68% / tmpfs 60.8M 8.0K 60.8M 0% /tmp tmpfs 60.8M 48.0K 60.7M 0% /var tmpfs 60.8M 0 60.8M 0% /media ubi1:opt 40.5M 18.7M 19.7M 49% /opt tmpfs 60.8M 72.0K 60.7M 0% /opt/NandFlash/tmp ubi0:rootfs 54.7M 35.1M 16.8M 68% / tmpfs 60.8M 8.0K 60.8M 0% /tmp tmpfs 60.8M 48.0K 60.7M 0% /var tmpfs 60.8M 0 60.8M 0% /media ubi1:opt 40.5M 18.7M 19.7M 49% /opt tmpfs 60.8M 72.0K 60.7M 0% /opt/NandFlash/tmp [root@M28x ~]# date Thu Jan 1 00:02:05 UTC 1970 [root@M28x ~]# date Thu Jan 1 00:03:14 UTC 1970 [root@M28x ~]# [root@M28x ~]# [root@M28x ~]# [root@M28x ~]# [root@M28x ~]# [root@M28x ~]# [root@M28x ~]# [root@M28x ~]# [root@M28x ~]# date Thu Jan 1 00:09:51 UTC 1970 [root@M28x ~]# hwclock Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# hwclock Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# hwclock --utc Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# hwclock -utc hwclock: invalid option -- 't' BusyBox v1.18.4 (2014-03-19 15:41:22 CST) multi-call binary. Usage: hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|-- utc] [-f FILE] Query and set hardware clock (RTC) Options: -r Show hardware clock time -s Set system time from hardware clock -w Set hardware clock to system time -u Hardware clock is in UTC -l Hardware clock is in local time -f FILE Use specified device (e.g. /dev/rtc2) [root@M28x ~]# hwclock -u Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# hwclock -l Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# hwclock -r Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# hwclock --adjtime hwclock: unrecognized option '--adjtime' BusyBox v1.18.4 (2014-03-19 15:41:22 CST) multi-call binary. Usage: hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|-- utc] [-f FILE] Query and set hardware clock (RTC) Options: -r Show hardware clock time -s Set system time from hardware clock -w Set hardware clock to system time -u Hardware clock is in UTC -l Hardware clock is in local time -f FILE Use specified device (e.g. /dev/rtc2) [root@M28x ~]# date Thu Jan 1 00:17:45 UTC 1970 [root@M28x ~]# date Tue Nov 15 14:37:51 UTC 2022 [root@M28x ~]# hwclock -r Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# hwclock -w [root@M28x ~]# hwclock -r Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# date Tue Nov 15 14:39:26 UTC 2022 [root@M28x ~]# hwclock -s [root@M28x ~]# date Tue Nov 30 00:00:03 UTC 1999 [root@M28x ~]# date Tue Nov 15 14:41:07 UTC 2022 [root@M28x ~]# hwclock -w [root@M28x ~]# hwclock -w [root@M28x ~]# sync [root@M28x ~]# hwclock -r Tue Nov 30 00:00:00 1999 0.000000 seconds [root@M28x ~]# date Tue Nov 15 14:41:59 UTC 2022 [root@M28x ~]# demesg -sh: demesg: command not found [root@M28x ~]# dmesg Linux version 2.6.35.3-571-gcca29a0 (root@localhost.localdomain) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #2 PREEMPT Fri Apr 14 11:43:38 CST 2017 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Freescale MX28EVK board Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 32768 free_area_init_node: node 0, pgdat c05f7dac, node_mem_map c0644000 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 224 pages used for memmap Normal zone: 28448 pages, LIFO batch:7 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: gpmi=g console=ttyAM0,115200n8 ubi.mtd=5 root=ubi0:rootfs rootfstype=ubifs ro mem=128M PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 123532k/123532k available, 7540k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xfde00000 - 0xffe00000 ( 32 MB) vmalloc : 0xc8800000 - 0xf0000000 ( 632 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc00f0000 ( 928 kB) .text : 0xc00f0000 - 0xc05be000 (4920 kB) .data : 0xc05be000 - 0xc05f8780 ( 234 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 disabled. Verbose stalled-CPUs detection is disabled. NR_IRQS:288 Console: colour dummy device 80x30 console [ttyAM0] enabled Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496) pid_max: default: 32768 minimum: 301 Security Framework initialized SELinux: Initializing. SELinux: Starting in permissive mode Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok regulator: core version 0.5 NET: Registered protocol family 16 regulator: vddd: 800 <--> 1575 mV at 1500 mV fast normal regulator: vdddbo: 800 <--> 1575 mV fast normal regulator: vdda: 1500 <--> 2275 mV at 1800 mV fast normal vddio = 3380000, val=10 regulator: vddio: 2880 <--> 3680 mV at 3380 mV fast normal regulator: overall_current: fast normal regulator: vbus5v: regulator: mxs-duart-1: fast normal regulator: mxs-bl-1: fast normal regulator: mxs-i2c-1: fast normal regulator: mmc_ssp-1: fast normal regulator: mmc_ssp-2: fast normal regulator: charger-1: fast normal regulator: power-test-1: fast normal regulator: cpufreq-1: fast normal i.MX IRAM pool: 120 KB@0xc8820000 Initializing GPMI pins add spi2 add spi3 mx28 wdt: mxs_add_device. sp706s hw_wdt_probe called. sp706s watchdog driver registered. sp706 wdt: platform device registered. add device pwm chanel 4 add device pwm chanel 7 i2c_device_init for ds2460 usb DR wakeup device is registered IMX usb wakeup probe the wakeup pdata is 0xc05c6d64 audit: cannot initialize inotify handle bio: create slab at 0 SCSI subsystem initialized i.MX GPMI NFC Freescale USB OTG Driver loaded, $Revision: 1.55 $ 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. Switching to clocksource mxs clock source NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) 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 IMX usb wakeup probe the wakeup pdata is 0xc05c7214 usb h1 wakeup device is registered NFC: Version 1, 8-chip GPMI and BCH Boot ROM: Version 1, Single-chip boot area, block mark swapping supported Scanning for NAND Flash chips... NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (Spansion NAND 128MiB 3,3V 8-bit) ----------------------------- NAND Flash Device Information ----------------------------- Manufacturer : Spansion (0x01) Device Code : 0xf1 Cell Technology : SLC Chip Size : 128 MiB Pages per Block : 64 Page Geometry : 2048+64 ECC Strength : 4 bits ECC Size : 512 B Data Setup Time : 20 ns Data Hold Time : 10 ns Address Setup Time: 20 ns GPMI Sample Delay : 6 ns tREA : Unknown tRLOH : Unknown tRHOH : Unknown Description : S34ML01G2 ----------------- Physical Geometry ----------------- Chip Count : 1 Page Data Size in Bytes: 2048 (0x800) Page OOB Size in Bytes : 64 Block Size in Bytes : 131072 (0x20000) Block Size in Pages : 64 (0x40) Chip Size in Bytes : 134217728 (0x8000000) Chip Size in Pages : 65536 (0x10000) Chip Size in Blocks : 1024 (0x400) Medium Size in Bytes : 134217728 (0x8000000) ------------ NFC Geometry ------------ ECC Algorithm : BCH ECC Strength : 8 Page Size in Bytes : 2112 Metadata Size in Bytes : 10 ECC Chunk Size in Bytes: 512 ECC Chunk Count : 4 Payload Size in Bytes : 2048 Auxiliary Size in Bytes: 16 Auxiliary Status Offset: 12 Block Mark Byte Offset : 1999 Block Mark Bit Offset : 0 ----------------- Boot ROM Geometry ----------------- Boot Area Count : 1 Boot Area Size in Bytes : 20971520 (0x1400000) Stride Size in Pages : 64 Search Area Stride Exponent: 2 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Boot area protection is enabled. Creating 7 MTD partitions on "gpmi-nfc-main": 0x000000000000-0x000000c00000 : "boot 12MB" 0x000000c00000-0x000000c80000 : "env 512KB" 0x000000c80000-0x000000d00000 : "reserved 512KB" 0x000000d00000-0x000000f00000 : "logo 2MB" 0x000000f00000-0x000000f80000 : "reserved 512KB" 0x000000f80000-0x000004f80000 : "rootfs 64MB" 0x000004f80000-0x000008000000 : "opt -" cmdlinepart partition parsing not available mxs_cpu_init: cpufreq init finished audit: initializing netlink socket (disabled) type=2000 audit(0.880:1): initialized VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 241 alg: No test for stdrng (krng) cryptodev: driver loaded. 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) baclight_device easy283-pwm.4 register succcessed init_pwm ch 4 baclight_device easy283-pwm.7 register succcessed init_pwm ch 7 set dclk 9000000 Hz,real lcd clk=9000000 Hz drivers/video/logo/zhiyuan_bmp8_logo.c-95:can't find logo in mtd3 Console: switching to colour frame buffer device 60x34 set dclk 9000000 Hz,real lcd clk=9000000 Hz mxs-duart.0: ttyAM0 at MMIO 0x80074000 (irq = 47) is a DebugUART mxs-auart.0: ttySP0 at MMIO 0x8006a000 (irq = 112) is a mxs-auart.0 Found APPUART 3.1.0 mxs-auart.1: ttySP1 at MMIO 0x8006c000 (irq = 113) is a mxs-auart.1 Found APPUART 3.1.0 mxs-auart.2: ttySP2 at MMIO 0x8006e000 (irq = 114) is a mxs-auart.2 Found APPUART 3.1.0 mxs-auart.3: ttySP3 at MMIO 0x80070000 (irq = 115) is a mxs-auart.3 Found APPUART 3.1.0 mxs-auart.4: ttySP4 at MMIO 0x80072000 (irq = 116) is a mxs-auart.4 Found APPUART 3.1.0 brd: module loaded loop: module loaded UBI: attaching mtd5 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: attached mtd5 to ubi0 UBI: MTD device name: "rootfs 64MB" UBI: MTD device size: 64 MiB UBI: number of good PEBs: 512 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: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 512 UBI: number of PEBs reserved for bad PEB handling: 5 UBI: max/mean erase counter: 3/1 UBI: image sequence number: 0 mxs_spi_probe UBI: background thread "ubi_bgt0d" started, PID 1050 mxs-spi mxs-spi.2: Max possible speed 24000 = 24000000/2 kHz mxs-spi mxs-spi.2: at 0x80014000 mapped to 0xF0014000, irq=84, bus 2, PIO ver_major 4 mxs_spi_probe mxs-spi mxs-spi.3: Max possible speed 24000 = 24000000/2 kHz mxs-spi mxs-spi.3: at 0x80016000 mapped to 0xF0016000, irq=85, bus 3, PIO ver_major 4 spidev_probe. device_create spidevn.n spidev_probe. device_create spidevn.n Freescale FlexCAN Driver CAN device driver interface ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver fsl-ehci fsl-ehci: Freescale On-Chip EHCI Host Controller fsl-ehci fsl-ehci: new USB bus registered, assigned bus number 1 fsl-ehci fsl-ehci: irq 93, io base 0x80080000 fsl-ehci fsl-ehci: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 2 fsl-ehci fsl-ehci.0: irq 92, io base 0x80090000 fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver usbserial usbserial: USB Serial Driver core USB Serial support registered for Vizzini USB serial port usbcore: registered new interface driver vizzini USB Driver for Vizzini USB serial port: v.1.1 USB Serial support registered for FTDI USB Serial Device usbcore: registered new interface driver ftdi_sio ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver ARC USBOTG Device Controller driver (1 August 2005) input: MXS touchscreen as /class/input/input0 rtc-pcf8563 1-0051: chip found, driver version 0.4.3 rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0 MXS RTC driver v1.0 hardware v2.3.0 mxs-rtc mxs-rtc.0: rtc core: registered mxs-rtc as rtc1 i2c /dev entries driver epc_crp_init mxs watchdog: initialized, heartbeat 19 sec cpuidle: using governor ladder cpuidle: using governor menu mxs-mmc: MXS SSP Controller MMC Interface driver mxs-mmc: MXS MMC Interface probe __mxs_reset_block(f0010000): timeout when resetting mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96 Registered led device: led-run Registered led device: led-err Registered led device: beep dcp dcp.0: DCP crypto enabled.! usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: USB HID core driver ALSA device list: No soundcards found. IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver TCP cubic registered NET: Registered protocol family 17 can: controller area network core (rev 20090105 abi 8) NET: Registered protocol family 29 can: raw protocol (rev 20090105) can: broadcast manager protocol (rev 20090105 t) lib80211: common routines for IEEE802.11 drivers lib80211_crypt: registered algorithm 'NULL' FEC Ethernet Driver fec_enet_mii_bus: probed rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: hctosys: invalid date/time UBIFS: mounted UBI device 0, volume 0, name "rootfs" UBIFS: mounted read-only UBIFS: file system size: 62726144 bytes (61256 KiB, 59 MiB, 494 LEBs) UBIFS: journal size: 3174400 bytes (3100 KiB, 3 MiB, 25 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: lzo UBIFS: reserved for root: 2962710 bytes (2893 KiB) VFS: Mounted root (ubifs filesystem) readonly on device 0:15. Freeing init memory: 928K ehci_fsl_bus_suspend, Host 1 ehci_fsl_bus_suspend, DR UBI: attaching mtd6 to ubi1 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: attached mtd6 to ubi1 UBI: MTD device name: "opt -" UBI: MTD device size: 48 MiB UBI: number of good PEBs: 384 UBI: number of bad PEBs: 4 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 384 UBI: number of PEBs reserved for bad PEB handling: 3 UBI: max/mean erase counter: 24/4 UBI: image sequence number: 0 UBI: background thread "ubi_bgt1d" started, PID 1190 UBIFS: recovery needed UBIFS: recovery completed UBIFS: mounted UBI device 1, volume 1, name "opt" UBIFS: file system size: 46727168 bytes (45632 KiB, 44 MiB, 368 LEBs) UBIFS: journal size: 2285568 bytes (2232 KiB, 2 MiB, 18 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: lzo UBIFS: reserved for root: 2207039 bytes (2155 KiB) eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=0:05, irq=-1) eth1: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1) adc module init! gpio initialized PHY: 0:05 - Link is Up - 100/Full rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. rtc-pcf8563 1-0051: retrieved date/time is not valid. [root@M28x ~]#