[Macchiato] Mainstream Linux kernel

Matteo Croce matteo at openwrt.org
Mon Apr 23 17:12:09 BST 2018


On Sun, Apr 22, 2018 at 3:57 PM, Matt Sealey <neko at bakuhatsu.net> wrote:
> As far as I recall the eMMC is on an SDHCI host that doesn’t support some
> modes so well - there isn’t any reason for it to go down to 1.8V so the
> board has a fixed 3.3V regulator sourced for the power.
>
> Quick fix for the device tree (no-1-8-v I think) might get it working. Check
> the generic SDHC bindings, there maybe a way to limit it to SDR52 mode
> (thats legacy ~’class 10’ mode) which, if it doesn’t work, means there’s
> something else horribly wrong.
>
> Alternatively it could be because the bootloader didn’t put the device back
> in a probable state.
>
> Any SDA/MMC device that can’t do SDR52 would be so woefully out of spec,
> it’s logical to try and knock it back just to see if it works at all
> simplify first finding the problem so it can be appropriately debugged.
>
> Ta,
> Matt
>
> On Fri, Apr 20, 2018 at 09:05 Duncan <dguthrie at posteo.net> wrote:
>>
>> Hi,
>>
>> Currently running mainline (with Debian Buster test image, that's 4.15
>> or something, using vendor EDKII image):
>>
>> In my experience:
>>         - Removable SD card /does/ get enumerated. The internal eMMC does
>> not
>> work currently, though (some error about 1.8V vs 3.3V). This is annoying
>> because I'd rather use the internal 8G eMMC module for the operating
>> system, then have soft-RAID on the hard drives. Perhaps this will be
>> fixed in 4.16 or later kernel.
>>         - The 2,5G SFP+ module is not working.
>>         - It won't boot from SD card. It will, however, boot from USB3
>> drive,
>> or USB3 SD card reader.
>>
>> It doesn't seem ready for production, but it is better than nothing.
>>
>> Best,
>> Duncan
>>
>> Matteo Croce:
>> > Hi,
>> >
>> > I've got my Macchiatobin double shot a week ago and playing with it
>> > since then.
>> > I succesfully configured and compiled the vendor kernel[1] but now I
>> > wish to run a mainstream one.
>> > The only tree which have the mvpp2x driver sems to be the mcbin branch
>> > of linux-arm[2] which have some issues:
>> > - I had to revert b2b6b7338be211693706ef139ef06b98d3254846 to boot
>> > - the network card fails with error "invalid phy mode"
>> > - the removable SD doesn't get enumerated.
>> > - safexcel crypto generates a SIGSEGV when used (I get eip197/ifpp.bin
>> > from Marvell extranet).
>> >
>> > What kernel tree are you using right now, and with which config?
>> >
>> > Regards,
>> >
>> > [1] branch linux-4.4.52-armada-17.10
>> > ofhttps://github.com/MarvellEmbeddedProcessors/linux-marvell
>> > [2]
>> > http://git.arm.linux.org.uk/cgit/linux-arm.git/tree/drivers/net/ethernet/marvell/mvpp2x?h=mcbin
>> >
>>
>>
>> _______________________________________________
>> Macchiato mailing list
>> Macchiato at lists.einval.com
>> https://lists.einval.com/cgi-bin/mailman/listinfo/macchiato
>
>
> _______________________________________________
> Macchiato mailing list
> Macchiato at lists.einval.com
> https://lists.einval.com/cgi-bin/mailman/listinfo/macchiato

I compiled OpenWrt from latest git and I was surprised to see that
everything works.
Ethernet, SDHCI, etc. on an almost vanilla 4.14 kernel.
I didn't follow the Macchiatobin OpenWrt port, I'm asking the author
what he did to get the board supported.

Cheers,
-- 
Matteo Croce
OpenWrt Developer

perl -e 'for($t=0;;$t++){print chr($t*($t>>8|$t>>13)&255)}' |aplay



More information about the Macchiato mailing list