Elektroda.pl
Elektroda.pl
X

Search our partners

Find the latest content on electronic components. Datasheets.com
Elektroda.pl
Please add exception to AdBlock for elektroda.pl.
If you watch the ads, you support portal and users.

RPi4B, karta SD i zewnętrzna pamięć emmc po SDIO

Kiermasz 21 Jul 2020 22:12 396 0
Computer Controls
  • #1
    Kiermasz
    Level 19  
    Witajcie,
    Otóż odbiłem się od pewnego problemu.

    Mam RPi4b, postawione na raspbianie oraz skonfigurowane zgodnie z tym poradnikiem do pracy z dodatkową kartą SD po SDIO z bus width=1
    Ze zwykłymi kartami działa to doskonale - sprawdzone.
    Ponadto mam też kość THGBMBG5D1KBAIT, która jest głównym bohaterem moich zmagań. Jest też ponoć zgodna z SDIO.
    Także zainspirowany takim jak w załączonym pliku sposobem łączenia się z tymi kostkami, postanowiłem użyć RPi w roli interface.

    Ogólnie cała ta kombinacja powstała w celu zaprogramowania nowej kostki emmc na płycie TV Philips 43pff5650/T3. Jest to telewizor z dystrybucji chińskiej i nawet udało mi się zdobyć do niego firmware w 3 wersjach.
    Wydobyłem z plików bin obrazy partycji oraz adresy na jakich mają się znajdować w kostce.

    Jednak odbijam się od strasznej głupoty. Niby Rpi elegancko komunikuje się z kością, ale...
    Tu wrzucę troszkę logów z kernela:
    Spoiler:
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Booting Linux on physical CPU 0x0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Linux version 4.19.118-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1311 SMP Mon Apr 27 14:26:42 BST 2020
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] CPU: div instructions available: patching division code
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.2
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Memory policy: Data cache writealloc
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] cma: Reserved 64 MiB at 0x0000000037400000
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] On node 0 totalpages: 1012736
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] DMA zone: 1728 pages used for memmap
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] DMA zone: 0 pages reserved
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] DMA zone: 196608 pages, LIFO batch:63
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] HighMem zone: 816128 pages, LIFO batch:63
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e8 with crng_init=0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] percpu: Embedded 17 pages/cpu s36928 r8192 d24512 u69632
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] pcpu-alloc: s36928 r8192 d24512 u69632 alloc=17*4096
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1011008
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=1024 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:71:12:3F vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=5e3da3da-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles usbhid.mousepoll=0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Memory: 3932668K/4050944K available (8192K kernel code, 690K rwdata, 2420K rodata, 2048K init, 860K bss, 52740K reserved, 65536K cma-reserved, 3198976K highmem)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] Virtual kernel memory layout:
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (10208 kB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 691 kB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 861 kB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] ftrace: allocating 28928 entries in 85 pages
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] rcu: Hierarchical RCU implementation.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] GIC: Using split EOI/Deactivate mode
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000018] Switching to timer-based delay loop, resolution 18ns
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000251] Console: colour dummy device 80x30
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000275] console [tty1] enabled
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000319] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000337] pid_max: default: 32768 minimum: 301
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000607] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.000626] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.001393] CPU: Testing write buffer coherency: ok
    Jul 20 16:21:47 raspberrypi kernel: [ 0.001811] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Jul 20 16:21:47 raspberrypi kernel: [ 0.002462] Setting up static identity map for 0x200000 - 0x20003c
    Jul 20 16:21:47 raspberrypi kernel: [ 0.002622] rcu: Hierarchical SRCU implementation.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.003489] smp: Bringing up secondary CPUs ...
    Jul 20 16:21:47 raspberrypi kernel: [ 0.004305] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Jul 20 16:21:47 raspberrypi kernel: [ 0.005243] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    Jul 20 16:21:47 raspberrypi kernel: [ 0.006127] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    Jul 20 16:21:47 raspberrypi kernel: [ 0.006245] smp: Brought up 1 node, 4 CPUs
    Jul 20 16:21:47 raspberrypi kernel: [ 0.006258] SMP: Total of 4 processors activated (432.00 BogoMIPS).
    Jul 20 16:21:47 raspberrypi kernel: [ 0.006268] CPU: All CPU(s) started in HYP mode.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.006276] CPU: Virtualization extensions available.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.007063] devtmpfs: initialized
    Jul 20 16:21:47 raspberrypi kernel: [ 0.017821] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.018033] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    Jul 20 16:21:47 raspberrypi kernel: [ 0.018054] futex hash table entries: 1024 (order: 4, 65536 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.020226] pinctrl core: initialized pinctrl subsystem
    Jul 20 16:21:47 raspberrypi kernel: [ 0.021047] NET: Registered protocol family 16
    Jul 20 16:21:47 raspberrypi kernel: [ 0.024451] DMA: preallocated 1024 KiB pool for atomic coherent allocations
    Jul 20 16:21:47 raspberrypi kernel: [ 0.026052] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.026062] hw-breakpoint: maximum watchpoint size is 8 bytes.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.026251] Serial: AMBA PL011 UART driver
    Jul 20 16:21:47 raspberrypi kernel: [ 0.029233] bcm2835-mbox fe00b880.mailbox: mailbox enabled
    Jul 20 16:21:47 raspberrypi kernel: [ 0.050035] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-06-01 13:23, variant start
    Jul 20 16:21:47 raspberrypi kernel: [ 0.060049] raspberrypi-firmware soc:firmware: Firmware hash is 6379679d1ec6a8c746d7e77e015f5b56b939976f
    Jul 20 16:21:47 raspberrypi kernel: [ 0.102908] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
    Jul 20 16:21:47 raspberrypi kernel: [ 0.105909] vgaarb: loaded
    Jul 20 16:21:47 raspberrypi kernel: [ 0.106262] SCSI subsystem initialized
    Jul 20 16:21:47 raspberrypi kernel: [ 0.106457] usbcore: registered new interface driver usbfs
    Jul 20 16:21:47 raspberrypi kernel: [ 0.106507] usbcore: registered new interface driver hub
    Jul 20 16:21:47 raspberrypi kernel: [ 0.106604] usbcore: registered new device driver usb
    Jul 20 16:21:47 raspberrypi kernel: [ 0.108051] clocksource: Switched to clocksource arch_sys_counter
    Jul 20 16:21:47 raspberrypi kernel: [ 0.186259] VFS: Disk quotas dquot_6.6.0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.186339] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.186481] FS-Cache: Loaded
    Jul 20 16:21:47 raspberrypi kernel: [ 0.186661] CacheFiles: Loaded
    Jul 20 16:21:47 raspberrypi kernel: [ 0.196105] NET: Registered protocol family 2
    Jul 20 16:21:47 raspberrypi kernel: [ 0.196754] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.196779] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.196845] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.196916] TCP: Hash tables configured (established 8192 bind 8192)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.197042] UDP hash table entries: 512 (order: 2, 16384 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.197076] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.197272] NET: Registered protocol family 1
    Jul 20 16:21:47 raspberrypi kernel: [ 0.197809] RPC: Registered named UNIX socket transport module.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.197819] RPC: Registered udp transport module.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.197828] RPC: Registered tcp transport module.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.197837] RPC: Registered tcp NFSv4.1 backchannel transport module.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.197852] PCI: CLS 0 bytes, default 64
    Jul 20 16:21:47 raspberrypi kernel: [ 0.199861] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    Jul 20 16:21:47 raspberrypi kernel: [ 0.201921] Initialise system trusted keyrings
    Jul 20 16:21:47 raspberrypi kernel: [ 0.202100] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    Jul 20 16:21:47 raspberrypi kernel: [ 0.211184] FS-Cache: Netfs 'nfs' registered for caching
    Jul 20 16:21:47 raspberrypi kernel: [ 0.211699] NFS: Registering the id_resolver key type
    Jul 20 16:21:47 raspberrypi kernel: [ 0.211721] Key type id_resolver registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.211731] Key type id_legacy registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.211750] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216279] Key type asymmetric registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216290] Asymmetric key parser 'x509' registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216400] bounce: pool size: 64 pages
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216442] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216604] io scheduler noop registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216615] io scheduler deadline registered (default)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216771] io scheduler cfq registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216782] io scheduler mq-deadline registered (default)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.216792] io scheduler kyber registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.270278] brcm-pcie fd500000.pcie: dmabounce: initialised - 32768 kB, threshold 0x00000000c0000000
    Jul 20 16:21:47 raspberrypi kernel: [ 0.270297] brcm-pcie fd500000.pcie: could not get clock
    Jul 20 16:21:47 raspberrypi kernel: [ 0.270359] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
    Jul 20 16:21:47 raspberrypi kernel: [ 0.270397] brcm-pcie fd500000.pcie: MEM 0x600000000..0x603ffffff -> 0xf8000000
    Jul 20 16:21:47 raspberrypi kernel: [ 0.328083] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.328368] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
    Jul 20 16:21:47 raspberrypi kernel: [ 0.328383] pci_bus 0000:00: root bus resource [bus 00-01]
    Jul 20 16:21:47 raspberrypi kernel: [ 0.328400] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
    Jul 20 16:21:47 raspberrypi kernel: [ 0.328444] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
    Jul 20 16:21:47 raspberrypi kernel: [ 0.328584] pci 0000:00:00.0: PME# supported from D0 D3hot
    Jul 20 16:21:47 raspberrypi kernel: [ 0.331310] PCI: bus0: Fast back to back transfers disabled
    Jul 20 16:21:47 raspberrypi kernel: [ 0.331328] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    Jul 20 16:21:47 raspberrypi kernel: [ 0.331532] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
    Jul 20 16:21:47 raspberrypi kernel: [ 0.331654] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
    Jul 20 16:21:47 raspberrypi kernel: [ 0.331975] pci 0000:01:00.0: PME# supported from D0 D3cold
    Jul 20 16:21:47 raspberrypi kernel: [ 0.334689] PCI: bus1: Fast back to back transfers disabled
    Jul 20 16:21:47 raspberrypi kernel: [ 0.334705] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
    Jul 20 16:21:47 raspberrypi kernel: [ 0.334751] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
    Jul 20 16:21:47 raspberrypi kernel: [ 0.334770] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
    Jul 20 16:21:47 raspberrypi kernel: [ 0.334841] pci 0000:00:00.0: PCI bridge to [bus 01]
    Jul 20 16:21:47 raspberrypi kernel: [ 0.334858] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
    Jul 20 16:21:47 raspberrypi kernel: [ 0.335064] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.335229] pcieport 0000:00:00.0: Signaling PME with IRQ 50
    Jul 20 16:21:47 raspberrypi kernel: [ 0.335391] pcieport 0000:00:00.0: AER enabled with IRQ 50
    Jul 20 16:21:47 raspberrypi kernel: [ 0.335559] pci 0000:01:00.0: enabling device (0140 -> 0142)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.336073] bcm2708_fb soc:fb: FB found 1 display(s)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.363582] Console: switching to colour frame buffer device 160x64
    Jul 20 16:21:47 raspberrypi kernel: [ 0.370316] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1280x1024
    Jul 20 16:21:47 raspberrypi kernel: [ 0.373860] iproc-rng200 fe104000.rng: hwrng registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.374062] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.374552] vc-sm: Videocore shared memory driver
    Jul 20 16:21:47 raspberrypi kernel: [ 0.374931] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
    Jul 20 16:21:47 raspberrypi kernel: [ 0.385294] brd: module loaded
    Jul 20 16:21:47 raspberrypi kernel: [ 0.395212] loop: module loaded
    Jul 20 16:21:47 raspberrypi kernel: [ 0.395968] Loading iSCSI transport class v2.0-870.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.397677] libphy: Fixed MDIO Bus: probed
    Jul 20 16:21:47 raspberrypi kernel: [ 0.398130] bcmgenet fd580000.genet: failed to get enet clock
    Jul 20 16:21:47 raspberrypi kernel: [ 0.398146] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
    Jul 20 16:21:47 raspberrypi kernel: [ 0.398163] bcmgenet fd580000.genet: failed to get enet-wol clock
    Jul 20 16:21:47 raspberrypi kernel: [ 0.398178] bcmgenet fd580000.genet: failed to get enet-eee clock
    Jul 20 16:21:47 raspberrypi kernel: [ 0.398202] bcmgenet: Skipping UMAC reset
    Jul 20 16:21:47 raspberrypi kernel: [ 0.398452] unimac-mdio unimac-mdio.-19: DMA mask not set
    Jul 20 16:21:47 raspberrypi kernel: [ 0.418078] libphy: bcmgenet MII bus: probed
    Jul 20 16:21:47 raspberrypi kernel: [ 0.458611] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.459529] usbcore: registered new interface driver r8152
    Jul 20 16:21:47 raspberrypi kernel: [ 0.459590] usbcore: registered new interface driver lan78xx
    Jul 20 16:21:47 raspberrypi kernel: [ 0.459645] usbcore: registered new interface driver smsc95xx
    Jul 20 16:21:47 raspberrypi kernel: [ 0.459951] xhci_hcd 0000:01:00.0: xHCI Host Controller
    Jul 20 16:21:47 raspberrypi kernel: [ 0.459989] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
    Jul 20 16:21:47 raspberrypi kernel: [ 0.462498] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
    Jul 20 16:21:47 raspberrypi kernel: [ 0.462811] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 51
    Jul 20 16:21:47 raspberrypi kernel: [ 0.463686] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    Jul 20 16:21:47 raspberrypi kernel: [ 0.463700] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    Jul 20 16:21:47 raspberrypi kernel: [ 0.463712] usb usb1: Product: xHCI Host Controller
    Jul 20 16:21:47 raspberrypi kernel: [ 0.463724] usb usb1: Manufacturer: Linux 4.19.118-v7l+ xhci-hcd
    Jul 20 16:21:47 raspberrypi kernel: [ 0.463735] usb usb1: SerialNumber: 0000:01:00.0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.464261] hub 1-0:1.0: USB hub found
    Jul 20 16:21:47 raspberrypi kernel: [ 0.464341] hub 1-0:1.0: 1 port detected
    Jul 20 16:21:47 raspberrypi kernel: [ 0.464814] xhci_hcd 0000:01:00.0: xHCI Host Controller
    Jul 20 16:21:47 raspberrypi kernel: [ 0.464835] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
    Jul 20 16:21:47 raspberrypi kernel: [ 0.464860] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
    Jul 20 16:21:47 raspberrypi kernel: [ 0.465274] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    Jul 20 16:21:47 raspberrypi kernel: [ 0.465287] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    Jul 20 16:21:47 raspberrypi kernel: [ 0.465299] usb usb2: Product: xHCI Host Controller
    Jul 20 16:21:47 raspberrypi kernel: [ 0.465310] usb usb2: Manufacturer: Linux 4.19.118-v7l+ xhci-hcd
    Jul 20 16:21:47 raspberrypi kernel: [ 0.465321] usb usb2: SerialNumber: 0000:01:00.0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.465809] hub 2-0:1.0: USB hub found
    Jul 20 16:21:47 raspberrypi kernel: [ 0.465866] hub 2-0:1.0: 4 ports detected
    Jul 20 16:21:47 raspberrypi kernel: [ 0.467047] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.467220] dwc_otg: FIQ enabled
    Jul 20 16:21:47 raspberrypi kernel: [ 0.467229] dwc_otg: NAK holdoff enabled
    Jul 20 16:21:47 raspberrypi kernel: [ 0.467238] dwc_otg: FIQ split-transaction FSM enabled
    Jul 20 16:21:47 raspberrypi kernel: [ 0.467250] Module dwc_common_port init
    Jul 20 16:21:47 raspberrypi kernel: [ 0.467460] usbcore: registered new interface driver uas
    Jul 20 16:21:47 raspberrypi kernel: [ 0.467556] usbcore: registered new interface driver usb-storage
    Jul 20 16:21:47 raspberrypi kernel: [ 0.467742] mousedev: PS/2 mouse device common for all mice
    Jul 20 16:21:47 raspberrypi kernel: [ 0.468902] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
    Jul 20 16:21:47 raspberrypi kernel: [ 0.470601] sdhci: Secure Digital Host Controller Interface driver
    Jul 20 16:21:47 raspberrypi kernel: [ 0.470611] sdhci: Copyright(c) Pierre Ossman
    Jul 20 16:21:47 raspberrypi kernel: [ 0.470991] mmc-bcm2835 fe300000.mmc: could not get clk, deferring probe
    Jul 20 16:21:47 raspberrypi kernel: [ 0.471373] sdhci-pltfm: SDHCI platform and OF driver helper
    Jul 20 16:21:47 raspberrypi kernel: [ 0.474371] ledtrig-cpu: registered to indicate activity on CPUs
    Jul 20 16:21:47 raspberrypi kernel: [ 0.474513] hidraw: raw HID events driver (C) Jiri Kosina
    Jul 20 16:21:47 raspberrypi kernel: [ 0.474635] usbcore: registered new interface driver usbhid
    Jul 20 16:21:47 raspberrypi kernel: [ 0.474644] usbhid: USB HID core driver
    Jul 20 16:21:47 raspberrypi kernel: [ 0.475607] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.477451] [vc_sm_connected_init]: start
    Jul 20 16:21:47 raspberrypi kernel: [ 0.487126] [vc_sm_connected_init]: end - returning 0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.488293] Initializing XFRM netlink socket
    Jul 20 16:21:47 raspberrypi kernel: [ 0.488323] NET: Registered protocol family 17
    Jul 20 16:21:47 raspberrypi kernel: [ 0.488416] Key type dns_resolver registered
    Jul 20 16:21:47 raspberrypi kernel: [ 0.488906] Registering SWP/SWPB emulation handler
    Jul 20 16:21:47 raspberrypi kernel: [ 0.489499] registered taskstats version 1
    Jul 20 16:21:47 raspberrypi kernel: [ 0.489515] Loading compiled-in X.509 certificates
    Jul 20 16:21:47 raspberrypi kernel: [ 0.496527] uart-pl011 fe201000.serial: cts_event_workaround enabled
    Jul 20 16:21:47 raspberrypi kernel: [ 0.496592] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
    Jul 20 16:21:47 raspberrypi kernel: [ 0.501704] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
    Jul 20 16:21:47 raspberrypi kernel: [ 0.502242] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
    Jul 20 16:21:47 raspberrypi kernel: [ 0.502907] mmc-bcm2835 fe300000.mmc: mmc_debug:0 mmc_debug2:0
    Jul 20 16:21:47 raspberrypi kernel: [ 0.502919] mmc-bcm2835 fe300000.mmc: DMA channel allocated
    Jul 20 16:21:47 raspberrypi kernel: [ 0.528643] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.3
    Jul 20 16:21:47 raspberrypi kernel: [ 0.528730] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.4
    Jul 20 16:21:47 raspberrypi kernel: [ 0.560753] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
    Jul 20 16:21:47 raspberrypi kernel: [ 0.563218] of_cfs_init
    Jul 20 16:21:47 raspberrypi kernel: [ 0.563318] of_cfs_init: OK
    Jul 20 16:21:47 raspberrypi kernel: [ 0.563916] Waiting for root device PARTUUID=5e3da3da-02...
    Jul 20 16:21:47 raspberrypi kernel: [ 0.732580] mmc0: new ultra high speed DDR50 SDHC card at address 0002
    Jul 20 16:21:47 raspberrypi kernel: [ 0.733811] mmcblk0: mmc0:0002 14.9 GiB
    Jul 20 16:21:47 raspberrypi kernel: [ 0.735109] mmcblk0: p1 p2
    Jul 20 16:21:47 raspberrypi kernel: [ 0.746110] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    Jul 20 16:21:47 raspberrypi kernel: [ 0.746154] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    Jul 20 16:21:47 raspberrypi kernel: [ 0.751282] devtmpfs: mounted
    Jul 20 16:21:47 raspberrypi kernel: [ 0.758608] Freeing unused kernel memory: 2048K
    Jul 20 16:21:47 raspberrypi kernel: [ 0.788306] Run /sbin/init as init process
    Jul 20 16:21:47 raspberrypi kernel: [ 0.826555] random: fast init done
    Jul 20 16:21:47 raspberrypi kernel: [ 0.828106] usb 1-1: new high-speed USB device number 2 using xhci_hcd
    Jul 20 16:21:47 raspberrypi kernel: [ 1.010720] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
    Jul 20 16:21:47 raspberrypi kernel: [ 1.010735] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    Jul 20 16:21:47 raspberrypi kernel: [ 1.010748] usb 1-1: Product: USB2.0 Hub
    Jul 20 16:21:47 raspberrypi kernel: [ 1.012946] hub 1-1:1.0: USB hub found
    Jul 20 16:21:47 raspberrypi kernel: [ 1.013248] hub 1-1:1.0: 4 ports detected
    Jul 20 16:21:47 raspberrypi kernel: [ 1.297700] NET: Registered protocol family 10
    Jul 20 16:21:47 raspberrypi kernel: [ 1.298997] Segment Routing with IPv6
    Jul 20 16:21:47 raspberrypi kernel: [ 2.141868] random: systemd: uninitialized urandom read (16 bytes read)
    Jul 20 16:21:47 raspberrypi kernel: [ 2.172603] random: systemd: uninitialized urandom read (16 bytes read)
    Jul 20 16:21:47 raspberrypi kernel: [ 2.173365] random: systemd: uninitialized urandom read (16 bytes read)
    Jul 20 16:21:47 raspberrypi kernel: [ 2.296801] i2c /dev entries driver
    Jul 20 16:21:47 raspberrypi kernel: [ 2.756749] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    Jul 20 16:21:47 raspberrypi kernel: [ 3.462905] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
    Jul 20 16:21:47 raspberrypi kernel: [ 3.463642] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
    Jul 20 16:21:47 raspberrypi kernel: [ 3.480478] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
    Jul 20 16:21:47 raspberrypi kernel: [ 3.480883] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
    Jul 20 16:21:47 raspberrypi kernel: [ 3.482590] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
    Jul 20 16:21:47 raspberrypi kernel: [ 3.482607] [vc_sm_connected_init]: start
    Jul 20 16:21:47 raspberrypi kernel: [ 3.488778] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
    Jul 20 16:21:47 raspberrypi kernel: [ 3.496171] [vc_sm_connected_init]: installed successfully
    Jul 20 16:21:47 raspberrypi kernel: [ 3.500209] media: Linux media interface: v0.10
    Jul 20 16:21:47 raspberrypi kernel: [ 3.563860] videodev: Linux video capture interface: v2.00
    Jul 20 16:21:47 raspberrypi kernel: [ 3.590428] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    Jul 20 16:21:47 raspberrypi kernel: [ 3.594302] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    Jul 20 16:21:47 raspberrypi kernel: [ 3.610689] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
    Jul 20 16:21:47 raspberrypi kernel: [ 3.614537] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
    Jul 20 16:21:47 raspberrypi kernel: [ 3.631145] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
    Jul 20 16:21:47 raspberrypi kernel: [ 3.631181] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
    Jul 20 16:21:47 raspberrypi kernel: [ 3.641301] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
    Jul 20 16:21:47 raspberrypi kernel: [ 3.641336] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
    Jul 20 16:21:47 raspberrypi kernel: [ 3.662626] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
    Jul 20 16:21:47 raspberrypi kernel: [ 3.662660] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
    Jul 20 16:21:47 raspberrypi kernel: [ 3.946820] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
    Jul 20 16:21:47 raspberrypi kernel: [ 4.045767] bcm2835_audio soc:audio: card created with 4 channels
    Jul 20 16:21:47 raspberrypi kernel: [ 4.107443] bcm2835_audio soc:audio: card created with 4 channels
    Jul 20 16:21:47 raspberrypi kernel: [ 6.299488] random: crng init done
    Jul 20 16:21:47 raspberrypi kernel: [ 6.299504] random: 7 urandom warning(s) missed due to ratelimiting
    Jul 20 16:21:47 raspberrypi kernel: [ 6.331507] 8021q: 802.1Q VLAN Support v1.8
    Jul 20 16:21:47 raspberrypi kernel: [ 6.437623] uart-pl011 fe201000.serial: no DMA platform data
    Jul 20 16:21:47 raspberrypi kernel: [ 6.545430] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    Jul 20 16:21:47 raspberrypi kernel: [ 6.606681] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    Jul 20 16:21:47 raspberrypi kernel: [ 6.759357] bcmgenet: Skipping UMAC reset
    Jul 20 16:21:47 raspberrypi kernel: [ 6.795221] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
    Jul 20 16:21:47 raspberrypi kernel: [ 6.858331] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
    Jul 20 16:21:47 raspberrypi kernel: [ 6.858447] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    Jul 20 16:21:48 raspberrypi kernel: [ 7.928141] bcmgenet fd580000.genet eth0: Link is Down
    Jul 20 16:21:50 raspberrypi kernel: [ 9.732855] fuse init (API version 7.27)
    Jul 20 16:21:51 raspberrypi kernel: [ 11.048240] bcmgenet fd580000.genet eth0: Link is Up - 100Mbps/Full - flow control off
    Jul 20 16:21:51 raspberrypi kernel: [ 11.048261] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Jul 20 16:21:53 raspberrypi kernel: [ 13.155713] Bluetooth: Core ver 2.22
    Jul 20 16:21:53 raspberrypi kernel: [ 13.155794] NET: Registered protocol family 31
    Jul 20 16:21:53 raspberrypi kernel: [ 13.155805] Bluetooth: HCI device and connection manager initialized
    Jul 20 16:21:53 raspberrypi kernel: [ 13.155837] Bluetooth: HCI socket layer initialized
    Jul 20 16:21:53 raspberrypi kernel: [ 13.155854] Bluetooth: L2CAP socket layer initialized
    Jul 20 16:21:53 raspberrypi kernel: [ 13.155901] Bluetooth: SCO socket layer initialized
    Jul 20 16:21:53 raspberrypi kernel: [ 13.167754] Bluetooth: HCI UART driver ver 2.3
    Jul 20 16:21:53 raspberrypi kernel: [ 13.167762] Bluetooth: HCI UART protocol H4 registered
    Jul 20 16:21:53 raspberrypi kernel: [ 13.167832] Bluetooth: HCI UART protocol Three-wire (H5) registered
    Jul 20 16:21:53 raspberrypi kernel: [ 13.167963] Bluetooth: HCI UART protocol Broadcom registered
    Jul 20 16:21:54 raspberrypi kernel: [ 13.448653] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    Jul 20 16:21:54 raspberrypi kernel: [ 13.448659] Bluetooth: BNEP filters: protocol multicast
    Jul 20 16:21:54 raspberrypi kernel: [ 13.448667] Bluetooth: BNEP socket layer initialized
    Jul 20 16:21:54 raspberrypi kernel: [ 13.518814] Bluetooth: RFCOMM TTY layer initialized
    Jul 20 16:21:54 raspberrypi kernel: [ 13.518832] Bluetooth: RFCOMM socket layer initialized
    Jul 20 16:21:54 raspberrypi kernel: [ 13.518846] Bluetooth: RFCOMM ver 1.11
    Jul 20 16:24:34 raspberrypi kernel: [ 159.299830] mmc1: new high speed MMC card at address 0001
    Jul 20 16:24:34 raspberrypi kernel: [ 159.301686] mmcblk1: mmc1:0001 004GE0 3.69 GiB
    Jul 20 16:24:34 raspberrypi kernel: [ 159.302791] mmcblk1boot0: mmc1:0001 004GE0 partition 1 2.00 MiB
    Jul 20 16:24:34 raspberrypi kernel: [ 159.304003] mmcblk1boot1: mmc1:0001 004GE0 partition 2 2.00 MiB
    Jul 20 16:24:34 raspberrypi kernel: [ 159.304269] mmcblk1rpmb: mmc1:0001 004GE0 partition 3 512 KiB, chardev (246:0)
    Jul 20 16:24:07 raspberrypi kernel: [ 0.000000] Booting Linux on physical CPU 0x0


    ...RPi zwyczajnie zwisa jakiś czas po podłączeniu i wykryciu pamięci (mmcblk1*).
    Po podłączeniu do zasilania płyty z pamięcią, mogę bez pośpiechu wpisać sobie dmesg|grep mmc, widzę to co jest na końcu logu [159.304269] i za jakąś chwilkę RPi wisi.
    Zapala się zielony LED światłem ciągłym, wywala mi VNC i tak sobie wisi. Trzeba odłączyć ręcznie zasilanie, aby ożywić RPi.
    Dodam jeszcze, że odpalanie RPi z zasiloną emmc, kończy się w ten sam sposób już podczas bootowania. Zawisa ze stale zapalonym zielonym ledem.

    Załączam jeszcze mój config.txt
    Spoiler:

    # For more options and information see
    # http://rpf.io/configtxt
    # Some settings may impact device functionality. See link above for details

    # uncomment if you get no picture on HDMI for a default "safe" mode
    #hdmi_safe=1

    # uncomment this if your display has a black border of unused pixels visible
    # and your display can output without overscan
    disable_overscan=1

    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    #overscan_left=16
    #overscan_right=16
    #overscan_top=16
    #overscan_bottom=16

    # uncomment to force a console size. By default it will be display's size minus
    # overscan.
    framebuffer_width=1280
    framebuffer_height=1024

    # uncomment if hdmi display is not detected and composite is being output
    hdmi_force_hotplug=1

    # uncomment to force a specific HDMI mode (this will force VGA)
    hdmi_group=2
    hdmi_mode=85

    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes
    #hdmi_drive=2

    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display
    #config_hdmi_boost=4

    # uncomment for composite PAL
    #sdtv_mode=2

    #uncomment to overclock the arm. 700 MHz is the default.
    #arm_freq=800

    # Uncomment some or all of these to enable the optional hardware interfaces
    dtparam=i2c_arm=off
    #dtparam=i2s=on
    dtparam=spi=off

    # Uncomment this to enable infrared communication.
    #dtoverlay=gpio-ir,gpio_pin=17
    #dtoverlay=gpio-ir-tx,gpio_pin=18

    # Additional overlays and parameters are documented /boot/overlays/README

    # Enable audio (loads snd_bcm2835)
    dtparam=audio=on

    [pi4]
    # Enable DRM VC4 V3D driver on top of the dispmanx display stack
    #dtoverlay=vc4-fkms-v3d
    max_framebuffers=2
    over_voltage=3
    arm_freq=1800

    [all]
    #dtoverlay=vc4-fkms-v3d
    dtoverlay=disable-wifi
    dtoverlay=sdio,poll_once=off,bus_width=1


    Jeszcze wspomnę, że posiadam schematy płyty, oprogramowanie producenta do flashowania i instrukcję flashowania (tylko 4 plików EISP za diabła nie znalazłem i przez VGA do mmc się nie dostanę).
    Sprawdziłem też poziomy napięć VCCQ - w dokumentacji 3.3V i w rzeczywistości także.
    Procesor telewizora, oprócz tego, że zablokowałem mu kwarc, jest jeszcze fizycznie odłączony od linii kości pamięci - wylutowałem odpowiednie rezystory SMD - tak już dla pewności. Zostawiłem jedynie rezystory pull-up.

    Także moje pytanie brzmi, jak zmusić malinę, abym mógł w pełni "gadać" z tą kością? Co robię nie tak?
    Do you have a problem with Raspberry? Ask question. Visit our forum Raspberry.
  • Computer Controls