Go Down

Topic: Arduino Yun rev2 - Linux not booting any more (Read 264 times) previous topic - next topic

ard24

Hi,
I'm playing arround with my new arduino yun rev2. Actually I want to use it as Wireless repeater. Due too missing external Wireless antenna I wanted to install an USB wifi device with external antenna. Because I could not install the usb WIFI device I decided to flash this image: openwrt-19.07.1-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin from:
Code: [Select]
https://downloads.openwrt.org/releases/19.07.1/targets/ar71xx/generic/
Therefore I copied the bin file onto a sd card and inserted it into the arduino and connected by ssh. This comand started the upload of the image:
Code: [Select]
un-sysupgrade /mnt/sda1/openwrt-ar71xx-generic-yun-squashfs-sysupgrade.bin

It looked like this worked, but now its not booting any more. It gets stuck at this point:

Quote
U-Boot 1.1.5-linino-g2d891225 (Nov 22 2017 - 09:06:12)

Linino Board (ar9331) U-boot
DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 218k for U-Boot at: 83fc8000
Reserving 192k for malloc() at: 83f98000
Reserving 44 Bytes for Board Info at: 83f97fd4
Reserving 36 Bytes for Global Data at: 83f97fb0
Reserving 128k for boot params() at: 83f77fb0
Stack Pointer at: 83f77f98
Now running in RAM - U-Boot at: 83fc8000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16777216, sector count = 256
Flash: 16 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: a8:40:41:19:5f:32
eth1: a8:40:41:19:5f:33
eth0, eth1
autoboot in 4 seconds (stop with 'ard')...
## Booting image at 9f050000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.167
   Created:      2020-01-29  16:05:35 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1586255 Bytes =  1.5 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f050040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 4.14.167 (builder@buildhost) (gcc version 7.5.0 (Op        enWrt GCC 7.5.0 r10911-c155900f66)) #0 Wed Jan 29 16:05:35 2020
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32         bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] random: get_random_bytes called from 0x804ee740 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=Yun mtdparts=spi0.0:256k(u-boot)ro,64        k(u-boot-env),15936k(firmware),64k(nvram),64k(art)ro console=ttyATH0,250000 root        fstype=squashfs noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 59320K/65536K available (3946K kernel code, 193K rwdata,         516K rodata, 328K init, 212K bss, 6216K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.00        0MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i        dle_ns: 9556302233 ns
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737        418237ns
[    0.003625] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.078195] pid_max: default: 32768 minimum: 301
[    0.080626] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083371] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.089913] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma        x_idle_ns: 19112604462750000 ns
[    0.093803] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.098371] NET: Registered protocol family 16
[    0.101715] MIPS: machine is Arduino Yun
[    0.617538] Setting DogStick2 GPIO
[    0.639972] clocksource: Switched to clocksource MIPS
[    0.643126] NET: Registered protocol family 2
[    0.645755] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.648407] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.651270] TCP: Hash tables configured (established 1024 bind 1024)
[    0.654373] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.656862] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.660127] NET: Registered protocol family 1
[    0.666940] Crashlog allocated RAM at address 0x3f00000
[    0.670587] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.680724] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.682751] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT        Y) (c) 2001-2006 Red Hat, Inc.
[    0.700866] io scheduler noop registered
[    0.702022] io scheduler deadline registered (default)
[    0.704968] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.710510] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 15        62500) is a AR933X UART
[    0.714299] console [ttyATH0] enabled
[    0.714299] console [ttyATH0] enabled
[    0.717421] bootconsole [early0] disabled
[    0.717421] bootconsole [early0] disabled
[    0.730311] m25p80 spi0.0: found w25q128, expected m25p80
[    0.742089] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.743643] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.746321] Creating 5 MTD partitions on "spi0.0":
[    0.748540] 0x000000000000-0x000000040000 : "u-boot"
[    0.752925] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.757475] 0x000000050000-0x000000fe0000 : "firmware"
[    0.781079] 2 uimage-fw partitions found on MTD device firmware
[    0.783176] 0x000000050000-0x0000001e0000 : "kernel"
[    0.786501] 0x0000001e0000-0x000000fe0000 : "rootfs"
[    0.789100] mtd: device 4 (rootfs) set to be root filesystem
[    0.791174] 1 squashfs-split partitions found on MTD device rootfs
[    0.793924] 0x000000450000-0x000000fe0000 : "rootfs_data"
[    0.800354] 0x000000fe0000-0x000000ff0000 : "nvram"
[    0.803933] 0x000000ff0000-0x000001000000 : "art"
[    0.809596] libphy: Fixed MDIO Bus: probed
[    0.832828] libphy: ag71xx_mdio: probed
[    1.461477] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[    1.503389] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    2.131774] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0        41, driver=Generic PHY]
[    2.136177] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    2.140860] NET: Registered protocol family 10
[    2.148727] Segment Routing with IPv6
[    2.149894] NET: Registered protocol family 17
[    2.151967] bridge: filtering via arp/ip/ip6tables is no longer available by         default. Update your scripts to load br_netfilter if you need this.
[    2.158529] 8021q: 802.1Q VLAN Support v1.8
[    2.162159] hctosys: unable to open rtc device (rtc0)
It seems like a kind of BIOS is still runing, but the operating System is broken. Is there a chance to flash a new image into the arduino?

Thank you very much for your support!

BR
Chris


ard24


Go Up