Raspberry Pi 3 B v1.2 not working

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Raspberry Pi 3 B v1.2 not working

Postby weltio » Thu Mar 12, 2020 12:48 pm

Hi, i basically followed the guide: https://archlinuxarm.org/platforms/armv ... berry-pi-3
And: https://gist.github.com/gea0/4fc2be0cb7 ... 2aed710d38

But:
It doesnt work :D

On one sd card I just used the initial guide (no encryption) - but that thing does nothing. No green led, no uart output (same for arm7 version)

On another sd card I did the following:

Raspi log (green led blinks twice repeatedly):

$this->bbcode_second_pass_code('', 'Raspberry Pi Bootcode

Found SD card, config.txt = 1, start.elf = 1, recovery.elf = 0, timeout = 0
Read File: config.txt, 14 (bytes)




Raspberry Pi Bootcode
Read File: config.txt, 14
Read File: start.elf, 2884452 (bytes)
Read File: fixup.dat, 6745 (bytes)
MESS:00:00:00.999824:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.003943:0: brfs: File read: 14 bytes
MESS:00:00:01.018617:0: HDMI:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.024684:0: HDMI:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.030929:0: HDMI:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.037178:0: HDMI:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.043429:0: HDMI:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.049678:0: HDMI:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.055929:0: HDMI:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.062178:0: HDMI:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.068429:0: HDMI:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.074678:0: HDMI:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.080692:0: HDMI:EDID giving up on reading EDID block 0
MESS:00:00:01.085980:0: HDMI:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.093169:0: HDMI:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.099418:0: HDMI:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.105669:0: HDMI:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.111918:0: HDMI:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.118169:0: HDMI:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.124419:0: HDMI:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.130668:0: HDMI:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.136919:0: HDMI:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.143169:0: HDMI:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.149182:0: HDMI:EDID giving up on reading EDID block 0
MESS:00:00:01.168091:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.172215:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:01.376956:0: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
MESS:00:00:01.384383:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:01.390405:0: *** Restart logging
MESS:00:00:01.394294:0: brfs: File read: 14 bytes
MESS:00:00:01.399540:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.406731:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.413497:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.420268:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.427039:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.433810:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.440580:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.447351:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.454122:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.460893:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.467427:0: hdmi: HDMI:EDID giving up on reading EDID block 0
MESS:00:00:01.473246:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.480945:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.487716:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.494487:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.501258:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.508029:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.514799:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.521570:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.528341:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.535112:0: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.541646:0: hdmi: HDMI:EDID giving up on reading EDID block 0
MESS:00:00:01.547433:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:01.555926:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:01.570483:0: Failed to load Device Tree file '?'
MESS:00:00:01.574635:0: Failed to open command line file 'cmdline.txt'
MESS:00:00:01.614085:0: brfs: File read: /mfs/sd/kernel8.img
MESS:00:00:01.618048:0: Loading 'kernel8.img' to 0x80000 size 0x77df0
MESS:00:00:01.624249:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:01.632650:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:01.639125:0: uart: Baud rate change done...
MESS:00:00:01.642555:0: uart: Baud raterlrl��n�nn���LL�b�rLbb��n����LLLbLL��������LbLBrnl��n�LB���`rlB���lL��Ll�B�`�2���Lln��n�`b2���bL`r�l`��r�np�B���b�|npb�r�LL`p�n�b�n�L�|bB�nn|������n�����|�bb�l�l̒B�n��n�Lb�p���`��`pL��2nn����p��L�|bB�nn|��rlrlb�n�|B2n�nl~���B��b���nn|~�n�`BBB��b���nn|~�n�`|���B�lnL��n�B�n₞��~��|��|L`���B��b�n�L��2`|�bbl��l��r2�nn��n��p�r��~B�br����bbb�L��2`�br��`�|b��~��|��rl�|2�nn��n�L��B��~B�|��n|��br����bbb�l��n|��br��`�|b��~��|��rl`2n�L�n��r2�~�|��nL����np~�n����```L�```L`��b��n�~2B��b��b�nn|��b�lbrlr�np�Ln|�p�BB��|���br��rl��p�nn��n�Ln�r���bbbl�n��n�L�r�`~�n��|B2n���bp~�n�|�|B�`����p₞r�|2��LnnLLn|b|��|L�bbB�b|bL`�L�ಜ���2nn��|B2n��L����L`�̎������p₞r�|2��LnnLL��Ln|b��bpLl�B�b|bL`�LL���p₞r�|2��LnnL�Ln|b|̎Ll�B�b|bL`�LLLL��LL��p₞r�|2��Lnn��Ln|b��b|Ll�B�b|bL`���p2�����|���br�������pp�npL����L`�`~�n�b�n�L��2nn��`�������pp�npL��B���L`L��2nn��br������Lnn�n�r��L����bL�|����̎���L`rl�2�B��b�n��rB�n�n�bbblrl[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.5.8-1-ARCH (builduser@leming) (gcc version 9.2.0 (GCC)) #1 SMP Tue Mar 10 01:45:36 UTC 2020
[ 0.000000] Machine model: Raspberry Pi 3 Model B
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 64 MiB at 0x0000000037400000
[ 0.000000] percpu: Embedded 30 pages/cpu s85912 r8192 d28776 u122880
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 238896
[ 0.000000] Kernel command line: earlyprintk console=ttyS1,115200 console=tty0 cryptdevice=UUID=893228f7-4ce4-4b20-a57c-2024bfae2b6a:root root=UUID=d9912191-bda8-405f-bb8f-63d5a73b918d rw rootwait smsc95xx.macaddr=b8:27:eb:16:48:00 loglevel=7
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 837492K/970752K available (14780K kernel code, 2800K rwdata, 7404K rodata, 1984K init, 836K bss, 67724K reserved, 65536K cma-reserved)
[ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x80/0x150 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 52415 entries in 205 pages
[ 0.000000] ftrace: allocated 205 pages with 5 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000286] Console: colour dummy device 80x25
[ 0.000650] printk: console [tty0] enabled
[ 0.000705] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000736] pid_max: default: 32768 minimum: 301
[ 0.000992] LSM: Security Framework initializing
[ 0.001024] Yama: becoming mindful.
[ 0.001141] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.001182] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.001283] *** VALIDATE tmpfs ***
[ 0.002005] *** VALIDATE proc ***
[ 0.002341] *** VALIDATE cgroup1 ***
[ 0.002361] *** VALIDATE cgroup2 ***
[ 0.003441] ASID allocator initialised with 32768 entries
[ 0.003579] rcu: Hierarchical SRCU implementation.
[ 0.007244] EFI services will not be available.
[ 0.007816] smp: Bringing up secondary CPUs ...
[ 0.008452] Detected VIPT I-cache on CPU1
[ 0.008517] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.009320] Detected VIPT I-cache on CPU2
[ 0.009363] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.010183] Detected VIPT I-cache on CPU3
[ 0.010222] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.010345] smp: Brought up 1 node, 4 CPUs
[ 0.010385] SMP: Total of 4 processors activated.
[ 0.010402] CPU features: detected: 32-bit EL0 Support
[ 0.010419] CPU features: detected: CRC32 instructions
[ 0.010979] CPU: All CPU(s) started at EL2
[ 0.011017] alternatives: patching kernel code
[ 0.013241] devtmpfs: initialized
[ 0.021041] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.021093] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.024318] pinctrl core: initialized pinctrl subsystem
[ 0.025482] thermal_sys: Registered thermal governor 'fair_share'
[ 0.025487] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.025511] thermal_sys: Registered thermal governor 'step_wise'
[ 0.025529] thermal_sys: Registered thermal governor 'user_space'
[ 0.025545] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.025846] DMI not present or invalid.
[ 0.026428] NET: Registered protocol family 16
[ 0.030880] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.030966] audit: initializing netlink subsys (disabled)
[ 0.031185] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[ 0.032444] cpuidle: using governor ladder
[ 0.032482] cpuidle: using governor menu
[ 0.033069] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.034130] Serial: AMBA PL011 UART driver
[ 0.057947] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.057983] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.058003] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.058023] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 2.190082] cryptd: max_cpu_qlen set to 1000
[ 2.228917] ACPI: Interpreter disabled.
[ 2.229886] iommu: Default domain type: Translated
[ 2.230271] vgaarb: loaded
[ 2.231372] SCSI subsystem initialized
[ 2.231959] usbcore: registered new interface driver usbfs
[ 2.232034] usbcore: registered new interface driver hub
[ 2.232146] usbcore: registered new device driver usb
[ 2.232400] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[ 2.233081] pps_core: LinuxPPS API ver. 1 registered
[ 2.233099] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.233137] PTP clock support registered
[ 2.233414] EDAC MC: Ver: 3.0.0
[ 2.234564] Advanced Linux Sound Architecture Driver Initialized.
[ 2.235236] NetLabel: Initializing
[ 2.235253] NetLabel: domain hash size = 128
[ 2.235267] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 2.235359] NetLabel: unlabeled traffic allowed by default
[ 2.235979] clocksource: Switched to clocksource arch_sys_counter
[ 3.822911] *** VALIDATE bpf ***
[ 3.823322] VFS: Disk quotas dquot_6.6.0
[ 3.823422] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 3.823549] *** VALIDATE ramfs ***
[ 3.823584] *** VALIDATE hugetlbfs ***
[ 3.824020] simple-framebuffer 3eaf0000.framebuffer: framebuffer at 0x3eaf0000, 0x10a800 bytes, mapped to 0x(____ptrval____)
[ 3.824054] simple-framebuffer 3eaf0000.framebuffer: format=a8r8g8b8, mode=656x416x32, linelength=2624
[ 3.831047] Console: switching to colour frame buffer device 82x26
[ 3.837328] simple-framebuffer 3eaf0000.framebuffer: fb0: simplefb registered!
[ 3.841129] pnp: PnP ACPI: disabled
[ 3.853229] NET: Registered protocol family 2
[ 3.857495] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 3.864632] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 3.872174] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 3.876412] TCP: Hash tables configured (established 8192 bind 8192)
[ 3.880688] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 3.884833] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 3.889321] NET: Registered protocol family 1
[ 3.894152] RPC: Registered named UNIX socket transport module.
[ 3.898342] RPC: Registered udp transport module.
[ 3.902382] RPC: Registered tcp transport module.
[ 3.906433] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 3.910439] PCI: CLS 0 bytes, default 64
[ 3.914503] Trying to unpack rootfs image as initramfs...
[ 5.305676] Freeing initrd memory: 19448K
[ 5.310749] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 5.318379] kvm [1]: IPA Size Limit: 40bits
[ 5.323606] kvm [1]: Hyp mode initialized successfully
[ 5.701999] Initialise system trusted keyrings
[ 5.705879] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 5.718387] zbud: loaded
[ 5.724919] NFS: Registering the id_resolver key type
[ 5.728446] Key type id_resolver registered
[ 5.731763] Key type id_legacy registered
[ 5.734953] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 5.738471] SGI XFS with ACLs, security attributes, quota, no debug enabled
[ 5.743855] *** VALIDATE xfs ***
[ 5.781636] NET: Registered protocol family 38
[ 5.784877] Key type asymmetric registered
[ 5.788090] Asymmetric key parser 'x509' registered
[ 5.791474] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[ 5.798468] io scheduler mq-deadline registered
[ 5.801880] io scheduler kyber registered
[ 5.805449] io scheduler bfq registered
[ 5.817793] IPMI message handler: version 39.2
[ 5.833933] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 5.839520] printk: console [ttyS1] disabled
[ 5.842795] 3f215040.serial: ttyS1 at MMIO 0x0 (irq = 61, base_baud = 31250000) is a 16550
[ 6.686805] printk: console [ttyS1] enabled
[ 6.695627] msm_serial: driver initialized
[ 6.704829] bcm2835-rng 3f104000.rng: hwrng registered
[ 6.714442] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 6.725093] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 6.740205] libphy: Fixed MDIO Bus: probed
[ 6.750147] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.760219] ehci-pci: EHCI PCI platform driver
[ 6.768201] ehci-platform: EHCI generic platform driver
[ 6.777061] ehci-orion: EHCI orion driver
[ 6.784585] tegra-ehci: Tegra EHCI driver
[ 6.791991] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.801529] ohci-pci: OHCI PCI platform driver
[ 6.809304] ohci-platform: OHCI generic platform driver
[ 6.818034] uhci_hcd: USB Universal Host Controller Interface driver
[ 6.828638] usbcore: registered new interface driver uas
[ 6.837550] usbcore: registered new interface driver usb-storage
[ 6.847047] usbcore: registered new interface driver ums-alauda
[ 6.856328] usbcore: registered new interface driver ums-cypress
[ 6.865529] usbcore: registered new interface driver ums-datafab
[ 6.874559] usbcore: registered new interface driver ums_eneub6250
[ 6.883687] usbcore: registered new interface driver ums-freecom
[ 6.892578] usbcore: registered new interface driver ums-isd200
[ 6.901269] usbcore: registered new interface driver ums-jumpshot
[ 6.910024] usbcore: registered new interface driver ums-karma
[ 6.918336] usbcore: registered new interface driver ums-onetouch
[ 6.926773] usbcore: registered new interface driver ums-realtek
[ 6.934950] usbcore: registered new interface driver ums-sddr09
[ 6.942924] usbcore: registered new interface driver ums-sddr55
[ 6.950813] usbcore: registered new interface driver ums-usbat
[ 6.958587] usbcore: registered new interface driver usbserial_generic
[ 6.966994] usbserial: USB Serial support registered for generic
[ 6.976547] mousedev: PS/2 mouse device common for all mice
[ 6.987963] device-mapper: uevent: version 1.0.3
[ 6.994746] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[ 7.008235] sdhci: Secure Digital Host Controller Interface driver
[ 7.016522] sdhci: Copyright(c) Pierre Ossman
[ 7.023710] Synopsys Designware Multimedia Card Interface Driver
[ 7.131478] sdhost-bcm2835 3f202000.mmc: loaded - DMA enabled (>1)
[ 7.140270] sdhci-pltfm: SDHCI platform and OF driver helper
[ 7.150622] ledtrig-cpu: registered to indicate activity on CPUs
[ 7.160271] hid: raw HID events driver (C) Jiri Kosina
[ 7.168373] usbcore: registered new interface driver usbhid
[ 7.176830] usbhid: USB HID core driver
[ 7.184793] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 7.197820] drop_monitor: Initializing network drop monitor service
[ 7.207984] Initializing XFRM netlink socket
[ 7.216457] NET: Registered protocol family 10
[ 7.257177] mmc0: host does not support reading read-only switch, assuming write-enable
[ 7.274398] mmc0: new high speed SDHC card at address 59b4
[ 7.284748] mmcblk0: mmc0:59b4 USD 14.7 GiB
[ 7.292566] Segment Routing with IPv6
[ 7.295846] mmcblk0: p1 p2
[ 7.300424] mip6: Mobile IPv6
[ 7.313004] NET: Registered protocol family 17
[ 7.321078] Key type dns_resolver registered
[ 7.329496] registered taskstats version 1
[ 7.336832] Loading compiled-in X.509 certificates
[ 7.344962] zswap: loaded using pool lzo/zbud
[ 7.352707] Key type ._fscrypt registered
[ 7.359811] Key type .fscrypt registered
[ 7.394852] Key type big_key registered
[ 7.424416] Key type encrypted registered
[ 7.437261] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 66, base_baud = 0) is a PL011 rev2
[ 7.452332] serial serial0: tty port ttyAMA0 registered
[ 7.468316] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-03-06 18:38
[ 7.483708] raspberrypi-clk raspberrypi-clk: CPU frequency range: min 600000000, max 1200000000
[ 7.515034] dwc2 3f980000.usb: 3f980000.usb supply vusb_d not found, using dummy regulator
[ 7.526837] dwc2 3f980000.usb: 3f980000.usb supply vusb_a not found, using dummy regulator
[ 7.590200] dwc2 3f980000.usb: DWC OTG Controller
[ 7.596966] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[ 7.606015] dwc2 3f980000.usb: irq 41, io mem 0x3f980000
[ 7.613396] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
[ 7.625597] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.634969] usb usb1: Product: DWC OTG Controller
[ 7.641791] usb usb1: Manufacturer: Linux 5.5.8-1-ARCH dwc2_hsotg
[ 7.650084] usb usb1: SerialNumber: 3f980000.usb
[ 7.657215] hub 1-0:1.0: USB hub found
[ 7.663085] hub 1-0:1.0: 1 port detected
[ 7.671985] sdhci-iproc 3f300000.sdhci: allocated mmc-pwrseq
[ 7.711568] mmc1: SDHCI controller on 3f300000.sdhci [3f300000.sdhci] using PIO
[ 7.724151] hctosys: unable to open rtc device (rtc0)
[ 7.731565] ALSA device list:
[ 7.736537] No soundcards found.
[ 7.737511] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 7.750849] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 7.754354] Freeing unused kernel memory: 1984K
[ 7.759860] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 7.764524] Run /init as init process
[ 7.774612] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 7.839540] random: fast init done
[ 7.869163] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 7.891062] usbcore: registered new interface driver smsc95xx
[ 7.902358] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[ 7.919529] mmc1: new high speed SDIO card at address 0001
[ 7.958222] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 8.105995] usb 1-1: new high-speed USB device number 2 using dwc2
[ 8.112174] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 8.122676] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 8.135305] cfg80211: failed to load regulatory.db
[ 8.146471] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[ 8.146486] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 8.147419] hub 1-1:1.0: USB hub found
[ 8.174332] hub 1-1:1.0: 5 ports detected
[ 8.174564] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 8.174761] usbcore: registered new interface driver brcmfmac
[ 8.175852] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt failed with error -2
[ 8.175898] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2
[ 8.486055] usb 1-1.1: new high-speed USB device number 3 using dwc2
[ 8.526755] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 8.539616] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 8.553067] smsc95xx v1.0.6
[ 8.661517] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:16:48:00
[ 8.732392] random: cryptsetup: uninitialized urandom read (4 bytes read)
[ 8.764884] random: cryptsetup: uninitialized urandom read (4 bytes read)
[ 9.194937] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 9.959783] random: crng init done
')

I followed the initial guide, qemu'ed into it and installed the neccessary packages.
The goal is to get full disk encryption with tinyssh unlock over wifi working.

First, it would be enough to get the password prompt (there are some artifacts for the ssh solution in the following config files)

NB: There is some weird output after "MESS:00:00:01.639125:0: uart: Baud rate change done..." - is the baud rate changed in that part??! Why?!

blkid
$this->bbcode_second_pass_code('', '
blkid /dev/sdc2 /dev/mapper/rpi
/dev/sdc2: UUID="893228f7-4ce4-4b20-a57c-2024bfae2b6a" TYPE="crypto_LUKS" PARTUUID="3d9dfa19-02"
/dev/mapper/rpi: UUID="d9912191-bda8-405f-bb8f-63d5a73b918d" BLOCK_SIZE="4096" TYPE="ext4"
')

fstab
$this->bbcode_second_pass_code('', '
/dev/mmcblk0p1 /boot vfat defaults 0 0
UUID=d9912191-bda8-405f-bb8f-63d5a73b918d / ext4 defaults,noatime 0 1
')


crypttab
$this->bbcode_second_pass_code('', '
root UUID=893228f7-4ce4-4b20-a57c-2024bfae2b6a /dev/... luks,keyfile-timeout=10
')

mkinitcpio.conf
$this->bbcode_second_pass_code('', '
MODULES=(dm_crypt dm_mod ext4 g_cdc usb_f_acm usb_f_ecm smsc95xx g_ether brcmfmac)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect modconf block encrypt filesystems keyboard fsck)
')


boot.txt
$this->bbcode_second_pass_code('', '
setenv bootargs earlyprintk console=ttyS1,115200 console=tty0 cryptdevice=UUID=893228f7-4ce4-4b20-a57c-2024bfae2b6a:root root=UUID=d9912191-bda8-405f-bb8f-63d5a73b918d rw rootwait smsc95xx.macaddr="${usbethaddr} loglevel=7"

if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /Image; then
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /initramfs-linux.img; then
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
booti ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi
')

Is the raspi or the image broken?!
How can I boot it?!
weltio
 
Posts: 4
Joined: Sun Apr 02, 2017 5:52 pm

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 28 guests

cron