Skip to content

Instantly share code, notes, and snippets.

@sergev
Created November 10, 2019 00:08
Show Gist options
  • Save sergev/8e6decdc0a4653dc1ddc5ce28c435660 to your computer and use it in GitHub Desktop.
Save sergev/8e6decdc0a4653dc1ddc5ce28c435660 to your computer and use it in GitHub Desktop.
Boot Linux 5.4.0 on pic32mz-da with SD workaround: failed
U-Boot 2015.07-00021-g893592104d (Oct 29 2019 - 18:34:01 -0700)
Board: PIC32MZ[DA]
CPU Speed: 200 MHz
SPI: ready
DRAM: 32 MiB
Flash: 2 MiB
MMC: pic32-sdhci: 0
In: serial
Out: serial
Err: serial
Net: pic32_eth
Error: pic32_eth address not set.
Hit any key to stop autoboot: 0
1755242 bytes read in 254 ms (6.6 MiB/s)
7351 bytes read in 9 ms (796.9 KiB/s)
## Booting kernel from Legacy Image at 88500000 ...
Image Name:
Created: 2019-11-10 0:00:43 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 1755178 Bytes = 1.7 MiB
Load Address: 88000000
Entry Point: 88000400
Verifying Checksum ... OK
## Flattened Device Tree blob at 88c00000
Booting using the fdt blob at 0x88c00000
Uncompressing Kernel Image ... OK
Device Id: 0x08a4e053, Device Ver: 0x0003
Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 16 bytes
Zone ranges:
Normal [mem 0x0000000008000000-0x0000000009ffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000008000000-0x0000000009ffffff]
Initmem setup node 0 [mem 0x0000000008000000-0x0000000009ffffff]
Built 1 zonelists, mobility grouping on. Total pages: 8128
Kernel command line: console=ttyS1,115200n8 root=/dev/mmcblk0p1 rootwait
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 28604K/32768K available (2670K kernel code, 175K rwdata, 672K rodata, 188K init, 76K bss, 4164K reserved, 0K cma-reserved)
NR_IRQS: 256
random: get_random_bytes called from start_kernel+0x310/0x4c4 with crng_init=0
CPU Clock: 200MHz
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
Console: colour dummy device 80x25
Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
pic32-clk: dt requests SOSC.
1f822200.serial: ttyPIC1 at MMIO 0x1f822200 (irq = 0, base_baud = 6250000) is a pic32-uart
pic32-uart 1f822200.serial: pic32_uart_probe: uart(1) driver initialized.
1f822600.serial: ttyPIC3 at MMIO 0x1f822600 (irq = 0, base_baud = 6250000) is a pic32-uart
pic32-uart 1f822600.serial: pic32_uart_probe: uart(3) driver initialized.
SCSI subsystem initialized
clocksource: Switched to clocksource MIPS
workingset: timestamp_bits=30 max_order=13 bucket_order=0
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler mq-deadline registered
io scheduler kyber registered
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on sdhci [sdhci] using ADMA
pic32-sdhci sdhci: Successfully added sdhci host
hidraw: raw HID events driver (C) Jiri Kosina
Warning: unable to open an initial console.
Waiting for root device /dev/mmcblk0p1...
mmc0: new high speed SDHC card at address 0001
mmcblk0: mmc0:0001 GB1QT 29.8 GiB
mmcblk0: p1 p2
EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
devtmpfs: mounted
Freeing unused kernel memory: 188K
This architecture does not have kernel memory protection.
Run /sbin/init as init process
random: fast init done
systemd[1]: System time before build time, advancing clock.
random: systemd: uninitialized urandom read (16 bytes read)
systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
systemd[1]: Detected architecture mips.
systemd[1]: Set hostname to <mzda>.
systemd[1]: Failed to read AF_UNIX datagram queue length, ignoring: No such file or directory
random: systemd: uninitialized urandom read (16 bytes read)
random: systemd-cryptse: uninitialized urandom read (16 bytes read)
random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
random: systemd-gpt-aut: uninitialized urandom read (16 bytes read)
systemd[1]: Out of memory.
systemd[1]: Failed to allocate notification socket: Function not implemented
systemd[1]: Failed to allocate cgroups agent socket: Function not implemented
systemd[1]: Failed to allocate user lookup socket: Function not implemented
systemd[1]: Failed to allocate private socket: Function not implemented
systemd[1]: socket() failed: Function not implemented
systemd-fsck[42]: socket(): Function not implemented
systemd-udevd[49]: error getting socket: Function not implemented
systemd-udevd[49]: error initializing udev control socket
systemd-udevd[49]: could not listen on fds: Invalid argument
systemd[1]: Starting udev Kernel Device Manager...
systemd-udevd[51]: error getting socket: Function not implemented
systemd-udevd[51]: error initializing udev control socket
systemd-udevd[51]: could not listen on fds: Invalid argument
systemd[1]: systemd-udevd.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start udev Kernel Device Manager.
systemd[1]: systemd-udevd.service: Unit entered failed state.
systemd[1]: systemd-udevd.service: Failed with result 'exit-code'.
systemd[1]: systemd-udevd.service: Service has no hold-off time, scheduling restart.
systemd[1]: Stopped udev Kernel Device Manager.
systemd[1]: systemd-udevd-control.socket: Failed to listen on sockets: Function not implemented
systemd[1]: Failed to listen on udev Control Socket.
systemd[1]: systemd-udevd-kernel.socket: Failed to listen on sockets: Function not implemented
systemd-udevd[53]: error getting socket: Function not implemented
systemd-udevd[53]: error initializing udev control socket
systemd-udevd[53]: could not listen on fds: Invalid argument
systemd-udevd[55]: error getting socket: Function not implemented
systemd-udevd[55]: error initializing udev control socket
systemd-udevd[55]: could not listen on fds: Invalid argument
systemd-udevd[57]: error getting socket: Function not implemented
systemd-udevd[57]: error initializing udev control socket
systemd-udevd[57]: could not listen on fds: Invalid argument
systemd-fsck[37]: fsck failed with error code 8.
systemd-fsck[37]: Ignoring error.
EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
systemd[1]: systemd-timesyncd.service: Failed to run 'start' task: No such file or directory
systemd[1]: Failed to start Network Time Synchronization.
systemd[1]: systemd-timesyncd.service: Unit entered failed state.
systemd[1]: systemd-timesyncd.service: Failed with result 'resources'.
systemd[1]: Reached target System Time Synchronized.
systemd[1]: Starting Update UTMP about System Boot/Shutdown...
systemd[1]: systemd-timesyncd.service: Service has no hold-off time, scheduling restart.
systemd[1]: Stopped Network Time Synchronization.
systemd[1]: systemd-timesyncd.service: Failed to run 'start' task: No such file or directory
systemd[1]: Failed to start Network Time Synchronization.
systemd-update-utmp[89]: Failed to connect to audit log: Function not implemented
systemd-update-utmp[89]: Failed to get D-Bus connection: Function not implemented
systemd[1]: dev-mmcblk0p2.device: Job dev-mmcblk0p2.device/start timed out.
systemd[1]: Timed out waiting for device dev-mmcblk0p2.device.
systemd[1]: Dependency failed for /dev/mmcblk0p2.
systemd[1]: Dependency failed for Swap.
systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'.
systemd[1]: dev-mmcblk0p2.swap: Job dev-mmcblk0p2.swap/start failed with result 'dependency'.
systemd[1]: dev-mmcblk0p2.device: Job dev-mmcblk0p2.device/start failed with result 'timeout'.
systemd[1]: Reached target System Initialization.
systemd[1]: dbus.socket: Failed to listen on sockets: Function not implemented
systemd[1]: Failed to listen on D-Bus System Message Bus Socket.
random: crng init done
random: 5 urandom warning(s) missed due to ratelimiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment