Giter Site home page Giter Site logo

linux4sam / buildroot-at91 Goto Github PK

View Code? Open in Web Editor NEW
18.0 19.0 43.0 109.56 MB

Buildroot for Microchip SoC (aka AT91) - use with buildroot external tree

Home Page: http://www.at91.com/linux4sam/bin/view/Linux4SAM/BuildRoot

License: Other

Makefile 66.52% Arc 0.05% Shell 6.03% C 8.48% C++ 0.86% Perl 0.77% Python 13.08% Batchfile 0.22% Lex 0.11% Yacc 0.27% Tcl 0.17% M4 0.05% Lua 0.21% Dockerfile 0.03% CMake 0.09% Java 0.05% Forth 0.03% HTML 2.96% Gnuplot 0.01% JavaScript 0.01%
buildroot makefile cross-compiler

buildroot-at91's People

Contributors

aduskett avatar aldot avatar angeloc avatar arnout avatar asafkahlon avatar baruchsiach avatar bkuhls avatar culssw avatar erikbandersen avatar fabioestevam avatar ffontaine avatar fperrad avatar giuliobenetti avatar gustavoz avatar jacmet avatar jameshilliard avatar joerg-krause avatar lucaceresoli avatar paralin avatar patrickdepinguin avatar pseiderer avatar rc-matthew-l-weber avatar ricardo-martincoski avatar romainnaour avatar tpetazzoni avatar tsed avatar vapier avatar wbx-github avatar yann-morin-1998 avatar yegorich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buildroot-at91's Issues

Centos 6.4: Buildroot-at91 master branch sama5d3ek_config failed ....

make sama5d3ek_defconfig
make
..
..
fails with

/usr/bin/ld: i386 architecture of input file printf/.libs/repl-vsnprintf.o' is incompatible with i386:x86-64 output collect2: ld returned 1 exit status make[3]: *** [libgmp.la] Error 1 make[3]: Leaving directory/export/home/bnallapothula/linux4sam/buildroot-at91/output/build/host-gmp-5.0.5'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /export/home/bnallapothula/linux4sam/buildroot-at91/output/build/host-gmp-5.0.5' make[1]: *** [all] Error 2 make[1]: Leaving directory/export/home/bnallapothula/linux4sam/buildroot-at91/output/build/host-gmp-5.0.5'
make: *** [/export/home/bnallapothula/linux4sam/buildroot-at91/output/build/host-gmp-5.0.5/.stamp_built] Error 2

System Info :

bash-4.1$ uname -a
Linux 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

bash-4.1$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)

bash-4.1$ g++ -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)

bash-4.1$ ld -v
GNU ld version 2.20.51.0.2-5.36.el6 20100205

bash-4.1$

Please help resolve.

Tried suggestion from forum - export C/CXXFLAGS & LDFLAGS with " -m32" value, did not help.

PPPD doesn't work well

Platform: SAMA5D27-WLSOM-EK1

I'm trying to setup a 3g usb modem via pppd.

However, pppd shows the next error

Couldn't open the /dev/ppp device: No such device or address
pppd: Please load the ppp_generic kernel module.

I check menuconfig and linux-menuconfig options from buildroot and it's all ok!

Any help?

Compilation error

Getting the below error while building the code.
image

Can you please help me out with this.

USB Gadget (CDC ACM) not working

Hi there,
We have "sama5d3 xplained" board. All peripherals are working perfectly except TFT LCD and USB CDC ACM Device.

I am following this official guide
I tried below both methods.

  1. precomposed configurations
  2. configured through ConfigFS

First method does not have any effect on my PC dmesg.
modprobe g_serial

Below my pc ubuntu syslog given for method 2 tail -f /var/log/syslog

Jan  6 11:05:26 dnk025-PC kernel: [176430.867073] usb 2-1.5: new high-speed USB device number 79 using ehci-pci
Jan  6 11:05:27 dnk025-PC kernel: [176430.963061] usb 2-1.5: device descriptor read/64, error -71
Jan  6 11:05:27 dnk025-PC kernel: [176431.167066] usb 2-1.5: device descriptor read/64, error -71
Jan  6 11:05:27 dnk025-PC kernel: [176431.359083] usb 2-1.5: new high-speed USB device number 80 using ehci-pci
Jan  6 11:05:27 dnk025-PC kernel: [176431.455075] usb 2-1.5: device descriptor read/64, error -71
Jan  6 11:05:27 dnk025-PC kernel: [176431.655074] usb 2-1.5: device descriptor read/64, error -71
Jan  6 11:05:27 dnk025-PC kernel: [176431.763283] usb 2-1-port5: attempt power cycle
Jan  6 11:05:28 dnk025-PC vncserver-x11-serviced[865]: /usr/bin/vncagent: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory
Jan  6 11:05:28 dnk025-PC vncserver-x11[903,root]: AgentInitCheck: agent comms failure
Jan  6 11:05:28 dnk025-PC kernel: [176432.367088] usb 2-1.5: new high-speed USB device number 81 using ehci-pci
Jan  6 11:05:28 dnk025-PC kernel: [176432.791092] usb 2-1.5: device not accepting address 81, error -71
Jan  6 11:05:28 dnk025-PC kernel: [176432.871070] usb 2-1.5: new high-speed USB device number 82 using ehci-pci
Jan  6 11:05:29 dnk025-PC kernel: [176433.295067] usb 2-1.5: device not accepting address 82, error -71
Jan  6 11:05:29 dnk025-PC kernel: [176433.295245] usb 2-1-port5: unable to enumerate USB device

Below Device Log given.
DeviceLog-sama5d3.txt

rsylog.service mode flags incorrect

$(INSTALL) -m 0755 -D package/rsyslog/rsyslog.service \

Minor issue, but the system is complaining at startup that the rsyslog.service file at:
/usr/lib/systemd/system/rsyslog.service
has executable permissions.

The code sets the mode flags to 755, but they should be 644.

journalctl:
systemd[1]: Configuration file /usr/lib/systemd/system/rsyslog.service is marked executable. Please remove executable permission bits. Proceeding anyway.

Compiling error

Good morning,

I am compiling a version for the
sama5d27-wlsom1-ek

the steps I have followed are these.
sudo apt-get install subversion build-essential bison flex gettext \ libncurses5-dev texinfo autoconf automake libtool mercurial git-core \ gperf gawk expat curl cvs libexpat-dev bzr unzip bc python-dev \ wget cpio rsync xxd

git clone https://github.com/linux4sam/buildroot-external-microchip.git -b 2021.02-at91
git clone https://github.com/linux4sam/buildroot-at91.git -b 2021.02-at91
cd buildroot-at91
 BR2_EXTERNAL=../buildroot-external-microchip/ make sama5d27_wlsom1_ek_headless_defconfig
make

and in the end it gives me failure

/home/user/buildroot-at91/output/build/wilcbtapps-linux4sam-2020.10/transparent_service.c:558:47: warning: passing argument 3 of ‘bt_att_set_debug’ from incompatible pointer type [-Wincompatible-pointer-types] 558 | bt_att_set_debug(server->att, att_debug_cb, "att: ", NULL); | ^~~~~~~ | | | char * In file included from /home/user/buildroot-at91/output/build/wilcbtapps-linux4sam-2020.10/transparent_service.c:40: /home/user/buildroot-at91/output/build/bluez5_utils-5.62/src/shared/att.h:50:24: note: expected ‘bt_att_debug_func_t’ {aka ‘void (*)(const char *, void *)’} but argument is of type ‘char *’ 50 | bt_att_debug_func_t callback, void *user_data, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /home/user/buildroot-at91/output/build/wilcbtapps-linux4sam-2020.10/transparent_service.c:558:3: error: too few arguments to function ‘bt_att_set_debug’ 558 | bt_att_set_debug(server->att, att_debug_cb, "att: ", NULL); | ^~~~~~~~~~~~~~~~ In file included from /home/user/buildroot-at91/output/build/wilcbtapps-linux4sam-2020.10/transparent_service.c:40: /home/user/buildroot-at91/output/build/bluez5_utils-5.62/src/shared/att.h:49:6: note: declared here 49 | bool bt_att_set_debug(struct bt_att *att, uint8_t level, | ^~~~~~~~~~~~~~~~ make: *** [package/pkg-generic.mk:251: /home/user/buildroot-at91/output/build/wilcbtapps-linux4sam-2020.10/.stamp_built] Error 1
I have tried on two linux machines with ubuntu 20.04 and the same point fails.

some help?

Thanks!

Waiting for root device /dev/mmcblk0p2...

I have SAMA5D3 Xplained custom board error is very common lots of help given on internet
After 5 days tried them still error didn't solve.

I have downloaded pre-built image from below official site + also custom compile buildroot "BUILDROOT BASED DEMO" below link given.
Sama5d3XplainedMainPage

Below kernel log message given

RomBOOT


AT91Bootstrap 3.9.0 (Sat Nov 21 13:24:05 IST 2020)

SD/MMC: Image: Read file u-boot.bin to 0x26f00000
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart> 

U-Boot 2019.04-linux4sam_6.2 (Nov 21 2020 - 13:25:27 +0530)

CPU: SAMA5D36
Crystal frequency:       12 MHz
CPU clock        :      528 MHz
Master clock     :      132 MHz
DRAM:  256 MiB
NAND:  256 MiB
MMC:   Atmel mci: 0, Atmel mci: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@ffffee00
Out:   serial@ffffee00
Err:   serial@ffffee00
Net:   
Error: ethernet@f0028000 address not set.
eth-1: ethernet@f0028000
Error: ethernet@f802c000 address not set.
, eth-1: ethernet@f802c000
Hit any key to stop autoboot:  3  2  1  0 
49973 bytes read in 7 ms (6.8 MiB/s)
4156392 bytes read in 268 ms (14.8 MiB/s)
## Flattened Device Tree blob at 21000000
   Booting using the fdt blob at 0x21000000
   Loading Device Tree to 2fb21000, end 2fb30334 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.19.78-linux4sam-6.2 (dnk025@dnk025-PC) (gcc version 8.4.0 (Buildroot 2020.02.8)) #1 Sat Nov 21 13:29:03 IST 2020
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: SAMA5D3 Xplained
Memory policy: Data cache writeback
cma: Reserved 64 MiB at 0x28000000
CPU: All CPU(s) started in SVC mode.
random: get_random_bytes called from 0xc0a008f8 with crng_init=0
Built 1 zonelists, mobility grouping off.  Total pages: 64960
Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 183088K/262144K available (7168K kernel code, 254K rwdata, 1204K rodata, 1024K init, 166K bss, 13520K reserved, 65536K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0x(ptrval) - 0x(ptrval)   (8160 kB)
      .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
      .data : 0x(ptrval) - 0x(ptrval)   ( 255 kB)
       .bss : 0x(ptrval) - 0x(ptrval)   ( 167 kB)
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
clocksource: timer@f0010000: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 115833966437 ns
sched_clock: 32 bits at 16MHz, resolution 60ns, wraps every 130150523873ns
Switching to timer-based delay loop, resolution 60ns
clocksource: pit: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 14479245754 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 33.00 BogoMIPS (lpj=165000)
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 0x20100000 - 0x20100060
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
AT91: PM: standby: standby, suspend: ulp0
gpio-at91 fffff200.gpio: at address (ptrval)
gpio-at91 fffff400.gpio: at address (ptrval)
gpio-at91 fffff600.gpio: at address (ptrval)
gpio-at91 fffff800.gpio: at address (ptrval)
gpio-at91 fffffa00.gpio: at address (ptrval)
pinctrl-at91 ahb:apb:pinctrl@fffff200: initialized AT91 pinctrl driver
atmel_tcb: probe of f0010000.timer failed with error -16
at_hdmac ffffe600.dma-controller: Atmel AHB DMA Controller ( cpy set slave ), 8 channels
at_hdmac ffffe800.dma-controller: Atmel AHB DMA Controller ( cpy set slave ), 8 channels
AT91: Detected SoC family: sama5d3
AT91: Detected SoC: sama5d36, revision 2
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f0014000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
at91_i2c f0014000.i2c: AT91 i2c bus driver (hw version: 0x402).
at91_i2c f0018000.i2c: using dma0chan2 (tx) and dma0chan3 (rx) for DMA transfers
at91_i2c f0018000.i2c: AT91 i2c bus driver (hw version: 0x402).
at91_i2c f801c000.i2c: can't get DMA channel, continue without DMA support
at91_i2c f801c000.i2c: AT91 i2c bus driver (hw version: 0x402).
media: Linux media interface: v0.10
videodev: Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.22
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource timer@f0010000
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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.
Initialise system trusted keyrings
workingset: timestamp_bits=14 max_order=16 bucket_order=2
Key type asymmetric registered
Asymmetric key parser 'x509' registered
io scheduler noop registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
brd: module loaded
loop: module loaded
atmel_usart_serial.0.auto: ttyS1 at MMIO 0xf001c000 (irq = 23, base_baud = 4125000) is a ATMEL_SERIAL
atmel_usart_serial.1.auto: ttyS2 at MMIO 0xf0020000 (irq = 24, base_baud = 4125000) is a ATMEL_SERIAL
atmel_usart_serial.2.auto: ttyS5 at MMIO 0xf0024000 (irq = 25, base_baud = 4125000) is a ATMEL_SERIAL
atmel_usart_serial.3.auto: ttyS0 at MMIO 0xffffee00 (irq = 38, base_baud = 8250000) is a ATMEL_SERIAL
console [ttyS0] enabled
atmel_spi f0004000.spi: Using dma0chan4 (tx) and dma0chan5 (rx) for DMA transfers
atmel_spi f0004000.spi: Atmel SPI Controller version 0x213 at 0xf0004000 (irq 20)
atmel_spi f8008000.spi: Using dma1chan0 (tx) and dma1chan1 (rx) for DMA transfers
atmel_spi f8008000.spi: Atmel SPI Controller version 0x213 at 0xf8008000 (irq 28)
libphy: Fixed MDIO Bus: probed
CAN device driver interface
at91_can f000c000.can: device registered (reg_base=(ptrval), irq=45)
macb f0028000.ethernet: invalid hw address, using random
libphy: MACB_mii_bus: probed
Micrel KSZ9031 Gigabit PHY f0028000.ethernet-ffffffff:07: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=f0028000.ethernet-ffffffff:07, irq=POLL)
macb f0028000.ethernet eth0: Cadence GEM rev 0x00020119 at 0xf0028000 irq 46 (42:46:13:7d:47:54)
macb f802c000.ethernet: invalid hw address, using random
libphy: MACB_mii_bus: probed
Micrel KSZ8081 or KSZ8091 f802c000.ethernet-ffffffff:01: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f802c000.ethernet-ffffffff:01, irq=POLL)
macb f802c000.ethernet eth1: Cadence MACB rev 0x0001010c at 0xf802c000 irq 47 (0e:91:e4:83:49:ec)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
atmel-ehci 700000.ehci: EHCI Host Controller
atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 700000.ehci: irq 50, io mem 0x00700000
atmel-ehci 700000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.19.78-linux4sam-6.2 ehci_hcd
usb usb1: SerialNumber: 700000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-atmel: OHCI Atmel driver
at91_ohci 600000.ohci: USB Host Controller
at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 600000.ohci: irq 50, io mem 0x00600000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: USB Host Controller
usb usb2: Manufacturer: Linux 4.19.78-linux4sam-6.2 ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 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_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
at91_rtc fffffeb0.rtc: registered as rtc0
at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
at91-reset fffffe00.rstc: Starting after wakeup
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Bluetooth: HCI UART protocol Three-wire (H5) registered
usbcore: registered new interface driver btusb
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
atmel_mci f0000000.mmc: version: 0x505
atmel_mci f0000000.mmc: using dma0chan6 for DMA transfers
atmel_mci f0000000.mmc: Linked as a consumer to regulator.1
atmel_mci f0000000.mmc: Atmel MCI controller at 0xf0000000 irq 19, 1 slots
atmel_mci f8000000.mmc: version: 0x505
atmel_mci f8000000.mmc: using dma1chan2 for DMA transfers
atmel_mci f8000000.mmc: Atmel MCI controller at 0xf8000000 irq 27, 1 slots
sdhci-pltfm: SDHCI platform and OF driver helper
ledtrig-cpu: registered to indicate activity on CPUs
atmel_aes f8038000.aes: version: 0x135
atmel_aes f8038000.aes: Atmel AES - Using dma1chan3, dma1chan4 for DMA transfers
atmel_sha f8034000.sha: version: 0x410
atmel_sha f8034000.sha: using dma1chan5 for DMA transfers
atmel_sha f8034000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
atmel_tdes f803c000.tdes: version: 0x701
atmel_tdes f803c000.tdes: using dma1chan6, dma1chan7 for DMA transfers
atmel_tdes f803c000.tdes: Atmel DES/TDES
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron MT29F2G08ABAEAWP
nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
7 fixed-partitions partitions found on MTD device atmel_nand
Creating 7 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "at91bootstrap"
0x000000040000-0x000000100000 : "bootloader"
0x000000100000-0x000000140000 : "bootloader env redundant"
0x000000140000-0x000000180000 : "bootloader env"
0x000000180000-0x000000200000 : "device tree"
0x000000200000-0x000000800000 : "kernel"
0x000000800000-0x000010000000 : "rootfs"
iio iio:device0: Resolution used: 12 bits
iio iio:device0: ADC Touch screen is disabled.
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20170425 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20170425)
can: broadcast manager protocol (rev 20170425 t)
can: netlink gateway (rev 20170425) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
Loading compiled-in X.509 certificates
input: gpio_keys as /devices/platform/gpio_keys/input/input0
at91_rtc fffffeb0.rtc: setting system clock to 2007-01-01 00:00:07 UTC (1167609607)
ALSA device list:
  No soundcards found.
Waiting for root device /dev/mmcblk0p2...
random: fast init done

Bootloader properly load from sd card but after rootfs can't
if i change

Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait
to 
Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootdelay=3

output given in below

Waiting 3 sec before mounting root device...
VFS: Cannot open root device "mmcblk0p2" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
0100            8192 ram0 
 (driver?)
0101            8192 ram1 
 (driver?)
0102            8192 ram2 
 (driver?)
0103            8192 ram3 
 (driver?)
1f00             256 mtdblock0 
 (driver?)
1f01             768 mtdblock1 
 (driver?)
1f02             256 mtdblock2 
 (driver?)
1f03             256 mtdblock3 
 (driver?)
1f04             512 mtdblock4 
 (driver?)
1f05            6144 mtdblock5 
 (driver?)
1f06          253952 mtdblock6 
 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.78-linux4sam-6.2 #1
Hardware name: Atmel SAMA5
Function entered at [<c010da94>] from [<c010ac7c>]
Function entered at [<c010ac7c>] from [<c0117c24>]
Function entered at [<c0117c24>] from [<c0a0125c>]
Function entered at [<c0a0125c>] from [<c0a0156c>]
Function entered at [<c0a0156c>] from [<c0a01704>]
Function entered at [<c0a01704>] from [<c0a00e00>]
Function entered at [<c0a00e00>] from [<c07225c8>]
Function entered at [<c07225c8>] from [<c01010e8>]
Exception stack(0xc4039fb0 to 0xc4039ff8)
9fa0:                                     00000000 00000000 00000000 00000000
9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
random: fast init done
random: crng init done

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.