Jump to content

Palaretri

Validating
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Palaretri got a reaction from lanefu in Can't see eMMC on BPI-P2   
    Hi all,
    I'm working with a BPI-P2 board.
    I installed the last Armbian version for BPI-M2 as the two boards are basically the same except the RJ45 connector and the eMMC.
     
    I installed it on an SD card, and everythig worked perfectly.
     
    Now I need to put the OS on the eMMC and then completely remove the SD card, but I'm struggling.
     
    The default Armbian for BPI-M2 is not intended to support eMMC, so I'm not surprised that with this version the eMMC dosn't show up.
     
    So I tried to modify the dtb and enable the eMMC nodes, and then reboot.
    Here the changes I made:
     
    mmc@1c10000 {
                reg = < 0x1c10000 0x1000 >;
                pinctrl-names = "default";
                pinctrl-0 = < 0x0d >;
                resets = < 0x03 0x08 >;
                reset-names = "ahb";
                interrupts = < 0x00 0x3d 0x04 >;
                status = "okay";
                #address-cells = < 0x01 >;
                #size-cells = < 0x00 >;
                compatible = "allwinner,sun7i-a20-mmc";
                clocks = < 0x03 0x17 0x03 0x4a 0x03 0x4c 0x03 0x4b >;
                clock-names = "ahb\0mmc\0output\0sample";
                vmmc-supply = < 0x0b >;
                vqmmc-supply = < 0x0b >;
                mmc-pwrseq = < 0x0e >;
                bus-width = < 0x04 >;
                non-removable;
                phandle = < 0x44 >;
     
                mmc2-8bit-pins {
                    pins = "PC5\0PC6\0PC8\0PC9\0PC10\0PC11\0PC12\0PC13\0PC14\0PC15\0PC16";
                    function = "mmc2";
                    drive-strength = < 0x1e >;
                    bias-pull-up;
                    allwinner,drive = < 0x03 >;
                    phandle = < 0x54 >;
                };
     
     
    Sadly this wasn't enought, and I still can't see the eMMC.
     
    I read a lot of threads, but I've not been able to find a solution.
    I guess that I have some problems with the uBoot or with the drivers not present in the kernel.
     
    I'm quite new to Linux, and I've never recompiled a kernel or a uBoot.
     
    Please, can someone help me?
     
    Thank you!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines