Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Last active January 24, 2020 00:36
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 cleverca22/9234a03c3abace0db8884dea8ad01f75 to your computer and use it in GitHub Desktop.
Save cleverca22/9234a03c3abace0db8884dea8ad01f75 to your computer and use it in GitHub Desktop.
[clever@system76:~/apps/rpi-open-firmware]$ nix-build -A vc4.firmware && scp result/bootcode.bin root@router.localnet:/tftproot/open-firmware/ && uart-manager
/nix/store/6lf06xiby8n4n318iszxdrdksahp3p9n-firmware-vc4-elf
agent key RSA SHA256:Xn2yZ3FAQeRqcF7EDiXsPtiuptNLzEAxtOo1DRDzhDM returned incorrect signature type
bootcode.bin 100% 120KB 29.8MB/s 00:00
pre-pll hello
CM_UARTCTL is 0x00000291
CM_UARTDIV is 0x00003900
Booting Raspberry Pi....
Copyright 2016-2017 rpi-open-firmware authors
BUILDATE : Jan 1 1970 00:00:01
__cxx_init: calling 6 static constructors (0x0xe5c0 - 0x0xe5d8) ...
5.039429 BCM2708UsbPhy::registerDriver(): driver registered on platform IO plane
5.046713 BCM2708ArmControl::registerDriver(): driver registered on platform IO plane
5.054346 BCM2708PLLB::init(): PLLB VCO registered
5.058943 BCM2708PLLB::registerDriver(): driver registered on platform IO plane
5.066058 BCM2708Gpio::registerDriver(): driver registered on platform IO plane
5.073169 [SDRAM:sdram_init]: (0) SD_CS = 0x794200
5.077774 [SDRAM:switch_to_cprman_clock]: switching sdram to cprman clock (src=1, div=1), waiting for busy (0x4091) ...
5.088349 [SDRAM:switch_to_cprman_clock]: busy set, switch complete!
5.094510 [SDRAM:reset_phy]: reset_phy: resetting SDRAM PHY ...
5.100297 [SDRAM:reset_phy]: reset_phy: resetting DPHY CTRL ...
5.105957 [SDRAM:reset_phy_dll]: resetting aphy and dphy dlls ...
5.111856 [SDRAM:reset_phy_dll]: waiting for dphy master dll to lock ...
5.118362 [SDRAM:reset_phy_dll]: dphy master dll locked!
5.123480 [SDRAM:sdram_init]: waiting for SDUP (210E42) ...
5.128858 [SDRAM:sdram_init]: SDRAM controller has arrived! (218E42)
5.135026 [SDRAM:calibrate_pvt_early]: DPHY_CSR_DQ_PAD_DRV_SLEW_CTRL = 0x223
5.141869 [SDRAM:calibrate_pvt_early]: waiting for address PVT calibration ...
5.148895 [SDRAM:calibrate_pvt_early]: waiting for data PVT calibration ...
5.155662 [SDRAM:calibrate_pvt_early]: waiting for SDRAM calibration command ...
5.162877 [SDRAM:sdram_init]: SDRAM Type: Elpida 1GB LPDDR2 (BC=0x58)
5.169107 [SDRAM:reset_with_timing]: waiting for SDRAM controller to go down (210E4A) ...
5.177087 [SDRAM:reset_with_timing]: SDRAM controller down!
5.182468 [SDRAM:reset_with_timing]: SDRAM clock disabled!
5.187756 [SDRAM:reset_with_timing]: waiting for master ddr pll to lock ...
5.194522 [SDRAM:reset_with_timing]: master ddr pll locked!
5.199903 [SDRAM:reset_with_timing]: SDRAM Addressing Mode: Bank=3 Row=3 Col=3 SB=0xFF
5.207621 [SDRAM:reset_phy_dll]: resetting aphy and dphy dlls ...
5.213519 [SDRAM:reset_phy_dll]: waiting for dphy master dll to lock ...
5.220025 [SDRAM:reset_phy_dll]: dphy master dll locked!
5.225142 [SDRAM:reset_with_timing]: waiting for address dll to lock ...
5.231648 [SDRAM:reset_with_timing]: address dll locked!
5.236766 [SDRAM:selftest]: Starting self test ...
5.241364 [SDRAM:selftest_at]: Testing region at 0xC0000000 ...
5.247841 [SDRAM:selftest_at]: Testing region at 0xCFF00000 ...
5.253565 [SDRAM:selftest_at]: Testing region at 0xDFF00000 ...
5.259290 [SDRAM:selftest_at]: Testing region at 0xEFF00000 ...
5.265015 [SDRAM:selftest_at]: Testing region at 0xFFF00000 ...
5.270740 [SDRAM:selftest]: Self test successful!
SDRAM initialization completed successfully!
GPIO00 IN HIGH | HIGH IN GPIO32
GPIO01 IN HIGH | HIGH IN GPIO33
GPIO02 ALT0 HIGH | LOW IN GPIO34
GPIO03 ALT0 HIGH | HIGH IN GPIO35
GPIO04 ALT0 LOW | HIGH IN GPIO36
GPIO05 IN HIGH | HIGH IN GPIO37
GPIO06 IN HIGH | HIGH IN GPIO38
GPIO07 IN HIGH | HIGH IN GPIO39
GPIO08 IN HIGH | LOW IN GPIO40
GPIO09 IN LOW | LOW IN GPIO41
GPIO10 IN LOW | HIGH ALT0 GPIO42
GPIO11 IN LOW | LOW IN GPIO43
GPIO12 IN LOW | HIGH IN GPIO44
GPIO13 IN LOW | HIGH IN GPIO45
GPIO14 ALT0 HIGH | HIGH IN GPIO46
GPIO15 ALT0 HIGH | HIGH IN GPIO47
GPIO16 IN LOW | LOW IN GPIO48
GPIO17 IN LOW | LOW IN GPIO49
GPIO18 IN LOW | LOW IN GPIO50
GPIO19 IN LOW | LOW IN GPIO51
GPIO20 IN LOW | LOW IN GPIO52
GPIO21 IN LOW | LOW IN GPIO53
GPIO22 IN LOW | LOW IN GPIO54
GPIO23 IN LOW | LOW IN GPIO55
GPIO24 IN LOW | LOW IN GPIO56
GPIO25 IN LOW | LOW IN GPIO57
GPIO26 IN LOW | LOW IN GPIO58
GPIO27 IN LOW | LOW IN GPIO59
GPIO28 IN LOW | LOW IN GPIO60
GPIO29 OUT HIGH | LOW IN GPIO61
GPIO30 IN LOW | LOW IN GPIO62
GPIO31 IN LOW | LOW IN GPIO63
5.381368 BCM2708ArmControl::start(): starting ...
5.386327 BCM2708ArmControl::loadInitialCode(): copied 61512 bytes to 0xC0000000!
5.405916 BCM2708ArmControl::start(): original memstart: 0xEA000040
5.410546 BCM2708ArmControl::start(): mapped peripherals VC 0x7E000000 to ARM 0x3F000000
5.418425 BCM2708ArmControl::start(): ARM ID: 0x364D5241 C0: 0x0
5.424237 BCM2708ArmControl::printregs(): C0: 0 C1: 200
5.429268 BCM2708ArmControl::printregs(): C0: a04b C1: 200
5.434559 BCM2708ArmControl::printregs(): C0: a04b C1: 300
5.439851 BCM2708ArmControl::start(): using C0: 0xA04B
5.444795 BCM2708ArmControl::printregs(): C0: a04b C1: 300
5.450086 BCM2708ArmControl::setupClock(): initializing PLLB ...
5.455911 BCM2708PLLB::setDigValues(): setting DIG values for this VCO ...
5.462611 BCM2708ArmControl::setupClock(): KAIP = 0x228
5.467700 BCM2708ArmControl::setupClock(): MULTI = 0x613277
5.473073 BCM2708ArmControl::setupClock(): ARM clock succesfully initialized!
5.480013 BCM2708ArmControl::printregs(): C0: a04b C1: 300
5.485304 BCM2708PowerDomainARM::start(): starting ...
5.490249 BCM2708PowerDomainARM::powerOn(): powering on (rstnMask=0xFFFFFFBF) ...
5.497551 BCM2708PowerDomainARM::beginPowerUpSequence(): starting power up sequence ...
5.505342 BCM2708PowerDomainARM::waitForPOWOK(): waiting for POWOK ...
5.511676 BCM2708PowerDomainARM::waitForPOWOK(): got POWOK with CFG=0x0
5.518093 BCM2708PowerDomainARM::completePowerUpSequence(): waiting for MRDONE ...
5.525467 BCM2708PowerDomainARM::powerOn(): domain powered on succesfully
5.532059 BCM2708PowerDomainARM::start(): started
5.536570 BCM2708ArmControl::printregs(): C0: a04b C1: 300
5.541861 BCM2708ArmControl::bridgeStart(): setting up async bridge ...
5.548280 BCM2708PowerDomainARM::setReset(): setting RSTN bits to 0x40 ...
5.555260 BCM2708ArmControl::bridgeCycleBresp(): cycling through bresp bits ...
5.564242 BCM2708PowerDomainARM::setReset(): setting RSTN bits to 0x40 ...
5.570067 BCM2708ArmControl::bridgeStart(): starting async bridge now!
5.576098 BCM2708ArmControl::bridgeStart(): bridge init done, PM_PROC is now: 0x107F!
5.583431 BCM2708ArmControl::printregs(): C0: a053 C1: 100
5.588722 BCM2708ArmControl::printregs(): C0: a053 C1: 100
Starting IPC monitor ...
5.605808 [BRINGUP:main]: Started on ARM, continuing boot from here ...
5.610768 [BRINGUP:main]: Firmware data: SDRAM_SIZE=0, VPU_CPUID=0x4000140
5.617448 [BRINGUP:main]: cortex A53, rpi 3
5.621437 [BRINGUP:main]: Security extensions are supported! but NS bit set
5.628203 [BRINGUP:main]: Execution mode: Supervisor
5.632975 [BRINGUP:main]: CPSR: 600001d3
5.636704 [BRINGUP:heap_init]: Initializing heap at 0x24000 with size 0x1048576
__cxx_init: calling 5 static constructors (0xF000 - 0xF014) ...
5.649467 BCM2708Gpio::registerDriver(): driver registered on platform IO plane
5.656575 [EMMC:restart_controller]: hcfg 0xE, cdiv 0x0, edm 0x8C01, hsts 0x0
5.663508 [EMMC:restart_controller]: Restarting the eMMC controller ...
5.669950 [EMMC:configure_pinmux]: waiting for pinmux pull update ...
5.676675 [EMMC:configure_pinmux]: waiting for pinmux clock update ...
5.683007 [EMMC:configure_pinmux]: ok ...
5.686322 [EMMC:configure_pinmux]: pinmux configured for aux0
5.691873 [EMMC:reset]: resetting controller ...
5.697781 [EMMC:query_voltage_and_type]: waiting for SD (0xff8000) ...
5.703073 [EMMC:query_voltage_and_type]: SD card has arrived!
5.708207 [EMMC:identify_card]: identifying card ...
5.713410 [EMMC:identify_card]: RCA = 0x1234
5.717658 [EMMC:init_card]: Detected SD card:
Product : SA02G
CSD : Ver 1.0
Capacity: 1943552
Size : 3795
BlockLen: 0x400
5.730748 [EMMC:init_card]: Setting block length to 512 ...
5.736119 [EMMC:init_card]: Card initialization complete: SA02G 1898MB SD Card
5.742988 [EMMC:init_card]: Identification complete, changing clock to 25MHz for data mode ...
5.751850 [EMMC:read_block]: ERROR: transfer error on FIFO word 113: 0x21
5.760389 [EMMC:BCM2708SDHost]: eMMC driver sucessfully started!
[MBRDISK:read_mbr]: Reading master boot record ...
[MBRDISK:read_mbr]: MBR contents:
0: FAT32-INT13 at:2048 size:131072
1: Linux (ext2/ext3) at:133120 size:3753984
2: <Unknown> at:0 size:0
3: <Unknown> at:0 size:0
[MBRDISK:MbrImpl]: Disk ready!
[LDR:LoaderImpl]: Mounting boot partitiion ...
[MBRDISK:disk_initialize]: Mounting FAT partition 0 of type 0xc
[LDR:LoaderImpl]: Boot partition mounted!
[LDR:read_file]: zImage: reading 5191424 bytes to 0x2000000 (allocated=0) ...
5069 kbyte copied at a rate of 411 kbytes/second
[LDR:LoaderImpl]: zImage loaded at 0x2000000
[LDR:read_file]: initrd: reading 7665997 bytes to 0x4000000 (allocated=0) ...
7486 kbyte copied at a rate of 400 kbytes/second
[LDR:read_file]: cmdline.txt: reading 136 bytes to 0x24E90 (allocated=1) ...
0 kbyte copied at a rate of 18 kbytes/second
[LDR:LoaderImpl]: kernel cmdline: print-fatal-signals=1 console=ttyAMA0,115200 earlyprintk loglevel=7 root=/dev/mmcblk0p2 printk.devkmsg=on boot.trace boot.shell_on_fail
[LDR:read_file]: rpi.dtb: reading 5553 bytes to 0xF000000 (allocated=0) ...
5 kbyte copied at a rate of 248 kbytes/second
[LDR:load_fdt]: FDT loaded at F000000, size is 5553
[LDR:load_fdt]: (valid) fdt loaded at 0xF000000
[LDR:LoaderImpl]: Flushing....
37.066307 [EMMC:stop]: flushing fifo ...
37.068582 [EMMC:stop]: asking card to enter idle state ...
37.074534 [EMMC:stop]: stopping sdhost controller driver ...
37.079338 [EMMC:stop]: powering down controller ...
37.084023 [EMMC:stop]: resetting state machine ...
[LDR:LoaderImpl]: Jumping to the Linux kernel...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.89-v7+ (clever@system76) (gcc version 8.3.0 (GCC)) #143 SMP Thu Jan 23 19:18:39 AST 2020
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B rev 1.2, with open firmware
[ 0.000000] OF: fdt: search "chosen", depth: 0, uname:
[ 0.000000] OF: fdt: search "chosen", depth: 1, uname: aliases
[ 0.000000] OF: fdt: search "chosen", depth: 1, uname: chosen
[ 0.000000] OF: fdt: Looking for initrd properties...
[ 0.000000] OF: fdt: initrd_start=0x4000000 initrd_end=0x474f94d
[ 0.000000] OF: fdt: Command line is: print-fatal-signals=1 console=ttyAMA0,115200 earlyprintk loglevel=7 root=/dev/mmcblk0p2 printk.devkmsg=on boot.trace boot.shell_on_fail
[ 0.000000]
[ 0.000000] OF: fdt: dt_root_size_cells = 1
[ 0.000000] OF: fdt: dt_root_addr_cells = 1
[ 0.000000] OF: fdt: memory scan node memory, reg size 8,
[ 0.000000] OF: fdt: - 100 , fffff00
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] random: get_random_bytes called from start_kernel+0xb0/0x4b4 with crng_init=0
[ 0.000000] percpu: Embedded 16 pages/cpu s35340 r8192 d22004 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64959
[ 0.000000] Kernel command line: print-fatal-signals=1 console=ttyAMA0,115200 earlyprintk loglevel=7 root=/dev/mmcblk0p2 printk.devkmsg=on boot.trace boot.shell_on_fail
[ 0.000000]
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 238384K/262140K available (7168K kernel code, 669K rwdata, 2260K rodata, 1024K init, 690K bss, 23756K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0x90800000 - 0xff800000 (1776 MB)
[ 0.000000] lowmem : 0x80000000 - 0x90000000 ( 256 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (8160 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 670 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 691 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 25662 entries in 76 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.008107] Switching to timer-based delay loop, resolution 52ns
[ 0.014421] Console: colour dummy device 80x30
[ 0.018955] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.029449] pid_max: default: 32768 minimum: 301
[ 0.034505] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.041221] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.049333] CPU: Testing write buffer coherency: ok
[ 0.054663] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.061170] Setting up static identity map for 0x100000 - 0x10003c
[ 0.067630] rcu: Hierarchical SRCU implementation.
[ 0.075130] smp: Bringing up secondary CPUs ...
[ 0.079742] smp: Brought up 1 node, 1 CPU
[ 0.083800] SMP: Total of 1 processors activated (38.40 BogoMIPS).
[ 0.090068] CPU: All CPU(s) started in SVC mode.
[ 0.095406] devtmpfs: initialized
[ 0.108378] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.118389] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.124762] pinctrl core: initialized pinctrl subsystem
[ 0.131056] NET: Registered protocol family 16
[ 0.136377] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.150048] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.158169] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.164205] Serial: AMBA PL011 UART driver
[ 0.170118] bcm2835_pll_on pllc 1120
[ 0.173738] powered down
[ 0.176298] reset
[ 0.178273] bcm2835_pll_on pllh 1160
[ 0.181915] powered down
[ 0.184475] reset
[ 0.188980] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.195484] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.204461] pl011_console_setup
[ 0.207678] console [ttyAMA0] enabled
[ 0.207678] console [ttyAMA0] enabled
[ 0.215031] bootconsole [earlycon0] disabled
[ 0.215031] bootconsole [earlycon0] disabled
[ 0.264201] bcm2835-dma 3f007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[ 0.274124] SCSI subsystem initialized
[ 0.278155] usbcore: registered new interface driver usbfs
[ 0.283707] usbcore: registered new interface driver hub
[ 0.289167] usbcore: registered new device driver usb
[ 0.295972] clocksource: Switched to clocksource arch_sys_counter
[ 0.384841] VFS: Disk quotas dquot_6.6.0
[ 0.388887] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.396081] FS-Cache: Loaded
[ 0.399178] CacheFiles: Loaded
[ 0.413303] NET: Registered protocol family 2
[ 0.418562] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.426328] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.433325] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.439857] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.446358] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.452219] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.458868] NET: Registered protocol family 1
[ 0.463878] RPC: Registered named UNIX socket transport module.
[ 0.469824] RPC: Registered udp transport module.
[ 0.474526] RPC: Registered tcp transport module.
[ 0.479249] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.486044] Trying to unpack rootfs image as initramfs...
[ 1.266715] Freeing initrd memory: 7488K
[ 1.274916] Initialise system trusted keyrings
[ 1.279747] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 1.298565] FS-Cache: Netfs 'nfs' registered for caching
[ 1.304550] NFS: Registering the id_resolver key type
[ 1.309684] Key type id_resolver registered
[ 1.313866] Key type id_legacy registered
[ 1.317910] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.327112] Key type asymmetric registered
[ 1.331212] Asymmetric key parser 'x509' registered
[ 1.336253] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 1.343816] io scheduler noop registered
[ 1.347818] io scheduler deadline registered
[ 1.352350] io scheduler cfq registered (default)
[ 1.357144] io scheduler mq-deadline registered
[ 1.361673] io scheduler kyber registered
[ 1.367964] bcm2835-aux-uart 3f215040.serial: could not get clk: -2
[ 1.374249] bcm2835-aux-uart: probe of 3f215040.serial failed with error -2
[ 1.382291] vc-mem: phys_addr:0x00000000 mem_base=0x00000000 mem_size:0x00000000(0 MiB)
[ 1.403767] brd: module loaded
[ 1.417818] loop: module loaded
[ 1.421115] Loading iSCSI transport class v2.0-870.
[ 1.426607] iscsi: registered transport (tcp)
[ 1.431260] libphy: Fixed MDIO Bus: probed
[ 1.435475] usbcore: registered new interface driver lan78xx
[ 1.441265] usbcore: registered new interface driver smsc95xx
[ 1.447048] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.452947] dwc_otg 3f980000.usb: base=(ptrval)
[ 1.657701] Core Release: 2.80a
[ 1.660846] Setting default values for core params
[ 1.665654] Finished setting default values for core params
[ 1.871608] Using Buffer DMA mode
[ 1.874924] Periodic Transfer Interrupt Enhancement - disabled
[ 1.880772] Multiprocessor Interrupt Enhancement - disabled
[ 1.886362] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.890720] Dedicated Tx FIFOs mode
[ 1.894410] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = 908f9000 dma = 0xc4104000 len=9024
[ 1.904103] FIQ FSM acceleration enabled for :
[ 1.904103] Non-periodic Split Transactions
[ 1.904103] Periodic Split Transactions
[ 1.904103] High-Speed Isochronous Endpoints
[ 1.904103] Interrupt/Control Split Transaction hack enabled
[ 1.926490] WARN::hcd_init_fiq:457: FIQ on core 0
[ 1.931196] WARN::hcd_init_fiq:458: FIQ ASM at 806017dc length 36
[ 1.937290] WARN::hcd_init_fiq:497: MPHI regs_base at 90810000
[ 1.943150] dwc_otg 3f980000.usb: DWC OTG Controller
[ 1.948163] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 1.955500] dwc_otg 3f980000.usb: irq 56, io mem 0x00000000
[ 1.961135] Init: Port Power? op_state=1
[ 1.965055] Init: Power Port (0)
[ 1.968577] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 1.976867] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.984089] usb usb1: Product: DWC OTG Controller
[ 1.988815] usb usb1: Manufacturer: Linux 4.19.89-v7+ dwc_otg_hcd
[ 1.994908] usb usb1: SerialNumber: 3f980000.usb
[ 2.000258] hub 1-0:1.0: USB hub found
[ 2.004056] hub 1-0:1.0: 1 port detected
[ 2.009208] usbcore: registered new interface driver usb-storage
[ 2.015449] mousedev: PS/2 mouse device common for all mice
[ 2.021060] i2c /dev entries driver
[ 2.024805] bcm2835_i2c_probe(8f9d3e00)
[ 2.029321] device fully configured 8f9d3e00 0
[ 2.033871] bcm2835_i2c_probe(8f9e0400)
[ 2.038311] device fully configured 8f9e0400 0
[ 2.042854] bcm2835_i2c_probe(8f9e0600)
[ 2.047256] device fully configured 8f9e0600 0
[ 2.052338] sdhci: Secure Digital Host Controller Interface driver
[ 2.058540] sdhci: Copyright(c) Pierre Ossman
[ 2.063383] sdhost: log_buf @ (ptrval) (c4115000)
[ 2.068250] mmc0: unable to initialise DMA channel. Falling back to PIO
[ 2.120151] mmc0: sdhost-bcm2835 loaded - DMA disabled
[ 2.145522] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[ 2.152682] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.158500] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.164598] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.171500] usbcore: registered new interface driver usbhid
[ 2.177093] usbhid: USB HID core driver
[ 2.181530] Initializing XFRM netlink socket
[ 2.186045] NET: Registered protocol family 17
[ 2.190630] Key type dns_resolver registered
[ 2.195494] Registering SWP/SWPB emulation handler
[ 2.204506] registered taskstats version 1
[ 2.208646] Loading compiled-in X.509 certificates
[ 2.218512] of_cfs_init
[ 2.221755] of_cfs_init: OK
[ 2.224879] pl011_hwinit
[ 2.227626] Indeed it is in host mode hprt0 = 00021501
[ 2.293092] uart-pl011 3f201000.serial: no DMA platform data
[ 2.301715] mmc0: error -84 whilst initialising SD card
[ 2.314381] Freeing unused kernel memory: 1024K
[ 2.319370] Run /init as init process
+ echo
+ echo '<<< NixOS Stage 1 >>> 2.343192] random: fast init done
m'
<<< NixOS Stage 1 >>>
+ echo
+ mkdir -p /etc/udev
+ touch /etc/fstab
+ ln -s /proc/mounts /etc/mtab
+ touch /etc/udev/hwdb.bin
+ touch /etc/initrd-release
[ 2.414324] mmc0: host does not support reading read-only switch, assuming write-enable
+ source /nix/store/iiawvqkx23pg6c7yf0f5j0mdcq4czwk1-mounts.sh
+ s[ 2.436569] mmc0: new high speed SD card at address 1234
pecialMount devtmpfs /dev 'nosuid,strictatime,mode=755,size=5%' devtmpfs
+ local 'device=devtmpfs'
+ local 'mountPoint[ 2.452078] mmcblk0: mmc0:1234 SA02G 1.85 GiB
=/dev'
+ local 'options=nosuid,strictatime,mode=755,size=5%'
+ local 'fsType=devtmpfs'
+ mkdir -m 0755 -p /dev
+ mount -n -t devtmpfs -o 'nosuid,strictatime,mode=755,size=5%' devtmpfs /dev
+ specialMount devpts /dev/pts 'nosuid,noexec,mode=620[ 2.477843] mmcblk0: p1 p2
,ptmxmode=0666,gid=3' devpts
+ local 'device=devpts'
+ local '[ 2.486129] usb 1-1: new high-speed USB device number 2 using dwc_otg
mountPoint=/dev/[ 2.494173] Indeed it is in host mode hprt0 = 00001101
pts'
+ local 'options=nosuid,noexec,mode=620,ptmxmode=0666,gid=3'
+ local 'fsType=devpts'
+ mkdir -m 0755 -p /dev/pts
+ mount -n -t devpts -o 'nosuid,noexec,mode=620,ptmxmode=0666,gid=3' devpts /dev/pts
+ specialMount tmpfs /dev/shm 'nosuid,nodev,strictatime,mode=1777,size=50%' tmpfs
+ local 'device=tmpfs'
+ local 'mountPoint=/dev/shm'
+ local 'options=nosuid,nodev,strictatime,mode=1777,size=50%'
+ local 'fsType=tmpfs'
+ mkdir -m 0755 -p /dev/shm
+ mount -n -t tmpfs -o 'nosuid,nodev,strictatime,mode=1777,size=50%' tmpfs /dev/shm
+ specialMount proc /proc nosuid,noexec,nodev proc
+ local 'device=proc'
+ local 'mountPoint=/proc'
+ local 'options=nosuid,noexec,nodev'
+ local 'fsType=proc'
+ mkdir -m 0755 -p /proc
+ mount -n -t proc -o nosuid,noexec,nodev proc /proc
+ specialMount tmpfs /run 'nosuid,nodev,strictatime,mode=755,size=25%' tmpfs
+ local 'device=tmpfs'
+ local 'mountPoint=/run'
+ local 'options=nosuid,nodev,strictatime,mode=755,size=25%'
+ local 'fsType=tmpfs'
+ mkdir -m 0755 -p /run
+ mount -n -t tmpfs -o 'nosuid,nodev,strictatime,mode=755,size=25%' tmpfs /run
+ specialMount ramfs /run/keys 'nosuid,nodev,mode=750,gid=96' ramfs
+ local 'device=ramfs'
+ local 'mountPoint=/run/keys'
+ local 'options=nosuid,nodev,mode=750,gid=96'
+ local 'fsType=ramfs'
+ mkdir -m 0755 -p /run/keys
+ mount -n -t ramfs -o 'nosuid,nodev,mode=750,gid=96' ramfs /run/keys
+ specialMount tmpfs /run/wrappers nodev tmpfs
+ local 'device=tmpfs'
+ local 'mountPoint=/run/wrappers'
+ local 'options=nodev'
+ local 'fsType=tmpfs'
+ mkdir -m 0755 -p /run/wrappers
+ mount -n -t tmpfs -o nodev tmpfs /run/wrappers
+ specialMount sysfs /sys nosuid,noexec,nodev sysfs
+ local 'device=sysfs'
+ local 'mountPoint=/sys'
+ local 'options=nosuid,noexec,nodev'
+ local 'fsType=sysfs'
+ mkdir -m 0755 -p /sys
+ mount -n -t sysfs -o nosuid,noexec,nodev sysfs /sys
+ mkdir -p /tmp
+ mkfifo /tmp/stage-1-init.log.fifo
+ logOutFd=8
+ logErrFd=9
+ eval 'exec 8>&1 9>&2'
+ exec
+ test -w /dev/kmsg
+ read -r line
+ exec
+ tee -i /proc/self/fd/8
+ test -n '+ export '"'"'stage2Init=/init'"'"
+ echo '<7>stage-1-init: + export '"'"'stage2Init=/init'"'"
+ read -r line
+ test -n '+ cat /proc/cmdline'
+ echo '<7>stage-1-init: + cat /proc/cmdline'
+ read[ 2.746367] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
-r line
+ expo[ 2.755881] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
rt 'stage2Init=/init'
+ cat /proc/cmdline
+ IFS='='
+ test -n '+ IFS='"'"'='"'"
+ echo '<7>stage-1-init: + IFS='"'"'='"'"
+ read -r line
+ echo root /dev/mmcblk0p2
+ test -n '+ echo root /dev/mmcblk0p2'
+ echo '<7>stage-1-init: + echo root /dev/mmcblk0p2'
+ read -r line
+ set -- root /dev/mmcblk0p2
[ 2.806759] hub 1-1:1.0: USB hub found
[ 2.810615] hub 1-1:1.0: 5 ports detected
[ 3.155994] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.316263] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 3.324616] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.358649] smsc95xx v1.0.6
[ 3.467391] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, 6e:72:80:a5:18:37
105.381368 VPU Received interrupt from source 64
IC0_VADDR 0x07400740
sleep interrupted!
[ 130.545880] random: crng init done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment