Closed bangonkali closed 10 years ago
In my next attempt, I pulled the latest version of linux-socfpga git source from rocketboards. The result is the same, but the version is bumped to 3.13 and no longer a release candidate.
reading uImage
2260776 bytes read
reading socfpga.dtb
9806 bytes read
## Booting kernel from Legacy Image at 00007fc0 ...
Image Name: Linux-3.13.0-09218-g0e47c96
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2260712 Bytes = 2.2 MiB
Load Address: 00008000
Entry Point: 00008000
## Flattened Device Tree blob at 00000100
Booting using the fdt blob at 0x00000100
XIP Kernel Image ... OK
OK
Loading Device Tree to 0fff9000, end 0fffe64d ... OK
Starting kernel ...
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Linux version 3.13.0-09218-g0e47c96 (poky@poky) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #2 SMP Thu Jan 30 08:31:57 PHT 2014
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Terasic SoCkit
Truncating RAM at 00000000-3fffffff to -2f7fffff (vmalloc region overlap).
Memory policy: Data cache writealloc
BUG: mapping for 0xfffec000 at 0xfffec000 out of vmalloc space
PERCPU: Embedded 8 pages/cpu @ef1f0000 s11328 r8192 d13248 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 193040
Kernel command line: console=ttyS0,57600 root=/dev/mmcblk0p2 rw rootwait
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 766688K/778240K available (3034K kernel code, 155K rwdata, 912K rodata, 203K init, 216K bss, 11552K reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc03e2b2c (3947 kB)
.init : 0xc03e3000 - 0xc0415c40 ( 204 kB)
.data : 0xc0416000 - 0xc043ceb8 ( 156 kB)
.bss : 0xc043ceb8 - 0xc04731d4 ( 217 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949672950ns
Console: colour dummy device 80x30
Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x2e1ec0 - 0x2e1f18
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated.
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410030c9, AUX_CTRL 0x02060000, Cache size: 512 kB
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
bio: create slab <bio-0> at 0
SCSI subsystem initialized
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Switched to clocksource timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
futex hash table entries: 512 (order: 3, 32768 bytes)
NTFS driver 2.1.30 [Flags: R/W].
msgmni has been set to 1497
io scheduler noop registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 194, base_baud = 6250000) is a 16550A
console [ttyS0] enabled
brd: module loaded
stmmaceth ff702000.ethernet: no reset control found
Ring mode enabled
No HW DMA feature register supported
Normal descriptors
RX IPC Checksum Offload not configured.
Wake-Up On Lan supported
libphy: stmmac: probed
eth0: PHY ID 00000000 at 0 IRQ 0 (stmmac-1:00) active
eth0: PHY ID 00000000 at 1 IRQ 0 (stmmac-1:01)
eth0: PHY ID 00000000 at 2 IRQ 0 (stmmac-1:02)
eth0: PHY ID 00000000 at 3 IRQ 0 (stmmac-1:03)
eth0: PHY ID 00000000 at 4 IRQ 0 (stmmac-1:04)
eth0: PHY ID 00000000 at 5 IRQ 0 (stmmac-1:05)
eth0: PHY ID 00000000 at 6 IRQ 0 (stmmac-1:06)
eth0: PHY ID 00000000 at 7 IRQ 0 (stmmac-1:07)
eth0: PHY ID 00000000 at 8 IRQ 0 (stmmac-1:08)
eth0: PHY ID 00000000 at 9 IRQ 0 (stmmac-1:09)
eth0: PHY ID 00000000 at 10 IRQ 0 (stmmac-1:0a)
eth0: PHY ID 00000000 at 11 IRQ 0 (stmmac-1:0b)
eth0: PHY ID 00000000 at 12 IRQ 0 (stmmac-1:0c)
eth0: PHY ID 00000000 at 13 IRQ 0 (stmmac-1:0d)
eth0: PHY ID 00000000 at 14 IRQ 0 (stmmac-1:0e)
eth0: PHY ID 00000000 at 15 IRQ 0 (stmmac-1:0f)
eth0: PHY ID 00000000 at 16 IRQ 0 (stmmac-1:10)
eth0: PHY ID 00000000 at 17 IRQ 0 (stmmac-1:11)
eth0: PHY ID 00000000 at 18 IRQ 0 (stmmac-1:12)
eth0: PHY ID 00000000 at 19 IRQ 0 (stmmac-1:13)
eth0: PHY ID 00000000 at 20 IRQ 0 (stmmac-1:14)
eth0: PHY ID 00000000 at 21 IRQ 0 (stmmac-1:15)
eth0: PHY ID 00000000 at 22 IRQ 0 (stmmac-1:16)
eth0: PHY ID 00000000 at 23 IRQ 0 (stmmac-1:17)
eth0: PHY ID 00000000 at 24 IRQ 0 (stmmac-1:18)
eth0: PHY ID 00000000 at 25 IRQ 0 (stmmac-1:19)
eth0: PHY ID 00000000 at 26 IRQ 0 (stmmac-1:1a)
eth0: PHY ID 00000000 at 27 IRQ 0 (stmmac-1:1b)
eth0: PHY ID 00000000 at 28 IRQ 0 (stmmac-1:1c)
eth0: PHY ID 00000000 at 29 IRQ 0 (stmmac-1:1d)
eth0: PHY ID 00000000 at 30 IRQ 0 (stmmac-1:1e)
eth0: PHY ID 00000000 at 31 IRQ 0 (stmmac-1:1f)
mousedev: PS/2 mouse device common for all mice
oprofile: no performance counters
oprofile: using timer interrupt.
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
ThumbEE CPU extension supported.
Registering SWP/SWPB emulation handler
Waiting for root device /dev/mmcblk0p2...
Your kernel versions seem different from mine. Are you sure you've checked out the correct tag? Look back at part II, there's a line telling you to checkout a specific kernel commit in the rocketboards.org repo.
git checkout -b sockit ACDS13.1_REL_GSRD_PR
I think it's hopeless, it seems that the board indeed have problems.
To test this i inserted a working images of an sd card that I have saved before. It now stops at this points also. The same case for the working image of Linaro Ubuntu from rocketboards. I believe the board is having trouble reading from mmc.
2826640 bytes read
reading socfpga.dtb
15595 bytes read
reading soc_system.rbf
7007184 bytes read
altera_load: Failed with error code -4
## Booting kernel from Legacy Image at 00007fc0 ...
Image Name: Linux-3.8.0-00111-g85cc90f
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2826576 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
## Flattened Device Tree blob at 00000100
Booting using the fdt blob at 0x00000100
XIP Kernel Image ... OK
OK
Loading Device Tree to 0fff8000, end 0fffecea ... OK
Starting kernel ...
Oh, yeah, that is possible. If the previously working image is no longer working than some connection must have been broken. I'm really sorry to hear that.
On Wed, Jan 29, 2014 at 11:12 PM, Bangon Kali notifications@github.comwrote:
I think it's hopeless, it seems that the board indeed have problems.
To test this i inserted a working images of an sd card that I have saved before. It now stops at this points also. The same case for the working image of Linaro Ubuntu from rocketboards. I believe the board is having trouble reading from mmc.
2826640 bytes read reading socfpga.dtb
15595 bytes read reading soc_system.rbf
7007184 bytes read altera_load: Failed with error code -4
Booting kernel from Legacy Image at 00007fc0 ...
Image Name: Linux-3.8.0-00111-g85cc90f Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2826576 Bytes = 2.7 MiB Load Address: 00008000 Entry Point: 00008000
Flattened Device Tree blob at 00000100
Booting using the fdt blob at 0x00000100 XIP Kernel Image ... OK OK Loading Device Tree to 0fff8000, end 0fffecea ... OK
Starting kernel ...
Reply to this email directly or view it on GitHubhttps://github.com/zhemao/zhemao.github.com/issues/8#issuecomment-33665069 .
This has indeed become very frustrating. Anyway, I've already purchased another board. Also it seems that terasic has replied and they are saying to comply with the return letter. There's some possibility that I might be able to avail of the warranty.
I followed Part 2 once again, however, my FPGA hangs when seeking for root device
/dev/mmcblk0p2
. I am using the same FPGA that was broken, I had no choice since Altera has not yet replied to me. However, I have ordered a new one from Arrow, and I'm hoping to get one of those that had reinforcements for the USB Ports.Anyway, Since it booted up to some point maybe the system is fine, and the damage was isolated to the USB Blaster Port.
Here's the log up to when it stopped:
Heres my partition table:
Contents of sdb2:
Contents of sdb1:
My problem is that the entire boot process halts at the last line of the first log: