Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Kernel vanilla #6852
    kelledin
    Participant

    Ah well…I’m now getting back to this. Finally picked up some SFPs and a Mikrotik switch.

    FYI the closest to mainline kernel work to get this going is on Russell King’s “mcbin” branch (based off 4.17.0), accessible here:

    http://git.armlinux.org.uk/cgit/linux-arm.git

    I pulled his changeset and forward-ported it to 4.17.10. This took a few changes, mainly to support the new mac_link_up()/mac_link_down() prototypes, plus removing his head.S changes to make the kernel bootable on my DoubleShot board. Aside from that, his current DTS changes hardcode the MAC addresses to some bogus defaults, and the end-result is not getting link-up on ANY of my eth ports. So definitely not production-ready. 🙁

    I’ll see what i can do to pitch in and help him out with this.

    in reply to: Kernel vanilla #6831
    kelledin
    Participant

    Currently I’m running vanilla 4.16.15 and have eth0-eth2 functional (at least as far as the RJ45 ports; I haven’t tried it with SFP+ modules yet, but I’ll get to that sooner or later). I know for certain you need CONFIG_MVPP2 and CONFIG_PHY_MVEBU_CP110_COMPHY enabled for the ethernet ports to show up (the COMPHY requirement is not obvious–but since it has SFP sockets, it is necessary).

    This is a little different than the last Macchiato BSP I tried; IIRC the 4.4 kernel from back then included a specialized add-on MVPP driver.

    You *might* also need CONFIG_OF_MDIO, CONFIG_MVMDIO, and CONFIG_MDIO_I2C enabled. If you like I can toss you my kernel .config, but I turned on a LOT of extra options just to see what all would build with my current compiler setup.

    in reply to: SDCARD / MMC issue? #6819
    kelledin
    Participant

    After taking the SD card, putting it in a USB reader, and booting from USB with a different SD card in the onboard slot, I see errors with the Ubuntu kernel trying to load mmc1:

    [    2.851027] mmc0: SDHCI controller on f06e0000.sdhci [f06e0000.sdhci] using ADMA 64-bit
    [    2.940555] mmc0: MAN_BKOPS_EN bit is not set
    [    2.944085] mmc0: new high speed MMC card at address 0001
    [    2.944244] mmcblk0: mmc0:0001 8GME4R 7.28 GiB
    [    2.944302] mmcblk0boot0: mmc0:0001 8GME4R partition 1 4.00 MiB
    [    2.944359] mmcblk0boot1: mmc0:0001 8GME4R partition 2 4.00 MiB
    [    2.944413] mmcblk0rpmb: mmc0:0001 8GME4R partition 3 512 KiB
    [    4.403297] xenon-sdhci f2780000.sdhci: No vmmc regulator found
    [    4.443029] mmc1: SDHCI controller on f2780000.sdhci [f2780000.sdhci] using ADMA 64-bit
    [    4.497650] mmc1: new high speed SDHC card at address aaaa
    [    4.503324] mmcblk1: mmc1:aaaa SP32G 29.7 GiB
    [    4.677618] mmcblk1: error -110 sending stop command, original cmd response 0x900, card status 0x400900
    [    4.687055] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [    4.762907] mmc1: tried to reset card
    [    4.934406] mmcblk1: error -110 sending stop command, original cmd response 0x900, card status 0x400900
    [    4.943842] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [    4.953189] mmcblk1: retrying using single block read
    [    5.126066] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [    5.135415] blk_update_request: I/O error, dev mmcblk1, sector 0
    [    5.309251] mmcblk1: error -110 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
    [    5.318599] blk_update_request: I/O error, dev mmcblk1, sector 1
    [    5.492433] mmcblk1: error -110 transferring data, sector 2, nr 6, cmd response 0x900, card status 0x0
    [    5.501781] blk_update_request: I/O error, dev mmcblk1, sector 2
    [    5.675615] mmcblk1: error -110 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
    [    5.684963] blk_update_request: I/O error, dev mmcblk1, sector 3
    [    5.858797] mmcblk1: error -110 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
    [    5.868144] blk_update_request: I/O error, dev mmcblk1, sector 4
    [    6.041986] mmcblk1: error -110 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
    [    6.051341] blk_update_request: I/O error, dev mmcblk1, sector 5
    [    6.225184] mmcblk1: error -110 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
    [    6.234534] blk_update_request: I/O error, dev mmcblk1, sector 6
    [    6.408370] mmcblk1: error -110 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
    [    6.417719] blk_update_request: I/O error, dev mmcblk1, sector 7
    [    6.423753] Buffer I/O error on dev mmcblk1, logical block 0, async page read
    [    6.598753] mmcblk1: error -110 sending stop command, original cmd response 0x900, card status 0x400900
    [    6.608189] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [    6.617535] mmcblk1: retrying using single block read
    [    6.790410] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [    6.799758] blk_update_request: I/O error, dev mmcblk1, sector 0
    [    6.973592] mmcblk1: error -110 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
    [    6.982941] blk_update_request: I/O error, dev mmcblk1, sector 1
    [    7.156775] mmcblk1: error -110 transferring data, sector 2, nr 6, cmd response 0x900, card status 0x0
    [    7.333926] mmcblk1: error -110 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
    [    7.511076] mmcblk1: error -110 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
    [    7.688225] mmcblk1: error -110 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
    [    7.865374] mmcblk1: error -110 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
    [    8.042522] mmcblk1: error -110 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
    [    8.051871] Buffer I/O error on dev mmcblk1, logical block 0, async page read
    [    8.059044]  mmcblk1: unable to read partition table
    [   10.369835] mmcblk1: error -110 sending stop command, original cmd response 0x900, card status 0x400900
    [   10.369842] mmcblk1: error -110 transferring data, sector 62333824, nr 8, cmd response 0x900, card status 0x0
    [   10.379914] mmcblk1: retrying using single block read
    [   10.547758] mmcblk1: error -110 transferring data, sector 62333824, nr 8, cmd response 0x900, card status 0x0
    [   10.557791] blk_update_request: I/O error, dev mmcblk1, sector 62333824
    [   10.725796] mmcblk1: error -110 transferring data, sector 62333825, nr 7, cmd response 0x900, card status 0x0
    [   10.736179] blk_update_request: I/O error, dev mmcblk1, sector 62333825
    [   10.912040] mmcblk1: error -110 transferring data, sector 62333826, nr 6, cmd response 0x900, card status 0x0
    [   10.922023] blk_update_request: I/O error, dev mmcblk1, sector 62333826
    [   11.096513] mmcblk1: error -110 transferring data, sector 62333827, nr 5, cmd response 0x900, card status 0x0
    [   11.106610] blk_update_request: I/O error, dev mmcblk1, sector 62333827
    [   11.281095] mmcblk1: error -110 transferring data, sector 62333828, nr 4, cmd response 0x900, card status 0x0
    [   11.291062] blk_update_request: I/O error, dev mmcblk1, sector 62333828
    [   11.465517] mmcblk1: error -110 transferring data, sector 62333829, nr 3, cmd response 0x900, card status 0x0
    [   11.475478] blk_update_request: I/O error, dev mmcblk1, sector 62333829
    [   11.649927] mmcblk1: error -110 transferring data, sector 62333830, nr 2, cmd response 0x900, card status 0x0
    [   11.659888] blk_update_request: I/O error, dev mmcblk1, sector 62333830
    [   11.834338] mmcblk1: error -110 transferring data, sector 62333831, nr 1, cmd response 0x900, card status 0x0
    [   11.844299] blk_update_request: I/O error, dev mmcblk1, sector 62333831
    [   12.018839] mmcblk1: error -110 sending stop command, original cmd response 0x900, card status 0x400900
    [   12.018842] mmcblk1: error -110 transferring data, sector 62333824, nr 8, cmd response 0x900, card status 0x0
    [   12.028808] mmcblk1: retrying using single block read
    [   12.196616] mmcblk1: error -110 transferring data, sector 62333824, nr 8, cmd response 0x900, card status 0x0
    [   12.206579] blk_update_request: I/O error, dev mmcblk1, sector 62333824
    [   12.381032] mmcblk1: error -110 transferring data, sector 62333825, nr 7, cmd response 0x900, card status 0x0
    [   12.390992] blk_update_request: I/O error, dev mmcblk1, sector 62333825
    [   12.565504] mmcblk1: error -110 transferring data, sector 62333826, nr 6, cmd response 0x900, card status 0x0
    [   12.743270] mmcblk1: error -110 transferring data, sector 62333827, nr 5, cmd response 0x900, card status 0x0
    [   12.921037] mmcblk1: error -110 transferring data, sector 62333828, nr 4, cmd response 0x900, card status 0x0
    [   13.098802] mmcblk1: error -110 transferring data, sector 62333829, nr 3, cmd response 0x900, card status 0x0
    [   13.276572] mmcblk1: error -110 transferring data, sector 62333830, nr 2, cmd response 0x900, card status 0x0
    [   13.454339] mmcblk1: error -110 transferring data, sector 62333831, nr 1, cmd response 0x900, card status 0x0
    [   13.464302] Buffer I/O error on dev mmcblk1, logical block 7791728, async page read
    
    in reply to: SDCARD / MMC issue? #6818
    kelledin
    Participant

    I’m in a similar spot, with a DoubleShot I received just yesterday:

    BootROM - 2.03
    Starting CP-0 IOROM 1.07
    Booting from SD 0 (0x29)
    Found valid image at boot postion 0x000
    lNOTICE:  Starting binary extension
    NOTICE:  SVC: SW Revision 0x0. SVC is not supported
    mv_ddr: mv_ddr-armada-17.10.3-g656440a (Jan 30 2018 - 08:26:37)
    mv_ddr: completed successfully
    NOTICE:  Cold boot
    NOTICE:  Booting Trusted Firmware
    NOTICE:  BL1: v1.3(release):armada-17.10.3:71dd56e
    NOTICE:  BL1: Built : 08:26:42, Jan 30 2018
    NOTICE:  BL1: Booting BL2
    lNOTICE:  BL2: v1.3(release):armada-17.10.3:71dd56e
    NOTICE:  BL2: Built : 08:26:44, Jan 30 2018
    BL2: Initiating SCP_BL2 transfer to SCP
    NOTICE:  SCP_BL2 contains 2 concatenated images
    NOTICE:  Load image to CP1 MSS
    NOTICE:  Loading MSS image from address 0x4023020 Size 0x1378 to MSS at 0xf4280000
    NOTICE:  Done
    NOTICE:  Load image to AP MSS
    NOTICE:  Loading MSS image from address 0x4024398 Size 0x1f68 to MSS at 0xf0580000
    N
    
    FreeRTOS 7.3.0 - Marvell cm3 - A8K release armada-17.10.1
    
    OTICE:  Done
    NOTICE:  SCP Image doesn't contain PM firmware
    NOTICE:  BL1: Booting BL31
    lNOTICE:  MSS PM is not supported in this build
    NOTICE:  BL31: v1.3(release):armada-17.10.3:71dd56e
    NOTICE:  BL31: Built : 08:26:46, Jan 30 2018
    l
    
    U-Boot 2017.03-armada-17.10.1-g9e422a2-dirty (Jan 30 2018 - 08:25:55 +0000)
    
    Model: MACCHIATOBin-8040
    Clock:  CPU     2000 [MHz]
            DDR     1050 [MHz]
            FABRIC  1050 [MHz]
            MSS     200  [MHz]
    DRAM:  16 GiB
    U-Boot DT blob at : 000000007f70ac38
    EEPROM configuration pattern not detected.
    Comphy chip #0:
    Comphy-0: PEX0
    Comphy-1: PEX0
    Comphy-2: PEX0
    Comphy-3: PEX0
    Comphy-4: SFI
    Comphy-5: SATA1
    Comphy chip #1:
    Comphy-0: SGMII1        1.25 Gbps
    Comphy-1: SATA0
    Comphy-2: USB3_HOST0
    Comphy-3: SATA1
    Comphy-4: SFI
    Comphy-5: SGMII2        3.125 Gbps
    UTMI PHY 0 initialized to USB Host0
    going to start mss_periodic_ihb_wa for mss
    SATA link 0 timeout.
    SATA link 1 timeout.
    AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
    flags: 64bit ncq led only pmp fbss pio slum part sxs
    SATA link 0 timeout.
    SATA link 1 timeout.
    AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
    flags: 64bit ncq led only pmp fbss pio slum part sxs
    PCIE-0: Link down
    MMC:   sdhci@6e0000: 0, sdhci@780000: 1
    sdhci_transfer_data: Error detected in status(0x108000)!
    mmc_init: -110, time 5460
    MMC Device 1 not found
    *** Warning - No MMC card found, using default environment
    
    Net:   eth0: mvpp2-0 [PRIME]mdio_register: non unique device name 'ethernet@0'
    , eth1: mvpp2-3, eth2: mvpp2-4, eth3: mvpp2-5
    Hit any key to stop autoboot:  0
    sdhci_transfer_data: Error detected in status(0x108000)!
    mmc_init: -110, time 5443
    MMC Device 1 not found
    no mmc device at slot 1
    sdhci_transfer_data: Error detected in status(0x108000)!
    mmc_init: -110, time 5443
    ** Bad device mmc 1 **
    sdhci_transfer_data: Error detected in status(0x108000)!
    mmc_init: -110, time 5443
    ** Bad device mmc 1 **
    Bad Linux ARM64 Image magic!
    Marvell>>
    

    This is with the raw Ubuntu image installed via dd. Considering that the board seems to at least pull u-boot files off the SD card, this doesn’t seem like a hardware issue…

Viewing 4 posts - 1 through 4 (of 4 total)

Technical specification tables can not be displayed on mobile. Please view on desktop