0
niccodemi

Bananapi M1 not booting after update

Recommended Posts

I am running Debian 9 on Bananapi M1 with custom built image. Board has SD-card detect pin broken that's why I patched sun7i-a20-bananapi.dts with below changes

 

&mmc0 {
    pinctrl-names = "default";
    pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bananapi>;
    vmmc-supply = <&reg_vcc3v3>;
    bus-width = <4>;
    broken-cd;
    cd-inverted;
    status = "okay";
};

 

Everything works fine until I upgrade any or all of below three packages:

linux-dtb-next-sunxi     linux-image-next-sunxi    linux-u-boot-bananapi-next

 

The upgrade goes through fine but after rebooting the system I can only enter Emergency (maintenance) mode.

 

How can I resolve this issue? Or should I just keep these packages on hold?

Share this post


Link to post
Share on other sites
2 hours ago, niccodemi said:
 

Everything works fine until I upgrade any or all of below three packages:

linux-dtb-next-sunxi     linux-image-next-sunxi    linux-u-boot-bananapi-next

The upgrade goes through fine but after rebooting the system I can only enter Emergency (maintenance) mode.

How can I resolve this issue? Or should I just keep these packages on hold?

the problem with these 3 packages is that they will break your patched DTS (which will be compiled in a DTB) - and without your patch the SD-Dtecttion-Pin change isnt anymore and it couldnt boot.

 

So you could set these packages on hold (freeze kernel in armbian-config) or if you need a newer system - then compile with a armbian-bild-system a new image with your patch included.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0