Port-RISCV archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Allwinner D1
On Mon, Jul 22, 2024 at 08:32:42AM +0100, Nick Hudson wrote:
> On 21/07/2024 10:37, Rui-Xiang Guo wrote:
> > On Sun, Jul 14, 2024 at 07:09:06AM +0000, John Klos wrote:
> > > Very nice! I bought one of these and look forward to running NetBSD on it.
> > > Happy to test.
> >
> > It's coming soon. :)
> > Now I have trouble with attaching sunximmc which is from arm/sunxi/sunxi_mmc.c:
> [snip]
>
> are you diffs and dts file available somewhere to view?
Just add sun20i_d1_mmc_config for an initial test:
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/sunxi/sunxi_mmc.c,v
retrieving revision 1.48
diff -r1.48 sunxi_mmc.c
247a248,256
> static const struct sunxi_mmc_config sun20i_d1_mmc_config = {
> .idma_xferlen = 0x10000,
> .dma_ftrglevel = 0x20070008,
> .delays = NULL,
> .flags = SUNXI_MMC_FLAG_CALIB_REG |
> SUNXI_MMC_FLAG_NEW_TIMINGS |
> SUNXI_MMC_FLAG_MASK_DATA0,
> };
>
292a302,303
> { .compat = "allwinner,sun20i-d1-mmc",
> .data = &sun20i_d1_mmc_config },
And the dts files can be fetched from:
https://github.com/smaeul/u-boot/tree/d1-2022-10-31/arch/riscv/dts
-rxg
Home |
Main Index |
Thread Index |
Old Index