2.
Watchdog is generally a hardware module. Its function is to automatically restart the system for you in many embedded operating systems where the system runs for a long time without anyone watching over it. Therefore, it is inevitable or feared that the system will freeze.
So how does it achieve this function? Then we need to briefly explain its implementation principle.
The logic of the watchdog hardware is that it has a record timeout function, and then requires the user to perform certain operations on it at regular intervals (this time can be configured according to your needs), such as writing some fixed values into it, commonly known as "feeding the dog", then I find that the timeout has occurred, that is, you have not fed me after such a long time, then I will think that your system is frozen and there is a problem, and I will help you restart the system. To put it simply, it is like getting a watchdog dog, you have to feed it regularly, if you do not feed it within the timeout, then the dog will think that you, its owner, your system, is frozen, and it will help you reset the system.
3.
After understanding the principle of watchdog, this problem is easy to understand.
If you do not disable the watchdog, you will have to write a separate program to "feed the dog" regularly, which is so troublesome and boring.
After all, we are only using uboot to initialize the necessary hardware and system resources here, and we don't need the watchdog mechanism at all. If you need to use it, it's because your Linux kernel is running, which is your system's concern, and has nothing to do with my uboot, so you must turn off the watchdog (reset function) here.
Previous article:Why does arm9 need to change the system clock when it is powered on?
Next article:Compile the linux-3.0.1 kernel with arm-linux-gcc.4.3.2 cross compiler
Recommended ReadingLatest update time:2024-11-15 13:26
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Three steps to govern hybrid multicloud environments
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Consulting on segment LCD issues
- Oscilloscope measurement of automotive LIN bus signal and waveform analysis
- Analysis of the design steps of RS-485 bus interface circuit
-
[NXP Rapid IoT Review] +
NXP Rapid IoT Online IDE Air Quality Test - How to remotely control a two-wheeled balancing vehicle via the Internet?
- How to get the most out of your low noise amplifier solution?
- Android4.4.2 source code compilation-iMX6Q/D core board-non-device tree source code
- 【GD32E503 Review】 Unboxing and Powering on the Machine
- JHIHAI APM32E103VET6 Review: External Interrupt (EINT)
- PYPL Programming Language Popularity Index, September 2022