1.Bad Magic Number
## Booting image at 33000000 ...
Bad Magic Number
OMAP5912 OSK #
Cause of the problem: The startup parameter setting is wrong, and 0x30000000 cannot be executed.
Some development boards have sdram not at 0x33000000, so the kernel uImage cannot be downloaded to 0x33000000 and run. For example, my previous bootcmd parameter was: setenv bootcmd tftpboot 33000000 uImage/; bootm 33000000. But the sdram address of the board Omap5912 is at 0x100000000. After changing the parameter to setenv bootcmd tftpboot 10000000 uImage/; bootm 10000000, the kernel can be started.
2. The startup stops at "Starting kernel ..."
TFTP from server 192.168.167.170; our IP address is 192.168.167.15
Filename 'uImage'
Load address: 0x10000000
Loading: #################################################################
done
Bytes transferred = 2025908 (1ee9b4 hex)
## Booting image at 10000000 ...
OK
Starting kernel ...
Cause of the problem: Most likely the kernel was not compiled successfully.
Confirm whether the configure parameters are configured correctly and whether the correct target compilation platform is selected, such as smdk2410.
3. Unable to start kernel
Starting kernel ...
Uncompressing Linux.........................................................
.................... done, booting the kernel.
Cause: The Bootargs parameter may be set incorrectly. Check whether the bootargs setting is correct.
4. Unable to mount nfs
eth0: link up
IP-Config: Complete:
Looking up
Root-NFS: Unable to get nfsd port number from server, using default
Looking up
Root-NFS: Unable to get mountd port number from server, using default
mount: server 192.168.167.170 not responding, timed out
Root-NFS: Server returned error -5 while mounting /work/nfs/rootfs_bluetooth_omap
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Cause: This is usually an NFS configuration problem.
Confirm whether the nfs-related ip address information in the uboot bootargs parameter is set correctly, and whether the host machine /etc/exports configuration is correct, restart the nfs service, and try to connect again. In addition, you need to pay attention to the settings of the console and mem parameters in bootargs. After kernel2.6, it is best to set the console to ttySAC0, and mem should also be set correctly according to the actual situation of the development board.
5. The file system cannot be started
eth0: link up
IP-Config: Complete:
Looking up
Looking up
VFS: Mounted root (nfs filesystem).
Freeing init memory: 128K
/sbin/initKernel panic - not syncing: Attempted to kill init!
Cause of the problem: The created file system lacks the libcrypt.so library required to run busybox. The new version will have a missing library prompt, but the old version (1.60) does not.
Note: Running a busybox file system requires at least the following libraries:
ld-linux.so.x
libc.so.6
libcrypt.so.x
Newer versions of busybox may also require
libm.so.6
libgcc_s.so.x
(x is the version number)
6. File system cannot be started problem 2
eth0: link up
IP-Config: Complete:
Looking up
Looking up
VFS: Mounted root (nfs filesystem).
Freeing init memory: 128K
Kernel panic - not syncing: No init found.
Cause of the problem: After comparing with an available file system, it was found that the ld-linux.so.x library was missing. There was only the link file of ld-linux.so.x in the file system, and the library file was not copied.
8. Unable to obtain account UID information
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry
Unknown username "root" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry
Failed to start message bus: Could not get UID and GID for username "root"
problem causes:
Case 1: System account verification has problems. It is suspected that the correct value is not returned when calling getuid and getguid. It may be that the account verification related library is missing. After actual investigation, it is found that the libnss_files library is missing. After copying the cross-compiler's libnss_files library to the file system, the file system is started successfully.
Case 2: The system does not have a root account. This can be seen by the whoami command.
Create an account manually.
#vi /etc/passwd
root:x:0:0:root:/root:/bin/sh
kyo:x:500:500:kyo:/home/kyo:/bin/bash
Add Group
#vi group
root:x:0:root
9.
Freeing init memory: 128K
init started: BusyBox v1.6.1
starting pid 834, tty '': '/etc/init.d/rcS'
Cannot run '/etc/init.d/rcS': No such file or directory
Please press Enter to activate this console.
I found that it can be started normally without the /etc/init.d/rcS file system. It seems that rcS is only used to set some random startup parameters and has little to do with whether the file can run normally.
Note: This is not a mistake, it was discovered by accident! :)
Previous article:When the system starts, the message "Partially written block X detected" appears.
Next article:S3C2410 SDRAM register initialization settings
- Popular Resources
- Popular amplifiers
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
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Quectel EC20 module power supply problem
- Thank you for being there + the extraordinary me in 2019
- Macro base stations, distributed base stations, small base stations
- How to integrate FreeRTOS on ARMv8-M architecture processor?
- Reading Notes on the Good Book "Electronic Engineer Self-Study Handbook" 03 Program
- Base station interference source positioning system based on drone
- This is an article about 5G 2.4G antenna. You will earn money if you see it. You will learn the truth if you learn it.
- [Share] Easy-to-understand introductory textbook on FPGA. Standardize design and avoid detours
- Learn about the MSP430F5529 Power Management Module
- How to choose a DC-DC module power supply What is the importance of DC_DC module power supply