Busybox on selve build Rasperi Pi Linux Operatin System not working, Kernel panic - not syncing: Attempted to kill

0

For my studies I am supposed to create a Linux system for the Raspberry Pi 3 B+ via cross compiling.

The compiler tool-chain is saved according to the task at the custom location / home / markus / crosscompiler / xtools / aarch64-rpi3-linux-gnu / bin /.

Now I have built a kernel and busybox. The kernel also starts, but it stops at "kernel panic - Kernel panic - not syncing: Attempted to kill init!

I have installed busybox and the kernel modules to the root partition of the sd card. “Build Static Binary (no shared libs)“ is enabled.

If I copy the files of another raspian installation to the sd card, (instead of my busybox system) it will work, the system will start up to an sh root promt. But this is not the task.

Waht I‘m doing wrong? Is it because of busybox at all?

My Kernel Version: 5.4.65 My Busybox Version: 1.33.0

Here is my Booting Console:

    #[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.65-v8+ (markus@markus-System-Product-Name) (gcc version 10.2.0 (crosstool-NG 1.24.0.167_e7da850)) #1 SMP PREEMPT Sat Sep 26 12:29:38 CEST 2020
[    0.000000] Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 8 MiB at 0x0000000039400000
[    0.000000] percpu: Embedded 31 pages/cpu s87000 r8192 d31784 u126976
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 232848
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  root=/dev/mmcblk0p2 console=tty1 console=ttyAMA0,115200 elevator=deadline fsck.repair=yes rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 900228K/946176K available (9276K kernel code, 1014K rwdata, 3076K rodata, 2944K init, 927K bss, 37756K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 29092 entries in 114 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] [Firmware Bug]: Bootloader left irq enabled: bank 1 irq 9
[    0.000000] random: get_random_bytes called from start_kernel+0x334/0x4c4 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000257] Console: colour dummy device 80x25
[    0.000971] printk: console [tty1] enabled
[    0.001045] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[    0.001096] pid_max: default: 32768 minimum: 301
[    0.001312] LSM: Security Framework initializing
[    0.001591] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.001651] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.003178] Disabling memory control group subsystem
[    0.005221] ASID allocator initialised with 32768 entries
[    0.005532] rcu: Hierarchical SRCU implementation.
[    0.006265] EFI services will not be available.
[    0.006907] smp: Bringing up secondary CPUs ...
[    0.008230] Detected VIPT I-cache on CPU1
[    0.008299] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.009738] Detected VIPT I-cache on CPU2
[    0.009786] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.011151] Detected VIPT I-cache on CPU3
[    0.011196] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.011389] smp: Brought up 1 node, 4 CPUs
[    0.011530] SMP: Total of 4 processors activated.
[    0.011563] CPU features: detected: 32-bit EL0 Support
[    0.011597] CPU features: detected: CRC32 instructions
[    0.036725] CPU: All CPU(s) started at EL2
[    0.036821] alternatives: patching kernel code
[    0.038677] devtmpfs: initialized
[    0.055405] Enabled cp15_barrier support
[    0.055473] Enabled setend support
[    0.056128] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.056198] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.057105] pinctrl core: initialized pinctrl subsystem
[    0.057487] DMI not present or invalid.
[    0.057987] NET: Registered protocol family 16
[    0.067080] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.067198] audit: initializing netlink subsys (disabled)
[    0.067620] audit: type=2000 audit(0.066:1): state=initialized audit_enabled=0 res=1
[    0.068407] cpuidle: using governor menu
[    0.068716] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.069053] Serial: AMBA PL011 UART driver
[    0.074367] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.079985] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-04-15 11:43, variant start
[    0.081000] raspberrypi-firmware soc:firmware: Firmware hash is 82f9bb929ce2186eb1824178c1ae82902ad6275c
[    0.125573] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.128207] SCSI subsystem initialized
[    0.128561] usbcore: registered new interface driver usbfs
[    0.128658] usbcore: registered new interface driver hub
[    0.128844] usbcore: registered new device driver usb
[    0.130678] clocksource: Switched to clocksource arch_sys_counter
[    1.410854] VFS: Disk quotas dquot_6.6.0
[    1.410999] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.411256] FS-Cache: Loaded
[    1.411645] CacheFiles: Loaded
[    1.425091] thermal_sys: Registered thermal governor 'step_wise'
[    1.425540] NET: Registered protocol family 2
[    1.426644] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.426785] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.426933] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.427155] TCP: Hash tables configured (established 8192 bind 8192)
[    1.427441] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.427521] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.427952] NET: Registered protocol family 1
[    1.429112] RPC: Registered named UNIX socket transport module.
[    1.429148] RPC: Registered udp transport module.
[    1.429178] RPC: Registered tcp transport module.
[    1.429208] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.430962] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.433017] Initialise system trusted keyrings
[    1.433456] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    1.447125] FS-Cache: Netfs 'nfs' registered for caching
[    1.448190] NFS: Registering the id_resolver key type
[    1.448257] Key type id_resolver registered
[    1.448287] Key type id_legacy registered
[    1.448328] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.450128] Key type asymmetric registered
[    1.450163] Asymmetric key parser 'x509' registered
[    1.450241] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.450282] io scheduler mq-deadline registered
[    1.450314] io scheduler kyber registered
[    1.454224] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.468112] Console: switching to colour frame buffer device 82x26
[    1.473081] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 656x416
[    1.480767] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.486051] bcm2835-rng 3f104000.rng: hwrng registered
[    1.489145] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.495247] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.500967] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.519574] brd: module loaded
[    1.539557] loop: module loaded
[    1.543993] Loading iSCSI transport class v2.0-870.
[    1.547939] libphy: Fixed MDIO Bus: probed
[    1.550796] usbcore: registered new interface driver lan78xx
[    1.553590] usbcore: registered new interface driver smsc95xx
[    1.556215] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.788020] Core Release: 2.80a
[    1.790545] Setting default values for core params
[    1.793150] Finished setting default values for core params
[    1.996764] Using Buffer DMA mode
[    1.999319] Periodic Transfer Interrupt Enhancement - disabled
[    2.001909] Multiprocessor Interrupt Enhancement - disabled
[    2.004457] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.006947] Dedicated Tx FIFOs mode
[    2.010266] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = ffffffc010251000 dma = 0x00000000f9510000 len=9024
[    2.015179] FIQ FSM acceleration enabled for :
[    2.015179] Non-periodic Split Transactions
[    2.015179] Periodic Split Transactions
[    2.015179] High-Speed Isochronous Endpoints
[    2.015179] Interrupt/Control Split Transaction hack enabled
[    2.026226] WARN::hcd_init_fiq:496: MPHI regs_base at ffffffc010055000
[    2.028561] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.030894] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.033294] dwc_otg 3f980000.usb: irq 9, io mem 0x00000000
[    2.035717] Init: Port Power? op_state=1
[    2.038063] Init: Power Port (0)
[    2.040767] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    2.045456] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.047987] usb usb1: Product: DWC OTG Controller
[    2.050465] usb usb1: Manufacturer: Linux 5.4.65-v8+ dwc_otg_hcd
[    2.052956] usb usb1: SerialNumber: 3f980000.usb
[    2.056300] hub 1-0:1.0: USB hub found
[    2.058804] hub 1-0:1.0: 1 port detected
[    2.063008] usbcore: registered new interface driver usb-storage
[    2.067101] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.070424] sdhci: Secure Digital Host Controller Interface driver
[    2.072849] sdhci: Copyright(c) Pierre Ossman
[    2.075913] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    2.079201] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    2.082100] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.086688] ledtrig-cpu: registered to indicate activity on CPUs
[    2.089710] hidraw: raw HID events driver (C) Jiri Kosina
[    2.092460] usbcore: registered new interface driver usbhid
[    2.095027] usbhid: USB HID core driver
[    2.097881] Initializing XFRM netlink socket
[    2.100476] NET: Registered protocol family 17
[    2.103143] Key type dns_resolver registered
[    2.106229] registered taskstats version 1
[    2.108570] Loading compiled-in X.509 certificates
[    2.111210] Key type ._fscrypt registered
[    2.113488] Key type .fscrypt registered
[    2.131028] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.133525] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 66, base_baud = 0) is a PL011 rev2
[    3.121635] printk: console [ttyAMA0] enabled
[    3.130937] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    3.142572] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    3.151091] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    3.185623] sdhost: log_buf @ (____ptrval____) (f6dac000)
[    3.212351] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.224087] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.233541] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.244302] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.254761] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    3.266478] of_cfs_init
[    3.271127] of_cfs_init: OK
[    3.276679] uart-pl011 3f201000.serial: no DMA platform data
[    3.284199] Indeed it is in host mode hprt0 = 00021501
[    3.290093] Waiting for root device /dev/mmcblk0p2...
[    3.350992] random: fast init done
[    3.364837] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.383229] mmc1: new high speed SDIO card at address 0001
[    3.391827] mmc0: new high speed SDHC card at address e624
[    3.400887] mmcblk0: mmc0:e624 SU08G 7.40 GiB
[    3.412705]  mmcblk0: p1 p2
[    3.446935] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.459161] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    3.477629] devtmpfs: mounted
[    3.477734] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.491807] Indeed it is in host mode hprt0 = 00001101
[    3.493290] Freeing unused kernel memory: 2944K
[    3.506427] Run /sbin/init as init process
FATAL: kernel too[    3.577572] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000005
[    3.591399] CPU: 1 PID: 1 Comm: init Not tainted 5.4.65-v8+ #1
[    3.599858] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[    3.608774] Call trace:
[    3.613805]  dump_backtrace+0x0/0x150
[    3.620045]  show_stack+0x28/0x40
[    3.625840]  dump_stack+0xd8/0x160
[    3.631591]  panic+0x168/0x374
[    3.636922]  do_exit+0x99c/0x9a0
[    3.642453]  do_group_exit+0x40/0xa0
[    3.648294]  get_signal+0x100/0x820
[    3.654024]  do_notify_resume+0x224/0x960
[    3.660210]  work_pending+0x8/0x14
[    3.665684] SMP: stopping secondary CPUs
[    3.671610] Kernel Offset: 0x1eaa000000 from 0xffffffc010000000
[    3.679553] PHYS_OFFSET: 0xffffffcf80000000
[    3.685707] CPU features: 0x0002,24802004
[    3.691624] Memory Limit: none
[    3.696549] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000005 ]---
 old

The /sbin folder looks like this:

   insgesamt 10612
    drwxr-xr-x  2 root root    4096 Sep 27 14:46 .
    drwxr-xr-x 13 root root    4096 Sep 27 14:46 ..
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 acpid -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 adjtimex -> ../bin/busybox
    -rwxr-xr-x  1 root root 3385704 Sep 27 13:08 a.out
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 arp -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 blkid -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 blockdev -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 bootchartd -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 depmod -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 devmem -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 fbsplash -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 fdisk -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 findfs -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 freeramdisk -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 fsck -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 fsck.minix -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 fstrim -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 getty -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 halt -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 hdparm -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 hwclock -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 ifconfig -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 ifdown -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 ifenslave -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 ifup -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 init -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 insmod -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 ip -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 ipaddr -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 iplink -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 ipneigh -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 iproute -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 iprule -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 iptunnel -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 klogd -> ../bin/busybox
    -rwxr-xr-x  1 root root 4201616 Sep 27 12:37 ldconfig
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 loadkmap -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 logread -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 losetup -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 lsmod -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 makedevs -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 mdev -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 mkdosfs -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 mke2fs -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 mkfs.ext2 -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 mkfs.minix -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 12:37 mkfs.reiser -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 mkfs.vfat -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 mkswap -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 modinfo -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 modprobe -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 nameif -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 pivot_root -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 poweroff -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 raidautorun -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 reboot -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 rmmod -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 route -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 run-init -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 runlevel -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 setconsole -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 slattach -> ../bin/busybox
    -rwxr-xr-x  1 root root 3266120 Sep 27 12:37 sln
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 start-stop-daemon -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 sulogin -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 swapoff -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 swapon -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 switch_root -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 sysctl -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 syslogd -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 tc -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 tunctl -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 udhcpc -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 uevent -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 vconfig -> ../bin/busybox
    lrwxrwxrwx  1 root root      14 Sep 27 14:46 watchdog -> ../bin/busybox

/bin folder looks like this:

  insgesamt 1920
    drwxr-xr-x  2 root root    4096 Sep 27 14:46 .
    drwxr-xr-x 13 root root    4096 Sep 27 14:46 ..
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 arch -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ash -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 base64 -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 12:37 bash -> busybox
    -rwxr-xr-x  1 root root 1954864 Sep 27 14:46 busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 cat -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 12:37 catv -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 chattr -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 chgrp -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 chmod -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 chown -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 conspy -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 cp -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 cpio -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 cttyhack -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 date -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 dd -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 df -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 dmesg -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 dnsdomainname -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 dumpkmap -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 echo -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ed -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 egrep -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 false -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 fatattr -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 fdflush -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 fgrep -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 fsync -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 getopt -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 grep -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 gunzip -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 gzip -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 hostname -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 hush -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ionice -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 iostat -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ipcalc -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 kbd_mode -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 kill -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 link -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 linux32 -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 linux64 -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ln -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 login -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ls -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 lsattr -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 lzop -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 makemime -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 mkdir -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 mknod -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 mktemp -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 more -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 mount -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 mountpoint -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 mpstat -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 mt -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 mv -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 netstat -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 nice -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 nuke -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 pidof -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ping -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ping6 -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 pipe_progress -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 printenv -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 ps -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 pwd -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 reformime -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 resume -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 rev -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 rm -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 rmdir -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 rpm -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 run-parts -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 scriptreplay -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 sed -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 setarch -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 setpriv -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 setserial -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 sh -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 sleep -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 stat -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 stty -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 su -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 sync -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 tar -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 touch -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 true -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 umount -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 uname -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 usleep -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 vi -> busybox
    lrwxrwxrwx  1 root root       7 Sep 27 14:46 watch -> busybox

boot comand is this:

root=/dev/mmcblk0p2 console=tty1 console=ttyAMA0,115200 elevator=deadline fsck.repair=yes rootwait
linux
linux-kernel
raspberry-pi
busybox
linux-from-scratch
asked on Stack Overflow Sep 27, 2020 by Graf Makula the 2nd • edited Sep 27, 2020 by Dharman

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0