Igor68 0 8 октября, 2021 Опубликовано 8 октября, 2021 · Жалоба Буду биться! Linux - безупречен!!!!! Цитата Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты Поделиться
Igor68 0 8 октября, 2021 Опубликовано 8 октября, 2021 · Жалоба Сейяас собираю rootfs, там есть "битые"для платы пакеты -так сказать фильтрую. Загружать буду по мере готовности... ну и соответственно выхлоп без обновления остального. Цитата Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты Поделиться
Igor68 0 9 октября, 2021 Опубликовано 9 октября, 2021 (изменено) · Жалоба Спасибо за оказанную помощь! Требуются испытания...... PS: пока лог неудачного старта не выкладываю, потому как стыдно. Позвольте в некоторых вопросах разобраться. Спасибо за оказанную помощь!!!!! Хочу испытать - сил нет терпеть. Спасибо!!! Изменено 9 октября, 2021 пользователем Овчинников Игорь Цитата Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты Поделиться
Igor68 0 9 октября, 2021 Опубликовано 9 октября, 2021 · Жалоба Вот, как говорил... это запуск того же zImage, но с USB-FLASH. AT91Bootstrap 3.8.10 (Чт 07 окт 2021 14:19:20 MSK) NAND: Done to load image U-Boot 2016.09.01 (Oct 07 2021 - 14:19:35 +0300) CPU: AT91SAM9260 Crystal frequency: 18.432 MHz CPU clock : 198.656 MHz Master clock : 99.328 MHz DRAM: 64 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: macb0 Hit any key to stop autoboot: 0 U-Boot> U-Boot> U-Boot> U-Boot> U-Boot> usb reset resetting USB... USB0: scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found U-Boot> resetting USB... USB0: scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found U-Boot> fatload usb 0 0x22000000 zImage reading zImage 3635928 bytes read in 9878 ms (359.4 KiB/s) U-Boot> U-Boot> fatload usb 0 0x22800000 at91sam9260ek.dtb reading at91sam9260ek.dtb 18816 bytes read in 132 ms (138.7 KiB/s) U-Boot> U-Boot> bootz 0x22000000 - 0x22800000 Kernel image @ 0x22000000 [ 0x000000 - 0x377ad8 ] ## Flattened Device Tree blob at 22800000 Booting using the fdt blob at 0x22800000 Loading Device Tree to 23eb2000, end 23eb997f ... OK Starting kernel ... Booting Linux on physical CPU 0x0 Linux version 4.8.6 (igor@debianNUC7PJYH) (gcc version 9.3.0 (Buildroot 2021.02.3) ) #1 Thu Oct 7 14:43:49 MSK 2021 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f CPU: VIVT data cache, VIVT instruction cache OF: fdt:Machine model: Atmel at91sam9260ek Memory policy: Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(evn_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 57572K/65536K available (4834K kernel code, 172K rwdata, 1732K rodata, 220K init, 127K bss, 7964K reserved, 0K cma-reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc04c0c50 (4836 kB) .init : 0xc0699000 - 0xc06d0000 ( 220 kB) .data : 0xc06d0000 - 0xc06fb080 ( 173 kB) .bss : 0xc06fb080 - 0xc071ad04 ( 128 kB) NR_IRQS:16 nr_irqs:16 16 clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 9620954980 ns sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 16777215996093750ns Console: colour dummy device 80x30 Calibrating delay loop... 98.72 BogoMIPS (lpj=385024) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok Setting up static identity map for 0x20008400 - 0x2000847c devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 14931722236523437 ns pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations AT91: Detected SoC: at91sam9260, revision 2 No ATAGs? gpio-at91 fffff400.gpio: at address c485a400 gpio-at91 fffff600.gpio: at address c485c600 gpio-at91 fffff800.gpio: at address c485e800 pinctrl-at91 ahb:apb:pinctrl@fffff400: initialized AT91 pinctrl driver clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 153935280796 ns SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb i2c-gpio i2c-gpio-0: using pins 23 (SDA) and 24 (SCL) Linux video capture interface: v2.00 Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource tcb_clksrc NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. futex hash table entries: 256 (order: -1, 3072 bytes) workingset: timestamp_bits=30 max_order=14 bucket_order=0 io scheduler noop registered (default) fffff200.serial: ttyS0 at MMIO 0xfffff200 (irq = 16, base_baud = 6208000) is a ATMEL_SERIAL console [ttyS0] enabled fffb0000.serial: ttyS1 at MMIO 0xfffb0000 (irq = 26, base_baud = 6208000) is a ATMEL_SERIAL atmel_usart fffb0000.serial: Not supported ip name nor version, set to uart fffb4000.serial: ttyS2 at MMIO 0xfffb4000 (irq = 27, base_baud = 6208000) is a ATMEL_SERIAL atmel_usart fffb4000.serial: Not supported ip name nor version, set to uart [drm] Initialized drm 1.1.0 20060810 brd: module loaded loop: module loaded ssc fffbc000.ssc: Atmel SSC device at 0xc4890000 (irq 31) atmel_nand 40000000.nand: No DMA support for NAND access. nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda nand: Samsung NAND 256MiB 3,3V 8-bit nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 atmel_nand 40000000.nand: Use On Flash BBT Bad block table found at page 131008, version 0x01 Bad block table found at page 130944, version 0x01 nand_read_bbt: bad block at 0x000000ea0000 nand_read_bbt: bad block at 0x00000ae40000 8 cmdlinepart partitions found on MTD device atmel_nand Creating 8 MTD partitions on "atmel_nand": 0x000000000000-0x000000040000 : "bootstrap" 0x000000040000-0x0000000c0000 : "uboot" 0x0000000c0000-0x000000100000 : "env" 0x000000100000-0x000000140000 : "evn_redundant" 0x000000140000-0x000000180000 : "spare" 0x000000180000-0x000000200000 : "dtb" 0x000000200000-0x000000800000 : "kernel" 0x000000800000-0x000010000000 : "rootfs" libphy: Fixed MDIO Bus: probed libphy: MACB_mii_bus: probed Davicom DM9161A fffc4000.etherne:00: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=fffc4000.etherne:00, irq=-1) macb fffc4000.ethernet eth0: Cadence MACB rev 0x0001010c at 0xfffc4000 irq 28 (6a:51:45:22:ac:c9) ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-atmel: EHCI Atmel driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-atmel: OHCI Atmel driver at91_ohci 500000.ohci: USB Host Controller at91_ohci 500000.ohci: new USB bus registered, assigned bus number 1 at91_ohci 500000.ohci: irq 33, io mem 0x00500000 usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: USB Host Controller usb usb1: Manufacturer: Linux 4.8.6 ohci_hcd usb usb1: SerialNumber: at91 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usbserial usbcore: registered new interface driver usbserial_generic usbserial: USB Serial support registered for generic usbcore: registered new interface driver ftdi_sio usbserial: USB Serial support registered for FTDI USB Serial Device usbcore: registered new interface driver pl2303 usbserial: USB Serial support registered for pl2303 udc: at91_udc version 3 May 2006 g_serial gadget: Gadget Serial v2.4 g_serial gadget: g_serial ready mousedev: PS/2 mouse device common for all mice rtc-at91sam9 fffffd20.rtc: rtc core: registered fffffd20.rtc as rtc0 rtc-at91sam9 fffffd20.rtc: rtc0: SET TIME! AT91: Starting after general reset at91_wdt fffffd40.watchdog: watchdog is disabled at91_wdt: probe of fffffd40.watchdog failed with error -22 atmel_mci fffa8000.mmc: version: 0x210 atmel_mci fffa8000.mmc: using PDC atmel_mci fffa8000.mmc: Atmel MCI controller at 0xfffa8000 irq 30, 1 slots usbcore: registered new interface driver usbhid usbhid: USB HID core driver iio iio:device0: Resolution used: 10 bits iio iio:device0: not support touchscreen in the adc compatible string. NET: Registered protocol family 10 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 ubi0: attaching mtd7 usb 1-1: new full-speed USB device number 2 using at91_ohci random: fast init done g_serial gadget: full-speed config #2: CDC ACM config usb 1-1: New USB device found, idVendor=1a40, idProduct=0101 usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 usb 1-1: Product: USB 2.0 Hub [MTT] hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected ubi0: scanning is finished ubi0: attached mtd7 (name "rootfs", size 248 MiB) ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 ubi0: VID header offset: 512 (aligned 512), data offset: 2048 ubi0: good PEBs: 1978, bad PEBs: 6, corrupted PEBs: 0 ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128 ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1680116384 ubi0: available PEBs: 0, total reserved PEBs: 1978, PEBs reserved for bad PEB handling: 34 ubi0: background thread "ubi_bgt0d" started, PID 667 input: gpio_keys as /devices/soc0/gpio_keys/input/input0 rtc-at91sam9 fffffd20.rtc: hctosys: unable to read the hardware clock ALSA device list: No soundcards found. UBIFS error (ubi0:0 pid 1): ubifs_recover_master_node: failed to recover master node List of all partitions: 0100 8192 ram0 (driver?) 0101 8192 ram1 (driver?) 0102 8192 ram2 (driver?) 0103 8192 ram3 (driver?) 1f00 256 mtdblock0 (driver?) 1f01 512 mtdblock1 (driver?) 1f02 256 mtdblock2 (driver?) 1f03 256 mtdblock3 (driver?) 1f04 256 mtdblock4 (driver?) 1f05 512 mtdblock5 (driver?) 1f06 6144 mtdblock6 (driver?) 1f07 253952 mtdblock7 (driver?) 1f08 244440 mtdblock8 (driver?) No filesystem could mount root, tried: ubifs Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Что-то надоело применять buildroot, хочу из иходников linux-4.8.6, но что-то не выходит пока - не стартует. Цитата Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты Поделиться
Igor68 0 9 октября, 2021 Опубликовано 9 октября, 2021 · Жалоба Разобрался - был не очень внимателен! Одним словом сейчас zImage сделан на raspbery pi 4 в рам диске Именно из исходников linux-4.8.6. Очень благодарен Вам за оказанную помощь!!! Спасибо!!! Цитата Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты Поделиться