Skip to content

Instantly share code, notes, and snippets.

@rektide
Created June 24, 2014 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rektide/319330e515ca40bf8c0d to your computer and use it in GitHub Desktop.
Save rektide/319330e515ca40bf8c0d to your computer and use it in GitHub Desktop.
Not-quite-boot off sama5d3-xplained
Terminal ready
RomBOOT
U-Boot SPL 2014.07-rc3-00128-g0383805 (Jun 23 2014 - 23:06:27)
mci: setting clock 257812 Hz, block size 512
mci: setting clock 257812 Hz, block size 512
mci: setting clock 257812 Hz, block size 512
mci: setting clock 257812 Hz, block size 512
mci: setting clock 22000000 Hz, block size 512
reading u-boot.img
reading u-boot.img
U-Boot 2014.07-rc3-00128-g0383805 (Jun 23 2014 - 23:06:27)
CPU: SAMA5D36
Crystal frequency: 12 MHz
CPU clock : 528 MHz
Master clock : 132 MHz
DRAM: 256 MiB
NAND: atmel_nand: Fail to initialize #0 chip0 MiB
MMC: mci: 0
mci: setting clock 257812 Hz, block size 512
mci: setting clock 257812 Hz, block size 512
mci: setting clock 257812 Hz, block size 512
mci: setting clock 257812 Hz, block size 512
mci: setting clock 22000000 Hz, block size 512
In: serial
Out: serial
Err: serial
Net: gmac0
Warning: failed to set MAC address
, macb0
Warning: failed to set MAC address
Hit any key to stop autoboot: 3  2  1  0
reading at91-sama5d3_xplained.dtb
27799 bytes read in 13 ms (2 MiB/s)
reading zImage
3175712 bytes read in 590 ms (5.1 MiB/s)
Kernel image @ 0x22000000 [ 0x000000 - 0x307520 ]
## Flattened Device Tree blob at 21000000
Booting using the fdt blob at 0x21000000
Loading Device Tree to 2fb34000, end 2fb3dc96 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.15.0-rc7 (root@thoth) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #1 Sun Jun 22 20:00:04 EDT 2014
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: SAMA5D3 Xplained
bootconsole [earlycon0] enabled
Memory policy: Data cache writeback
AT91: Detected soc type: sama5d3
AT91: Detected soc subtype: sama5d36
AT91: sram at 0x300000 of 0x20000 mapped at 0xfef58000
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait init=/lib/systemd/systemd
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)
Memory: 253532K/262144K available (4436K kernel code, 199K rwdata, 1208K rodata, 168K init, 146K bss, 8612K reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc058b564 (5646 kB)
.init : 0xc058c000 - 0xc05b6004 ( 169 kB)
.data : 0xc05b8000 - 0xc05e9dc0 ( 200 kB)
.bss : 0xc05e9dc0 - 0xc060e870 ( 147 kB)
NR_IRQS:16 nr_irqs:16 16
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836480000000ns
Console: colour dummy device 80x30
Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
Initializing cgroup subsys blkio
Initializing cgroup subsys net_prio
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x20438c50 - 0x20438ca8
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
No ATAGs?
AT91: Power Management
gpio-at91 fffff200.gpio: at address fefff200
gpio-at91 fffff400.gpio: at address fefff400
gpio-at91 fffff600.gpio: at address fefff600
gpio-at91 fffff800.gpio: at address fefff800
gpio-at91 fffffa00.gpio: at address fefffa00
pinctrl-at91 pinctrl.3: initialized AT91 pinctrl driver
at_hdmac ffffe600.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
at_hdmac ffffe800.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f0014000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
at91_i2c f0014000.i2c: AT91 i2c bus driver.
at91_i2c f0018000.i2c: using dma0chan2 (tx) and dma0chan3 (rx) for DMA transfers
at91_i2c f0018000.i2c: AT91 i2c bus driver.
at91_i2c f801c000.i2c: can't get a DMA channel for tx
at91_i2c f801c000.i2c: can't use DMA
at91_i2c f801c000.i2c: AT91 i2c bus driver.
Switched to clocksource tcb_clksrc
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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 named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
futex hash table entries: 256 (order: -1, 3072 bytes)
msgmni has been set to 495
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered (default)
f001c000.serial: ttyS1 at MMIO 0xf001c000 (irq = 28, base_baud = 4125000) is a ATMEL_SERIAL
f0020000.serial: ttyS2 at MMIO 0xf0020000 (irq = 29, base_baud = 4125000) is a ATMEL_SERIAL
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [earlycon0] disabled
bootconsole [earlycon0] disabled
f0024000.serial: ttyS5 at MMIO 0xf0024000 (irq = 49, base_baud = 4125000) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
atmel_nand_nfc 70000000.nfc: NFC is probed.
atmel_nand 60000000.nand: Use On Flash BBT
atmel_nand 60000000.nand: Using dma0chan4 for DMA transfers.
atmel_nand 60000000.nand: Time out to wait status ready!
nand: No NAND device found
atmel_spi f0004000.spi: version: 0x213
atmel_spi f0004000.spi: Using dma0chan4 (tx) and dma0chan5 (rx) for DMA transfers
atmel_spi f0004000.spi: Atmel SPI Controller at 0xf0004000 (irq 24)
atmel_spi f8008000.spi: version: 0x213
atmel_spi f8008000.spi: Using dma1chan0 (tx) and dma1chan1 (rx) for DMA transfers
atmel_spi f8008000.spi: Atmel SPI Controller at 0xf8008000 (irq 31)
CAN device driver interface
at91_can f000c000.can: device registered (reg_base=d087e000, irq=45)
macb f0028000.ethernet (unregistered net_device): invalid hw address, using random
libphy: MACB_mii_bus: probed
macb f0028000.ethernet eth0: Cadence GEM at 0xf0028000 irq 46 (9a:2b:30:4d:0a:3e)
macb f0028000.ethernet eth0: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=f0028000.etherne:07, irq=-1)
macb f802c000.ethernet (unregistered net_device): invalid hw address, using random
libphy: MACB_mii_bus: probed
macb f802c000.ethernet eth1: Cadence MACB at 0xf802c000 irq 47 (52:11:a5:32:8f:64)
macb f802c000.ethernet eth1: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f802c000.etherne:00, irq=-1)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
atmel-ehci 700000.ehci: EHCI Host Controller
atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 700000.ehci: irq 51, io mem 0x00700000
atmel-ehci 700000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.15.0-rc7 ehci_hcd
usb usb1: SerialNumber: 700000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-atmel: OHCI Atmel driver
at91_ohci 600000.ohci: OHCI Host Controller
at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 600000.ohci: irq 51, io mem 0x00600000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 3.15.0-rc7 ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
atmel_usba_udc 500000.gadget: MMIO registers at 0xf8030000 mapped at d0888000
atmel_usba_udc 500000.gadget: FIFO at 0x00500000 mapped at d2200000
at91_rtc fffffeb0.rtc: rtc core: registered fffffeb0.rtc as rtc0
at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
atmel_aes f8038000.aes: version: 0x135
atmel_aes f8038000.aes: Atmel AES - Using dma1chan2, dma1chan3 for DMA transfers
atmel_sha f8034000.sha: version: 0x410
atmel_sha f8034000.sha: using dma1chan4 for DMA transfers
atmel_sha f8034000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
atmel_tdes f803c000.tdes: version: 0x701
atmel_tdes f803c000.tdes: using dma1chan5, dma1chan6 for DMA transfers
atmel_tdes f803c000.tdes: Atmel DES/TDES
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
iio iio:device0: Resolution used: 12 bits
iio iio:device0: ADC Touch screen is disabled.
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
input: gpio_keys.4 as /devices/gpio_keys.4/input/input0
at91_rtc fffffeb0.rtc: setting system clock to 2007-01-01 00:00:06 UTC (1167609606)
atmel_mci f0000000.mmc: version: 0x505
atmel_mci f0000000.mmc: using dma0chan6 for DMA transfers
atmel_mci f0000000.mmc: Atmel MCI controller at 0xf0000000 irq 23, 1 slots
atmel_mci f8000000.mmc: version: 0x505
atmel_mci f8000000.mmc: using dma1chan7 for DMA transfers
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address 1234
atmel_mci f8000000.mmc: Atmel MCI controller at 0xf8000000 irq 30, 1 slots
mmcblk0: mmc0:1234 SA16G 14.6 GiB
mmcblk0: p1 p2
EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
random: nonblocking pool is initialized
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 168K (c058c000 - c05b6000)
systemd[1]: systemd 204 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
Welcome to Debian GNU/Linux jessie/sid!
systemd[1]: Failed to insert module 'autofs4'
systemd[1]: No hostname configured.
systemd[1]: Set hostname to <localhost>.
systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
systemd[1]: Expecting device dev-ttyS0.device...
Expecting device dev-ttyS0.device...
systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
systemd[1]: Starting Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems (Pre).
systemd[1]: Reached target Remote File Systems (Pre).
systemd[1]: Starting Delayed Shutdown Socket.
[ OK ] Listening on Delayed Shutdown Socket.
systemd[1]: Listening on Delayed Shutdown Socket.
systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
systemd[1]: Starting Paths.
[ OK ] Reached target Paths.
systemd[1]: Reached target Paths.
systemd[1]: Starting udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
systemd[1]: Listening on udev Kernel Socket.
systemd[1]: Starting udev Control Socket.
[ OK ] Listening on udev Control Socket.
systemd[1]: Listening on udev Control Socket.
systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
systemd[1]: Starting Journal Socket.
[ OK ] Listening on Journal Socket.
systemd[1]: Listening on Journal Socket.
systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
systemd[1]: Mounting Debug File System...
Mounting Debug File System...
systemd[1]: Mounted Huge Pages File System.
systemd[1]: Starting Journal Service...
Starting Journal Service...
[ OK ] Started Journal Service.
systemd[1]: Started Journal Service.
systemd[1]: Starting Create static device nodes in /dev...
Starting Create static device nodes in /dev...
systemd[1]: Starting Encrypted Volumes.
[ OK ] Reached target Encrypted Volumes.
systemd[1]: Reached target Encrypted Volumes.
systemd[1]: Started Set Up Additional Binary Formats.
systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
systemd[1]: Starting Swap.
[ OK ] Reached target Swap.
systemd[1]: Reached target Swap.
systemd[1]: Started File System Check on Root Device.
systemd[1]: Started Remount Root and Kernel File Systems.
systemd[1]: Starting Load Random Seed...
Starting Load Random Seed...
systemd[1]: Started Various fixups to make systemd work better on Debian.
[ OK ] Started Apply Kernel Variables.
systemd[1]: Started Apply Kernel Variables.
systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
systemd-journald[552]: Failed to resolve 'systemd-journal' group: No such file or directory
systemd[1]: Failed to start Load Kernel Modules.
systemd[1]: Unit systemd-modules-load.service entered failed state.
[ OK ] Mounted Debug File System.
systemd[1]: Mounted Debug File System.
[ OK ] Started Create static device nodes in /dev.
systemd[1]: Started Create static device nodes in /dev.
[ OK ] Mounted POSIX Message Queue File System.
systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Started Load Random Seed.
systemd[1]: Started Load Random Seed.
systemd[1]: Starting udev Kernel Device Manager...
Starting udev Kernel Device Manager...
systemd[1]: Mounting Configuration File System...
Mounting Configuration File System...
systemd[1]: Mounted FUSE Control File System.
[ OK systemd-udevd[676]: starting version 204
[0m] Started udev Kernel Device Manager.
Starting Copy rules generated while the root was ro...
[ OK ] Reached target Local File Systems (Pre).
Mounting User Runtime Directory...
Mounting Lock Directory...
[ OK ] Mounted Configuration File System.
systemd-udevd[676]: specified group 'kmem' unknown
systemd-udevd[676]: specified group 'video' unknown
[ OK ] Mounted User Runtime Directory.
[ OK ] Started Copy rules generated while the root was ro.
systemd-udevd[676]: specified group 'audio' unknown
[ OK ] Mounted Lock Directory.
[ OK ] Reached target Local File Systems.
[ OKsystemd-udevd[676]: specified group 'lp' unknown
] Reached target Remote File Systems.
systemd-udevd[676]: specified group 'disk' unknown
systemd-udevd[676]: specified group 'floppy' unknown
Starting Trigger Flushing of Journal tosystemd-udevd[676]: specified group 'cdrom' unknown
Persistent Storage...
systemd-udevd[676]: specified group 'tape' unknown
Starting Recreate Volatile Files and Directories...
systemd-tmpfiles[757]: [/usr/lib/tmpfiles.d/screen-cleanup.conf:1] Unknown group 'utmp'.
[ OK ] Started udev Coldplug all Devices.
systemd-tmpfiles[757]: [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
systemd-tmpfiles[757]: [/usr/lib/tmpfiles.d/systemd.conf:13] Unknown group 'utmp'.
systemd-tmpfiles[757]: [/usr/lib/tmpfiles.d/systemd.conf:14] Unknown group 'utmp'.
[FAILED] Failed to start Trigger Flushing of Journal to Persistent Storage.
See 'systemctl status systemd-journal-flush.service' for details.
systemd[1]: Unit systemd-journal-flush.service entered failed state.
[FAILED] Failed to start Recreate Volatile Files and Directories.
See 'systemctl status systemd-tmpfiles-setup.service' for details.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Login Service...
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting Permit User Sessions...
[ OK ] Started Permit User Sessions.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting D-Bus System Message Bus...
[FAILED] Failed to start D-Bus System Message Bus.
See 'systemctl status dbus.service' for details.
[ OK ] Found device /dev/ttyS0.
Starting Serial Getty on ttyS0...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Debian GNU/Linux jessie/sid localhost ttyS0
localhost login: root
login: PAM Failure, abortin
Debian GNU/Linux jessie/sid localhost ttyS0
localhost login: root
login: PAM Failure, abort
Debian GNU/Linux jessie/sid localhost ttyS0
localhost login: foobar
login: PAM Failure, abortin
Debian GNU/Linux jessie/sid localhost ttyS0
localhost login:
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
export LC_ALL=C LANGUAGE=C LANG=C
debconf-set-selections <<TZSEL
tzdata tzdata/Areas select US
tzdata tzdata/Areas seen true
tzdata tzdata/Zones/US select Eastern
tzdata tzdata/Zones/US seen true
TZSEL
/var/lib/dpkg/info/dash.preinst install
dpkg --configure -a
# booo! base-files?!?! what are you doing?!
rm /var/run/*
dpkg --configure -a
ln -s /proc/self/mounts /etc/mtab
echo 'root:nopenopenope' | chpasswd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment