rework of the BPi-M2-Zero patches #957
Conversation
You can do it now. Just move to DEV branch. Anyway 4.17-4.18 will be the most of Allwinner and DEV is less problematic in a 1st place. U-boot is already set to 2018.03 |
|
I'll have a look into it the next days.. Seems that my buildmachine doesn't want to build u-boot (my dev branch is 4 commits behind development --> something important to pull for u-boot 2018?) My new u-boot patch applies without a failure but build crashes: from a quick view over the u-boot 2018.3 dts files, this patch might not need much adjustments (pinctrl is still used in this u-boot version). Or do I miss something which has changed in u-boot 2018, which is new? The kernelpatch gets more or less obsolete (the only thing needed is a '47-06-bpi-m2-enable-dvfs-zero.patch' for the sy8113b node cause the board is mainlined in the 4.17 Kernel). At least, the current u-boot patch: https://github.com/armbian/build/blob/development/patch/u-boot/u-boot-sunxi-dev/add-bananapi-bpi-m2-zero.patch Edit: found it... That's why u-boot didn't want to build.. :P seems there's an issue related to boot.env (see serial bootlog) but the Image boot without issues (without any kernelpatch): |
I don't have any troubles. 2017.03 builds on clean "development" branch source on my host.
Check this: |
This relates to u-boot 2018, where
added, see: 1a96ead |
|
@ThomasKaiser Do you still have concerns about the the reworked patches? From the discussion in #954:
Both of my OPi0 are at the moment in use and when possible I would like to leave them up. I don't think that this patches can affect any other board, but in case we define this as a must (providing a bootlog of a board of the same family) I can shutdown one of them in the evening. 653d6cd should be merged anyway, this fixes e small mistake made for the nanopi m1 plus 2. |
|
For the future, I would propose that CSC boards get their patch subdirectory and patches remain there by default. This way they can't break others and we can leave them as is until somebody fixes that. I don't have other complaints. |
rework of the BPi-M2-Zero patches
Next attempt. :) @zador-blood-stained hint did the trick. The new patches should satisfy you hopefully more.
Changes:
CONFIG_MMC0_CD_PIN=""was added to defconfig to allow the board boot without an ugly hackWhy it isn't perfect?
This patch will need a rework as soon as we move to 4.17 kernel for the following reasons:
(this trolled me when I tried to use the 4.17 dts directly cause wifi will not work without them and it tooks me some builds to figure that out)
Why it satisfy me
The patches touching only BPi-M2-Zero files (+ Makefiles):
therefore, chances are low that this will ever break boards we officially support.
uboot:
kernel:
Why the second commit?
During this clean-up I found a small mistake in the u-boot dts makefile which is related to the add-nanopi-m1-plus2-emmc.patch (dts instead of dtb), I fixed this one too, but have no chance to test if this makes a difference (doesn't have the board). Armbians 'create patch' rearranged this patch so that it looks ugly on the github changes but the only change (to my knowledge) is replacing a dts to a dtb in the makefile. :P
The text was updated successfully, but these errors were encountered: