Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Allwinner D1



> > 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

Here are the complete diff files against -current:
https://github.com/picohive/netbsd-mangopi-mq-pro

The boot log:
https://github.com/picohive/netbsd-mangopi-mq-pro/blob/main/boot.log

-rxg



Home | Main Index | Thread Index | Old Index