Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade 3B system to compatible with 3B+ raspberry pie

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to upgrade the 3B system to be compatible with 3B + raspberry pie. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

I. Preface

The image used by raspberry pie is old and can be upgraded in three ways. One is to download and compile the upgrade locally, that is, Local build, and the other is to use cross-compilation, and the third is the simplest, which can be upgraded by entering a command.

The following is mainly about the first way.

II. Upgrade process

1. For the current kernel version, use uname-a to view

2. Use sudo apt-get install git bc to install the necessary software

3. Download the latest kernel using git clone-- depth=1 https://github.com/raspberrypi/linux

4. Use the following command for pre-compilation configuration

Cd linux

KERNEL=kernel7

Make bcm2709_defconfig

5. Make, there are three things that require make, which takes very little time, and in order to avoid errors, you can make separately.

1.make-j4 zImage

2.make-j4 modules

3.make-j4 dtbs

-6. Execute sudo make modules_install to install

-7. Use the following command to copy

1.sudo cp arch/arm/boot/dts/*.dtb / boot/

2.sudo cp arch/arm/boot/dts/overlays/*.dtb* / boot/overlays/

3.sudo cp arch/arm/boot/dts/overlays/README / boot/overlays/

4.sudo cp arch/arm/boot/zImage / boot/$KERNEL.img

8. If there is no error after performing the above steps, the kernel should be upgraded successfully after reboot.

III. Upgrade

The process of make is so old that it takes several hours to compile without the parameter-J4, and the compilation speed is significantly faster when the parameter is compiled with 4 cores at the same time. The time is as follows:

1.make-j4 zImage 34min

2.make-j4 modules 66min

3.make-j4 dtbs

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report