

going
Members-
Posts
781 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by going
-
Good health! I think I may misunderstand because of the translation. Please state the problem in simpler phrases and only text, and give the overlay code that does not work for you in its entirety. That's before compilation. P.S. @Artem Shakirov Artem, The problem may be inversion. It is necessary to look at how the power button should be connected on the device.
-
The most interesting thing about this is that the Armbian build system (what is in the lib folder) becomes unnecessary. Only settings and patch folders are needed. If I have OBS, then I need filling in the working directory to build packages. And only this: build> tree packages/deb-build/ packages/deb-build/ ├── htop │ └── debian │ ├── changelog │ ├── control │ ├── copyright │ ├── docs │ ├── install │ ├── rules │ ├── source │ │ └── format │ ├── upstream │ │ └── metadata │ └── watch ...... └── README.md The "watch" file contains all the necessary information to download the source code archive. One line of code is needed and the source package is ready in its expanded form. One more line of code to collect the entire collection of binary and debian source packages. Ricardo thanks for the tip.
-
The first problem is to make the source package and this must be done in the OS build environment. When there is a properly working source package, and for debian these are several files, we can send them to any service for assembly. It does not matter in principle. No one will do the manual work for us. I am talking about providing the user with tools to work on creating source packages and then assembling them in the native environment, i.e. in the OS in which the binary package will be installed. @rpardini We are talking about the process of developing a package from source texts, and not about which service to build it on. this mechanism can exist completely independently, and can be invoked independently. The build system can use some parts of it for its tasks, but not vice versa. Can we start discussing the algorithm? I'm already doing something and I've done something.
-
Hi Ricardo. This is my favorite service. Do you suggest making a package in it for Armbian?
-
Before the mechanism is implemented and moves to the assembly system, it is necessary to ask a question, and who needs it and why. If only to collect a small collection of packages for internal consumption by Armbian as the organization that distributes these packages, then this is one option. This option existed before. If we plan to give the user the opportunity to build any package in a chroot environment or natively, then this is another goal. And it involves assembling several packages for internal consumption. But as part of a more general capability. It was little used because it was hard coded to build multiple packages using configuration files. And it was always the same version of the package. Igor, you know that I have redone it a little, and it is now in the master branch collecting packages in a clean environment every time. Why is this the case? Because all the distributions I know do exactly that. The build system, by its very nature, should provide some customization options and tools for the developer's work. If this is not the case, the developer will find an alternative or redo the algorithm of the build script. There will always be poorly or not very well functioning packages that can be fixed. And for this , there must be a mechanism for building in the chroot environment. I am developing it and it is becoming more functional.
-
OrangePi3LTS i Change "console=serial". Can't interact with my OPI!
going replied to AndrewZAP1977's topic in Beginners
sudo mount /dev/mmcblk0p1 /mnt ls /mnt/boot ..... sudo nano /mnt/boot/armbianEnv.txt edit text -> bootlogo=false console=both <ctrl>&<o> - save <ctrl>&<x> - exit sudo poweroff Remove the SD card Boot -
The developers of Armbian abandoned the old mechanism, why? What is the main reason? It worked well and is working today for me. It will be very interesting for me to look at the new algorithm in a descriptive way before it is implemented programmatically.
-
Do you need an Armbian image for you? Did you take this from Ubuntu? 8 часов назад, Smartyn34 сказал: in dtb file, I now have: i2c2_ph_pins: i2c2-ph-pins { pins = "PH4","PH5"; function = "i2c2"; }; i2c@1c2b400 { compatible = "allwinner,sun8i-a83t-i2c\0allwinner,sun6i> reg = <0x1c2b400 0x400>; interrupts = <0x00 0x07 0x04>; clocks = <0x02 0x34>; resets = <0x02 0x27>; pinctrl-names = "default"; pinctrl-0 = <&i2c2_ph_pins>; status = "okay"; #address-cells = <0x01>; #size-cells = <0x00>; };
-
Two things are needed for this to work. The driver is in the kernel. UDEV rules for switching usb modeswitch. Reboot as a command on the command line or from a button? One inattentive developer made changes to the build system, but did not check other development lines and this made the uboot package broken for the record. This is fixed.
-
uboot I fixed in my branch. Fixed it in the sense that if you assemble the image then it will load. DTB for uboot or for kernel? Does dtb work for kernel? @sgjava I can probably make some changes to the dts, but I won't be able to check them. I don't have this device and this fact makes it very difficult. You can just check for EDGE to get the CLI image: ./compile.sh BUILD_ONLY="default" BUILD_MINIMAL=yes Before starting the build system, please clear the "output/debs/*" folder. In my branch, the directory structure for future package files will be slightly different.
-
If you're interested, I'm just continuing to develop this master branch here.
-
I'm sorry, @sgjava are you still doing this?
-
@yamah Thanks for the investigation.
-
I found where it can be found. please show me: igor@honeypot:/usr/src/linux-headers-6.1.15-sunxi$ find ./ -name special.h
-
I have just collected kernel packages in my sandbox, on the master branch. And installed them on a clean system. After installing the unsatisfied dependencies, the process of installing and compiling the kernel headers was successful. For the new version of the kernel build process, something is clearly wrong. The compilation process cannot find the headers. I can assume that not all dependencies are registered. Unfortunately, I can't help in this matter. I do not know who this one is special.h
-
The header package has been unpacked and I assume that the target directory has remained in place. Only compilation failed. Please check it out: cd /usr/src/linux-headers-6.1.15-sunxi/ find include/ -name elf.h find arch/ -name elf.h Please tell me, for what purpose do you use kernel headers? This is my simple curiosity.
-
Very strange. Dependencies are spelled out. This means that the packages needed to build the headers are installed. Today, @rpardini Ricardo is in charge of building kernel packages. Maybe he can clarify the situation here on the forum. Or you can open a discussion of the issue directly on github.
-
If I understand correctly, kernel headers have already been installed in your OS. Try installing only one library: sudo apt install libelf-dev And then install the headers again.
-
@IgorS I can't comment on that. Let's try to figure out what you got with the collected packages. Please publish what the team will print: dpkg --info linux-headers-current-sunxi_6.1.15-S4261-D4dc8-Pd2ed-C54bbHfe66-Bd6b8_armhf.deb
-
sudo apt install libelf-dev The full set of tools will be installed by dependencies for these three packages when they are installed. build-essential kmod debhelper devscripts
-
Overriding new kernel versions scheme
going replied to belegdol's topic in Advanced users - Development
void -
Overriding new kernel versions scheme
going replied to belegdol's topic in Advanced users - Development
Thanks for the explanation! The problem is in point 1) We have to fill in the working directory of the future package in one way or another (extract the git state, apply patches, etc.). We have to form files in the debian directory. Then only the "make" command works. All scripts for building debian packages are a kind of wrapper for this command. The version should be formed at this stage and in the manner recommended in the debian documentation. How to make the correct update when downgrading the version from the point of view of apt, it is written in the debian documentation. No brainstorming is needed for this. -
Overriding new kernel versions scheme
going replied to belegdol's topic in Advanced users - Development
I will vote with both hands for us to adhere to this policy.