This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to Run the Linux Filesystem on Juno r0 with an USB Flash Disk Plugging in USB 2.0

Hi, 

I'm using Juno r0 and want to run Linux on that.

But there is something wrong when I power up Juno. 

ARM V2M-Juno Boot loader v1.0.0
HBI0262 build 616

ARM V2M_Juno Firmware v1.1.8
Build Date: Jun 17 2014

Time :  17:01:54
Date :  20:07:2068

Cmd>
Powering up system...

Switching on ATXPSU...
PMIC RAM configuration (pms_v103.bin)...
MBtemp   : 28 degC

Configuring motherboard (rev B, var B)...
IOFPGA image \MB\HBI0262B\io_b115.bit
IOFPGA  config: PASSED
OSC CLK config: PASSED

Configuring SCC registers...
Writing SCC 0x0000005C with 0xFFFFFFFF
Writing SCC 0x00000100 with 0x801F1000
Writing SCC 0x00000104 with 0x0000F100
Writing SCC 0x00000108 with 0x801B1000
Writing SCC 0x0000010C with 0x0000D100
Writing SCC 0x000000F8 with 0x0BEC0000
Writing SCC 0x00000054 with 0x0003FFFE
Writing SCC 0x0000000C with 0x000000C2

Peripheral ID0:0x000000AD
Peripheral ID1:0x000000B0
Peripheral ID2:0x0000000B
Peripheral ID3:0x00000000
Peripheral ID4:0x0000000D
Peripheral ID5:0x000000F0
Peripheral ID6:0x00000005
Peripheral ID7:0x000000B1

Programming NOR Flash
PCIE clock configured...

Testing motherboard interfaces (FPGA build 115)...
SRAM 32MB test: PASSED
LAN9118   test: PASSED
KMI1/2    test: PASSED
MMC       test: PASSED
PB/LEDs   test: PASSED
FPGA UART test: PASSED
PCIe init test: PASSED
MAC addrs test: PASSED

Setting HDMI0 mode for SVGA.
Setting HDMI1 mode for SVGA.

SoC SMB clock enabled.

Testing SMB clock...
SMB clock running
Releasing system resets...

UART0 set to SoC UART0
UART1 set to SoC UART1

NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.0(release):14b6608
NOTICE:  BL1: Built : 20:18:08, Feb  3 2015
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v1.0(debug):
NOTICE:  BL2: Built : 04:17:59, May  9 2015
INFO:    BL2: Loading BL3-0
INFO:    Using FIP
INFO:    Loading file 'bl30.bin' at address 0x4009000
INFO:    File 'bl30.bin' loaded: 0x4009000 - 0x4014a64
INFO:    BL2: BL3-0 transferred to SCP
INFO:    BL2: Loading BL3-1
INFO:    Using FIP
INFO:    Loading file 'bl31.bin' at address 0x4009000
INFO:    File 'bl31.bin' loaded: 0x4009000 - 0x4012410
INFO:    BL2: Loading BL3-2
INFO:    Using FIP
INFO:    Loading file 'bl32.bin' at address 0x4023000
INFO:    File 'bl32.bin' loaded: 0x4023000 - 0x4025008
INFO:    BL2: Loading BL3-3
INFO:    Using FIP
INFO:    Loading file 'bl33.bin' at address 0xe0000000
INFO:    File 'bl33.bin' loaded: 0xe0000000 - 0xe00f0000
NOTICE:  BL1: Booting BL3-1
NOTICE:  BL3-1: v1.0(debug):
NOTICE:  BL3-1: Built : 15:59:38, Aug 12 2015
INFO:    BL3-1: Initializing runtime services
copy_linux_image... done!
*  ramdisk: cmdline image address = 0x09000000
## Loading Ramdisk from Legacy Image at 09000000 ...
   Image Name:   SDR Ramdisk Image
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1646303 Bytes
   Load Address: 0x00000000
   Entry Point:  0x00000000
   Verifying Checksum ... OK
   ramdisk start = 0x09000040, ramdisk end = 0x09191f1f
linux,initrd-start = 0x00000000c4000000
copy_linux_dtb... len = 11923 done!
linux,initrd-end   = 0x00000000c4191edf
BL3-1: Preparing for EL3 exit to Linux OS world!
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 3.10.55-EMBSYS-CGEL-5.01.30.P0-ga59a113-dirty (root@localhost.localdomain) (gcc version 4.9.3 20150113 (prerelease) (Linaro GCC 2015.02) ) #39 SMP Thu Feb 25 03:34:49 Local time zone must be set--see zic
[    0.000000] CPU: AArch64 Processor [410fd030] revision 0
[    0.000000] Machine: Juno
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] On node 0 totalpages: 258048
[    0.000000]   DMA zone: 3528 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 258048 pages, LIFO batch:31
[    0.000000] psci: probing function IDs from device-tree
[    0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc03efa2000 s18816 r8192 d22144 u49152
[    0.000000] pcpu-alloc: s18816 r8192 d22144 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 254520
[    0.000000] Kernel command line: console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/ram0 rw verbose debug
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 1008MB = 1008MB total
[    0.000000] Memory: 1005576k/1005576k available, 26616k reserved
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000   (245759 MB)
[    0.000000]     vmemmap : 0xffffffbc02a00000 - 0xffffffbc037c8000   (    13 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc03f000000   (  1008 MB)
[    0.000000]       .init : 0xffffffc0007c7000 - 0xffffffc00080a980   (   271 kB)
[    0.000000]       .text : 0xffffffc000080000 - 0xffffffc0007c6464   (  7450 kB)
[    0.000000]       .data : 0xffffffc00080b000 - 0xffffffc00086f4d8   (   402 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] *****arm timer set!*****
[    0.000000] Architected cp15 and mmio timer(s) running at 50.00MHz (phys/phys).
[    0.000000] Console: colour dummy device 80x25
[    1.495873] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=500000)
[    1.506305] pid_max: default: 32768 minimum: 301
[    1.511012] Security Framework initialized
[    1.515124] AppArmor: AppArmor initialized
[    1.519244] Mount-cache hash table entries: 256
[    1.526726] /cpus/cpu@100: Missing clock-frequency property
[    1.532288] /cpus/cpu@0: Missing clock-frequency property
[    1.537687] /cpus/cpu@1: Missing clock-frequency property
[    1.543077] /cpus/cpu@101: Missing clock-frequency property
[    1.548648] /cpus/cpu@102: Missing clock-frequency property
[    1.554213] /cpus/cpu@103: Missing clock-frequency property
[    1.559782] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
core 0x102 GICC_CTL = 0x000001ed
core 0x103 GICC_CTL = 0x000001ed
[    1.569444] CPU1: Booted secondary processor
[    1.570315] CPU2: Booted secondary processor
[    1.571079] CPU3: Booted secondary processor
[    1.571926] CPU4: Booted secondary processor
[    1.574838] CPU5: Booted secondary processor
[    1.574986] Brought up 6 CPUs
[    1.601875] SMP: Total of 6 processors activated (600.00 BogoMIPS).
[    1.608788] devtmpfs: initialized
[    1.621423] xor: measuring software checksum speed
[    1.726264]    8regs     :  1343.200 MB/sec
[    1.826307]    8regs_prefetch:  1266.000 MB/sec
[    1.926351]    32regs    :  1536.400 MB/sec
[    2.026392]    32regs_prefetch:  1387.200 MB/sec
[    2.030996] xor: using function: 32regs (1536.400 MB/sec)
[    2.036882] NET: Registered protocol family 16
[    2.042495] vdso: 2 pages (1 code, 1 data) at base ffffffc000811000
[    2.048778] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    2.057237] software IO TLB [mem 0xfd400000-0xfd800000] (4MB) mapped at [ffffffc03d400000-ffffffc03d7fffff]
[    2.066966] Serial: AMBA PL011 UART driver
[    2.073828] 7ff80000.uart: ttyAMA0 at MMIO 0x7ff80000 (irq = 115) is a PL011 rev3
[    2.081318] console [ttyAMA0] enabled, bootconsole disabled
[    2.081318] console [ttyAMA0] enabled, bootconsole disabled
[    2.108961] bio: create slab <bio-0> at 0
[    2.283101] raid6: int64x1    278 MB/s
[    2.453261] raid6: int64x2    415 MB/s
[    2.623300] raid6: int64x4    601 MB/s
[    2.793414] raid6: int64x8    675 MB/s
[    2.797121] raid6: using algorithm int64x8 (675 MB/s)
[    2.802117] raid6: using intx1 recovery algorithm
[    2.807578] SCSI subsystem initialized
[    2.811839] usbcore: registered new interface driver usbfs
[    2.817381] usbcore: registered new interface driver hub
[    2.822767] usbcore: registered new device driver usb
[    2.829362] NetLabel: Initializing
[    2.832726] NetLabel:  domain hash size = 128
[    2.837034] NetLabel:  protocols = UNLABELED CIPSOv4
[    2.842000] NetLabel:  unlabeled traffic allowed by default
[    2.847611] Switching to clocksource arch_sys_counter
[    2.861281] AppArmor: AppArmor Filesystem Enabled
[    2.876275] NET: Registered protocol family 2
[    2.881314] TCP established hash table entries: 8192 (order: 5, 131072 bytes)
[    2.888599] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    2.895310] TCP: Hash tables configured (established 8192 bind 8192)
[    2.901680] TCP: reno registered
[    2.904887] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.910779] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.917345] NET: Registered protocol family 1
[    2.921905] RPC: Registered named UNIX socket transport module.
[    2.927775] RPC: Registered udp transport module.
[    2.932427] RPC: Registered tcp transport module.
[    2.937084] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.943569] Unpacking initramfs...
[    3.053517] Freeing initrd memory: 1604K (ffffffc004000000 - ffffffc004191000)
[    3.061661] audit: initializing netlink socket (disabled)
[    3.067045] type=2000 audit(1.520:1): initialized
[    3.073104] VFS: Disk quotas dquot_6.5.2
[    3.077113] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    3.084516] NFS: Registering the id_resolver key type
[    3.089562] Key type id_resolver registered
[    3.093708] Key type id_legacy registered
[    3.098022] bio: create slab <bio-1> at 1
[    3.102329] Btrfs loaded
[    3.104856] msgmni has been set to 1967
[    3.109372] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    3.116703] io scheduler noop registered
[    3.120583] io scheduler deadline registered
[    3.124864] io scheduler cfq registered (default)
[    3.199818] smsc911x: Driver version 2008-10-21
[    3.206178] libphy: smsc911x-mdio: probed
[    3.210203] smsc911x 18000000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=18000000.etherne:01, irq=-1)
[    3.221583] smsc911x 18000000.ethernet eth0: MAC Address: 00:02:f7:00:5a:65
[    3.228592] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.235063] ehci-h20ahb: H20AHB-EHCI Host Controller driver
[    3.240609] Hello CGEL
[    3.242949] ehci_hcd_h20ahb_probe : 1
[    3.246569] ehci_hcd_h20ahb_probe : 2
[    3.250188] ehci_hcd_h20ahb_probe : 3
[    3.253827] ehci_hcd_h20ahb_probe : 4
[    3.257446] ehci_hcd_h20ahb_probe : 5
[    3.261065] ehci_hcd_h20ahb_probe : 6
[    3.264694] ehci_hcd_h20ahb_probe : 7
[    3.268316] ehci_hcd_h20ahb_probe : 8
[    3.271935] ehci_hcd_h20ahb_probe : 9
[    3.275561] ehci_hcd_h20ahb_probe : 10
[    3.279269] ehci_hcd_h20ahb_probe : 11
[    3.282982] ehci_hcd_h20ahb_probe : 12
[    3.286687] ehci_hcd_h20ahb_probe : 13
[    3.290397] ehci-h20ahb 7ffc0000.ehci: EHCI Host Controller
[    3.295932] ehci-h20ahb 7ffc0000.ehci: new USB bus registered, assigned bus number 1
[    3.303676] ehci-h20ahb 7ffc0000.ehci: irq 149, io mem 0x7ffc0000
[    3.309709] ehci-h20ahb 7ffc0000.ehci: enabled 64bit DMA
[    3.332688] ehci-h20ahb 7ffc0000.ehci: USB 2.0 started, EHCI 1.00
[    3.339263] hub 1-0:1.0: USB hub found
[    3.342998] hub 1-0:1.0: 1 port detected
[    3.346977] ehci_hcd_h20ahb_probe : 14
[    3.350684] ehci_hcd_h20ahb_probe : 15
[    3.354399] Big-Endian Kernel
[    3.357334] step1 i = 0
[    3.359754] ULPI transceiver vendor/product ID 0x0424/0x0009
[    3.365361] ULPI integrity check: passed.
[    3.369327] step2 i = 0
[    3.371742] ehci_hcd_h20ahb_probe : 16
[    3.375598] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.381878] usbcore: registered new interface driver usb-storage
[    3.388446] mousedev: PS/2 mouse device common for all mice
[    3.394876] usbcore: registered new interface driver usbhid
[    3.400390] usbhid: USB HID core driver
[    3.404485] TCP: cubic registered
[    3.407763] Initializing XFRM netlink socket
[    3.412091] NET: Registered protocol family 10
[    3.417169] sit: IPv6 over IPv4 tunneling driver
[    3.422360] NET: Registered protocol family 17
[    3.426784] NET: Registered protocol family 15
[    3.431248] Key type dns_resolver registered
▒[    3.437555] Freeing unused kernel memory: 268K (ffffffc0007c7000 - ffffffc00080a000)
'yslogd: invalid number '8
: not found/rcS: line 15:
/bin/sh: exec: line 1: /bin/sw: not found

Processing /etc/profile... Done

# [    3.662688] usb 1-1: new high-speed USB device number 2 using ehci-h20ahb
[    3.813641] hub 1-1:1.0: USB hub found
[    3.817475] hub 1-1:1.0: 4 ports detected
[    4.392682] atkbd serio0: keyboard reset failed on 1c060000.kmi
[    5.082773] usb 1-1.3: new high-speed USB device number 3 using ehci-h20ahb
[    5.229831] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    5.236190] scsi0 : usb-storage 1-1.3:1.0
[    5.602695] atkbd serio1: keyboard reset failed on 1c070000.kmi
[    6.233657] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 3.0      PQ: 0 ANSI: 6
[    6.242853] sd 0:0:0:0: [sda] 30218842 512-byte logical blocks: (15.4 GB/14.4 GiB)
[    6.250967] sd 0:0:0:0: [sda] Write Protect is off
[    6.255729] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00
[    6.261343] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    6.275979]  sda: sda1
[    6.280839] sd 0:0:0:0: [sda] Attached SCSI removable disk

#

After reading getting stared guide, I erase the flash as follows: (I don't have an USB cable right now)

Cmd> flash
Switching on main power...
PMIC RAM configuration (pms_v104.bin)...
IOFPGA config: PASSED
Flash> eraseall
Erasing flash device
Erasing Flash
........................
Erasing Flash
....
Flash> exit
Switching off ATX PSU.
Cmd>

But there still is something wrong when I reboot.

Cmd> reboot

Powering up system...

Switching on ATXPSU...
PMIC RAM configuration (pms_v103.bin)...
MBtemp   : 28 degC

Configuring motherboard (rev B, var B)...
IOFPGA image \MB\HBI0262B\io_b115.bit
IOFPGA  config: PASSED
OSC CLK config: PASSED

Configuring SCC registers...
Writing SCC 0x0000005C with 0xFFFFFFFF
Writing SCC 0x00000100 with 0x801F1000
Writing SCC 0x00000104 with 0x0000F100
Writing SCC 0x00000108 with 0x801B1000
Writing SCC 0x0000010C with 0x0000D100
Writing SCC 0x000000F8 with 0x0BEC0000
Writing SCC 0x00000054 with 0x0003FFFE
Writing SCC 0x0000000C with 0x000000C2

Peripheral ID0:0x000000AD
Peripheral ID1:0x000000B0
Peripheral ID2:0x0000000B
Peripheral ID3:0x00000000
Peripheral ID4:0x0000000D
Peripheral ID5:0x000000F0
Peripheral ID6:0x00000005
Peripheral ID7:0x000000B1

Programming NOR Flash
Erasing Flash
.....
Writing File fip to Flash Address 0x08000000
..........
Image: fip UPDATED from \SOFTWARE\fip.bin
Erasing Flash
.
Writing File bl1 to Flash Address 0x0BEC0000

Image: bl1 UPDATED from \SOFTWARE\bl1.bin
Erasing Flash
................................
Writing File Image to Flash Address 0x08500000
.................................................................................
Image: Image UPDATED from \SOFTWARE\Image
Erasing Flash
.
Writing File juno to Flash Address 0x08F00000

Image: juno UPDATED from \SOFTWARE\juno.dtb
PCIE clock configured...

Testing motherboard interfaces (FPGA build 115)...
SRAM 32MB test: PASSED
LAN9118   test: PASSED
KMI1/2    test: PASSED
MMC       test: PASSED
PB/LEDs   test: PASSED
FPGA UART test: PASSED
PCIe init test: PASSED
MAC addrs test: PASSED

Setting HDMI0 mode for SVGA.
Setting HDMI1 mode for SVGA.

SoC SMB clock enabled.

Testing SMB clock...
SMB clock running
Releasing system resets...

UART0 set to SoC UART0
UART1 set to SoC UART1

NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.0(release):14b6608
NOTICE:  BL1: Built : 20:18:08, Feb  3 2015
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v1.0(debug):
NOTICE:  BL2: Built : 04:17:59, May  9 2015
INFO:    BL2: Loading BL3-0
INFO:    Using FIP
INFO:    Loading file 'bl30.bin' at address 0x4009000
INFO:    File 'bl30.bin' loaded: 0x4009000 - 0x4014a64
INFO:    BL2: BL3-0 transferred to SCP
INFO:    BL2: Loading BL3-1
INFO:    Using FIP
INFO:    Loading file 'bl31.bin' at address 0x4009000
INFO:    File 'bl31.bin' loaded: 0x4009000 - 0x4012410
INFO:    BL2: Loading BL3-2
INFO:    Using FIP
INFO:    Loading file 'bl32.bin' at address 0x4023000
INFO:    File 'bl32.bin' loaded: 0x4023000 - 0x4025008
INFO:    BL2: Loading BL3-3
INFO:    Using FIP
INFO:    Loading file 'bl33.bin' at address 0xe0000000
INFO:    File 'bl33.bin' loaded: 0xe0000000 - 0xe00f0000
NOTICE:  BL1: Booting BL3-1
NOTICE:  BL3-1: v1.0(debug):
NOTICE:  BL3-1: Built : 15:59:38, Aug 12 2015
INFO:    BL3-1: Initializing runtime services
copy_linux_image... done!
*  ramdisk: cmdline image address = 0x09000000
Wrong Ramdisk Image Format
## No init Ramdisk
   ramdisk start = 0x00000000, ramdisk end = 0x00000000
linux,initrd-start = 0x00000000c4000000
copy_linux_dtb... len = 11923 done!
linux,initrd-end   = 0x00000000c4000000
BL3-1: Preparing for EL3 exit to Linux OS world!
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 3.10.55-EMBSYS-CGEL-5.01.30.P0-ga59a113-dirty (root@localhost.localdomain) (gcc version 4.9.3 20150113 (prerelease) (Linaro GCC 2015.02) ) #39 SMP Thu Feb 25 03:34:49 Local time zone must be set--see zic
[    0.000000] CPU: AArch64 Processor [410fd030] revision 0
[    0.000000] Machine: Juno
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] On node 0 totalpages: 258048
[    0.000000]   DMA zone: 3528 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 258048 pages, LIFO batch:31
[    0.000000] psci: probing function IDs from device-tree
[    0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc03efa2000 s18816 r8192 d22144 u49152
[    0.000000] pcpu-alloc: s18816 r8192 d22144 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 254520
[    0.000000] Kernel command line: console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/ram0 rw verbose debug
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 1008MB = 1008MB total
[    0.000000] Memory: 1007184k/1007184k available, 25008k reserved
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000   (245759 MB)
[    0.000000]     vmemmap : 0xffffffbc02a00000 - 0xffffffbc037c8000   (    13 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc03f000000   (  1008 MB)
[    0.000000]       .init : 0xffffffc0007c7000 - 0xffffffc00080a980   (   271 kB)
[    0.000000]       .text : 0xffffffc000080000 - 0xffffffc0007c6464   (  7450 kB)
[    0.000000]       .data : 0xffffffc00080b000 - 0xffffffc00086f4d8   (   402 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] *****arm timer set!*****
[    0.000000] Architected cp15 and mmio timer(s) running at 50.00MHz (phys/phys).
[    0.000000] Console: colour dummy device 80x25
[    1.274828] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=500000)
[    1.285260] pid_max: default: 32768 minimum: 301
[    1.289966] Security Framework initialized
[    1.294078] AppArmor: AppArmor initialized
[    1.298199] Mount-cache hash table entries: 256
[    1.305673] /cpus/cpu@100: Missing clock-frequency property
[    1.311236] /cpus/cpu@0: Missing clock-frequency property
[    1.316635] /cpus/cpu@1: Missing clock-frequency property
[    1.322025] /cpus/cpu@101: Missing clock-frequency property
[    1.327595] /cpus/cpu@102: Missing clock-frequency property
[    1.333159] /cpus/cpu@103: Missing clock-frequency property
[    1.338728] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
core 0x102 GICC_CTL = 0x000001ed
core 0x103 GICC_CTL = 0x000001ed
[    1.348390] CPU1: Booted secondary processor
[    1.349261] CPU2: Booted secondary processor
[    1.350019] CPU3: Booted secondary processor
[    1.350868] CPU4: Booted secondary processor
[    1.353781] CPU5: Booted secondary processor
[    1.353928] Brought up 6 CPUs
[    1.380818] SMP: Total of 6 processors activated (600.00 BogoMIPS).
[    1.387730] devtmpfs: initialized
[    1.400378] xor: measuring software checksum speed
[    1.505219]    8regs     :  1343.200 MB/sec
[    1.605261]    8regs_prefetch:  1266.000 MB/sec
[    1.705305]    32regs    :  1536.400 MB/sec
[    1.805347]    32regs_prefetch:  1387.200 MB/sec
[    1.809951] xor: using function: 32regs (1536.400 MB/sec)
[    1.815835] NET: Registered protocol family 16
[    1.821446] vdso: 2 pages (1 code, 1 data) at base ffffffc000811000
[    1.827731] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    1.836185] software IO TLB [mem 0xfd400000-0xfd800000] (4MB) mapped at [ffffffc03d400000-ffffffc03d7fffff]
[    1.845915] Serial: AMBA PL011 UART driver
[    1.852784] 7ff80000.uart: ttyAMA0 at MMIO 0x7ff80000 (irq = 115) is a PL011 rev3
[    1.860274] console [ttyAMA0] enabled, bootconsole disabled
[    1.860274] console [ttyAMA0] enabled, bootconsole disabled
[    1.887917] bio: create slab <bio-0> at 0
[    2.062034] raid6: int64x1    278 MB/s
[    2.232230] raid6: int64x2    415 MB/s
[    2.402249] raid6: int64x4    601 MB/s
[    2.572366] raid6: int64x8    675 MB/s
[    2.576073] raid6: using algorithm int64x8 (675 MB/s)
[    2.581069] raid6: using intx1 recovery algorithm
[    2.586528] SCSI subsystem initialized
[    2.590787] usbcore: registered new interface driver usbfs
[    2.596330] usbcore: registered new interface driver hub
[    2.601716] usbcore: registered new device driver usb
[    2.608314] NetLabel: Initializing
[    2.611679] NetLabel:  domain hash size = 128
[    2.615986] NetLabel:  protocols = UNLABELED CIPSOv4
[    2.620951] NetLabel:  unlabeled traffic allowed by default
[    2.626564] Switching to clocksource arch_sys_counter
[    2.641357] AppArmor: AppArmor Filesystem Enabled
[    2.656334] NET: Registered protocol family 2
[    2.661379] TCP established hash table entries: 8192 (order: 5, 131072 bytes)
[    2.668664] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    2.675379] TCP: Hash tables configured (established 8192 bind 8192)
[    2.681759] TCP: reno registered
[    2.684957] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.690849] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.697417] NET: Registered protocol family 1
[    2.702022] RPC: Registered named UNIX socket transport module.
[    2.707885] RPC: Registered udp transport module.
[    2.712557] RPC: Registered tcp transport module.
[    2.717209] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.724522] audit: initializing netlink socket (disabled)
[    2.729900] type=2000 audit(1.400:1): initialized
[    2.735893] VFS: Disk quotas dquot_6.5.2
[    2.739899] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.747304] NFS: Registering the id_resolver key type
[    2.752338] Key type id_resolver registered
[    2.756476] Key type id_legacy registered
[    2.760755] bio: create slab <bio-1> at 1
[    2.765079] Btrfs loaded
[    2.767593] msgmni has been set to 1967
[    2.772101] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    2.779424] io scheduler noop registered
[    2.783314] io scheduler deadline registered
[    2.787570] io scheduler cfq registered (default)
[    2.859320] smsc911x: Driver version 2008-10-21
[    2.864833] libphy: smsc911x-mdio: probed
[    2.868857] smsc911x 18000000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=18000000.etherne:01, irq=-1)
[    2.880250] smsc911x 18000000.ethernet eth0: MAC Address: 00:02:f7:00:5a:65
[    2.887287] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.893758] ehci-h20ahb: H20AHB-EHCI Host Controller driver
[    2.899311] Hello CGEL
[    2.901653] ehci_hcd_h20ahb_probe : 1
[    2.905273] ehci_hcd_h20ahb_probe : 2
[    2.908893] ehci_hcd_h20ahb_probe : 3
[    2.912531] ehci_hcd_h20ahb_probe : 4
[    2.916151] ehci_hcd_h20ahb_probe : 5
[    2.919770] ehci_hcd_h20ahb_probe : 6
[    2.923402] ehci_hcd_h20ahb_probe : 7
[    2.927021] ehci_hcd_h20ahb_probe : 8
[    2.930640] ehci_hcd_h20ahb_probe : 9
[    2.934265] ehci_hcd_h20ahb_probe : 10
[    2.937975] ehci_hcd_h20ahb_probe : 11
[    2.941686] ehci_hcd_h20ahb_probe : 12
[    2.945393] ehci_hcd_h20ahb_probe : 13
[    2.949104] ehci-h20ahb 7ffc0000.ehci: EHCI Host Controller
[    2.954645] ehci-h20ahb 7ffc0000.ehci: new USB bus registered, assigned bus number 1
[    2.962397] ehci-h20ahb 7ffc0000.ehci: irq 149, io mem 0x7ffc0000
[    2.968430] ehci-h20ahb 7ffc0000.ehci: enabled 64bit DMA
[    2.991635] ehci-h20ahb 7ffc0000.ehci: USB 2.0 started, EHCI 1.00
[    2.998091] hub 1-0:1.0: USB hub found
[    3.001819] hub 1-0:1.0: 1 port detected
[    3.005770] ehci_hcd_h20ahb_probe : 14
[    3.009476] ehci_hcd_h20ahb_probe : 15
[    3.013190] Big-Endian Kernel
[    3.016123] step1 i = 0
[    3.018542] ULPI transceiver vendor/product ID 0x0424/0x0009
[    3.024147] ULPI integrity check: passed.
[    3.028113] step2 i = 0
[    3.030527] ehci_hcd_h20ahb_probe : 16
[    3.034342] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.040574] usbcore: registered new interface driver usb-storage
[    3.046999] mousedev: PS/2 mouse device common for all mice
[    3.053318] usbcore: registered new interface driver usbhid
[    3.058831] usbhid: USB HID core driver
[    3.062865] TCP: cubic registered
[    3.066142] Initializing XFRM netlink socket
[    3.070452] NET: Registered protocol family 10
[    3.075358] sit: IPv6 over IPv4 tunneling driver
[    3.080439] NET: Registered protocol family 17
[    3.084856] NET: Registered protocol family 15
[    3.089301] Key type dns_resolver registered
▒[    3.321634] usb 1-1: new high-speed USB device number 2 using ehci-h20ahb
[    3.472592] hub 1-1:1.0: USB hub found
[    3.476435] hub 1-1:1.0: 4 ports detected
[    4.051630] atkbd serio0: keyboard reset failed on 1c060000.kmi
[    4.741734] usb 1-1.3: new high-speed USB device number 3 using ehci-h20ahb
[    4.888656] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    4.895008] scsi0 : usb-storage 1-1.3:1.0
[    5.271638] atkbd serio1: keyboard reset failed on 1c070000.kmi
[    5.705885] VFS: Cannot open root device "ram0" or unknown-block(0,0): error -6
[    5.713135] Please append a correct "root=" boot option; here are the available partitions:
[    5.721404] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    5.729587] CPU: 5 PID: 1 Comm: swapper/0 Not tainted 3.10.55-EMBSYS-CGEL-5.01.30.P0-ga59a113-dirty #39
[    5.738883] Call trace:
[    5.741312] [<ffffffc00008808c>] dump_backtrace+0x0/0x128
[    5.746657] [<ffffffc0000881c4>] show_stack+0x10/0x1c
[    5.751662] [<ffffffc0005e08f0>] dump_stack+0x1c/0x28
[    5.756661] [<ffffffc0005de588>] panic+0xe0/0x204
[    5.761319] [<ffffffc0007c7d28>] mount_block_root+0x1c4/0x264
[    5.767005] [<ffffffc0007c7ed8>] mount_root+0x110/0x130
[    5.772176] [<ffffffc0007c8030>] prepare_namespace+0x138/0x184
[    5.777950] [<ffffffc0007c79a4>] kernel_init_freeable+0x214/0x23c
[    5.783989] [<ffffffc0005d8b84>] kernel_init+0x14/0x140
[    5.789161] CPU2: stopping
[    5.791842] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.10.55-EMBSYS-CGEL-5.01.30.P0-ga59a113-dirty #39
[    5.801138] Call trace:
[    5.803562] [<ffffffc00008808c>] dump_backtrace+0x0/0x128
[    5.808906] [<ffffffc0000881c4>] show_stack+0x10/0x1c
[    5.813907] [<ffffffc0005e08f0>] dump_stack+0x1c/0x28
[    5.818905] [<ffffffc00008ee5c>] handle_IPI+0x15c/0x174
[    5.824075] [<ffffffc0000812d8>] gic_handle_irq+0x78/0x90
[    5.829417] Exception stack(0xffffffc03dcfbe20 to 0xffffffc03dcfbf40)
[    5.835794] be20: ffffffc0 3dcf8000 ffffffc0 3dcf8000 ffffffc0 3dcfbf60 ffffffc0 00084e0c
[    5.843890] be40: 00000000 00000592 00000000 00000000 ffffffc0 3efbab64 00000000 00010000
[    5.851986] be60: 00000000 0ccccccd 00000000 00000020 00000002 25c17d03 00000000 00000000
[    5.860082] be80: 00000000 00000018 00000000 0000000d 00000000 00ffff8d 00000000 00000040
[    5.868176] bea0: 00000000 00000000 00000000 00000c00 00000000 2c0eefca 00000000 1c1f1050
[    5.876271] bec0: 00000000 91586881 00000000 03b0570d 00000000 2b536184 ffffffc0 3dcf8000
[    5.884366] bee0: ffffffc0 3dcf8000 ffffffc0 0086c000 ffffffc0 00882a70 ffffffc0 00887518
[    5.892461] bf00: ffffffc0 005e9538 ffffffc0 0086bc2b ffffffc0 0072a140 ffffffc0 00080220
[    5.900556] bf20: 00000040 c0000000 ffffffc0 3dcfbf60 ffffffc0 00084e08 ffffffc0 3dcfbf60
[    5.908651] [<ffffffc000083da8>] el1_irq+0x68/0xc0
[    5.913394] [<ffffffc0000d715c>] cpu_startup_entry+0x150/0x1d0
[    5.919166] [<ffffffc0005db698>] secondary_start_kernel+0x10c/0x11c
[    5.925368] CPU3: stopping
[    5.928049] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.10.55-EMBSYS-CGEL-5.01.30.P0-ga59a113-dirty #39
[    5.937344] Call trace:
[    5.939767] [<ffffffc00008808c>] dump_backtrace+0x0/0x128
[    5.945111] [<ffffffc0000881c4>] show_stack+0x10/0x1c
[    5.950112] [<ffffffc0005e08f0>] dump_stack+0x1c/0x28
[    5.955111] [<ffffffc00008ee5c>] handle_IPI+0x15c/0x174
[    5.960282] [<ffffffc0000812d8>] gic_handle_irq+0x78/0x90
[    5.965624] Exception stack(0xffffffc03dcffe20 to 0xffffffc03dcfff40)
[    5.972003] fe20: ffffffc0 3dcfc000 ffffffc0 3dcfc000 ffffffc0 3dcfff60 ffffffc0 00084e0c
[    5.980102] fe40: 00000000 0000172e 00000000 00000000 ffffffc0 3efc6b64 00000000 00010000
[    5.988200] fe60: 00000000 0ccccccd 00000000 00000020 00000002 25c17d03 00000000 00000000
[    5.996298] fe80: 00000000 00000018 ffffffc0 3dcffd70 00000000 ffff8c34 00000000 00000040
[    6.004396] fea0: 00000000 00000000 00000000 00000800 00000000 00000036 00000000 0000003a
[    6.012494] fec0: 00000000 0000000e 00000000 00000007 00000000 00000001 ffffffc0 3dcfc000
[    6.020593] fee0: ffffffc0 3dcfc000 ffffffc0 0086c000 ffffffc0 00882a70 ffffffc0 00887518
[    6.028692] ff00: ffffffc0 005e9538 ffffffc0 0086bc2b ffffffc0 0072a140 ffffffc0 00080220
[    6.036791] ff20: 00000040 c0000000 ffffffc0 3dcfff60 ffffffc0 00084e08 ffffffc0 3dcfff60
[    6.044886] [<ffffffc000083da8>] el1_irq+0x68/0xc0
[    6.049635] [<ffffffc0000d715c>] cpu_startup_entry+0x150/0x1d0
[    6.055408] [<ffffffc0005db698>] secondary_start_kernel+0x10c/0x11c
[    6.061609] CPU4: stopping
[    6.064288] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 3.10.55-EMBSYS-CGEL-5.01.30.P0-ga59a113-dirty #39
[    6.073584] Call trace:
[    6.076007] [<ffffffc00008808c>] dump_backtrace+0x0/0x128
[    6.081351] [<ffffffc0000881c4>] show_stack+0x10/0x1c
[    6.086351] [<ffffffc0005e08f0>] dump_stack+0x1c/0x28
[    6.091350] [<ffffffc00008ee5c>] handle_IPI+0x15c/0x174
[    6.096520] [<ffffffc0000812d8>] gic_handle_irq+0x78/0x90
[    6.101862] Exception stack(0xffffffc03dd07e20 to 0xffffffc03dd07f40)
[    6.108241] 7e20: ffffffc0 3dd04000 ffffffc0 3dd04000 ffffffc0 3dd07f60 ffffffc0 00084e0c
[    6.116339] 7e40: 00000000 00000b34 00000000 00000000 ffffffc0 3efd2b64 00000000 00010000
[    6.124438] 7e60: 7fffffff ffffffff 00000000 00000000 00000000 3e7cc000 ffffffc0 3efd2928
[    6.132536] 7e80: 00000000 00000018 ffffffc0 3dd07d70 00000000 3e79c000 00000000 00000000
[    6.140634] 7ea0: 00000000 00000000 00000000 00000800 00000000 00000000 ffffffc0 0049a02c
[    6.148733] 7ec0: ffffffc0 004971a4 ffffffc0 0077a660 ffffffc0 00650ab0 ffffffc0 3dd04000
[    6.156831] 7ee0: ffffffc0 3dd04000 ffffffc0 0086c000 ffffffc0 00882a70 ffffffc0 00887518
[    6.164930] 7f00: ffffffc0 005e9538 ffffffc0 0086bc2b ffffffc0 0072a140 ffffffc0 00080220
[    6.173028] 7f20: 00000040 c0000000 ffffffc0 3dd07f60 ffffffc0 00084e08 ffffffc0 3dd07f60
[    6.181123] [<ffffffc000083da8>] el1_irq+0x68/0xc0
[    6.185867] [<ffffffc0000d715c>] cpu_startup_entry+0x150/0x1d0
[    6.191640] [<ffffffc0005db698>] secondary_start_kernel+0x10c/0x11c
[    6.197841] CPU0: stopping
[    6.200520] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.55-EMBSYS-CGEL-5.01.30.P0-ga59a113-dirty #39
[    6.209816] Call trace:
[    6.212238] [<ffffffc00008808c>] dump_backtrace+0x0/0x128
[    6.217583] [<ffffffc0000881c4>] show_stack+0x10/0x1c
[    6.222583] [<ffffffc0005e08f0>] dump_stack+0x1c/0x28
[    6.227582] [<ffffffc00008ee5c>] handle_IPI+0x15c/0x174
[    6.232753] [<ffffffc0000812d8>] gic_handle_irq+0x78/0x90
[    6.238094] Exception stack(0xffffffc00080fde0 to 0xffffffc00080ff00)
[    6.244473] fde0: ffffffc0 0080c000 ffffffc0 0080c000 ffffffc0 0080ff20 ffffffc0 00084e0c
[    6.252572] fe00: 00000000 00000938 00000000 00000000 ffffffc0 3efa2b64 00000000 00010000
[    6.260670] fe20: 00000001 1064aa80 ffffffc0 3cb339c8 00000002 25c17d03 00000000 00000000
[    6.268769] fe40: 00000000 00000018 ffffffc0 0080fd30 00000000 ffff8c35 ffffffc0 3d003c90
[    6.276866] fe60: 00000000 00000001 00000000 00000800 00000000 00000014 00000000 00000000
[    6.284964] fe80: 00000000 00000001 00000000 00000000 00000000 00000001 ffffffc0 0080c000
[    6.293063] fea0: ffffffc0 0080c000 ffffffc0 0086c000 ffffffc0 00882a70 ffffffc0 00887518
[    6.301161] fec0: ffffffc0 005e9538 ffffffc0 0086bc2b ffffffc0 0072a140 ffffffc0 00080478
[    6.309260] fee0: 00000040 c0000000 ffffffc0 0080ff20 ffffffc0 00084e08 ffffffc0 0080ff20
[    6.317355] [<ffffffc000083da8>] el1_irq+0x68/0xc0
[    6.322099] [<ffffffc0000d715c>] cpu_startup_entry+0x150/0x1d0
[    6.327874] [<ffffffc0005d8b64>] rest_init+0x6c/0x78
[    6.332787] [<ffffffc0007c7778>] start_kernel+0x2f8/0x310
[    6.338128] CPU1: stopping
[    6.340808] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.55-EMBSYS-CGEL-5.01.30.P0-ga59a113-dirty #39
[    6.350105] Call trace:
[    6.352527] [<ffffffc00008808c>] dump_backtrace+0x0/0x128
[    6.357871] [<ffffffc0000881c4>] show_stack+0x10/0x1c
[    6.362869] [<ffffffc0005e08f0>] dump_stack+0x1c/0x28
[    6.367867] [<ffffffc00008ee5c>] handle_IPI+0x15c/0x174
[    6.373036] [<ffffffc0000812d8>] gic_handle_irq+0x78/0x90
[    6.378377] Exception stack(0xffffffc03dcf7e20 to 0xffffffc03dcf7f40)
[    6.384755] 7e20: ffffffc0 3dcf4000 ffffffc0 3dcf4000 ffffffc0 3dcf7f60 ffffffc0 00084e0c
[    6.392851] 7e40: 00000000 00001070 00000000 00000000 ffffffc0 3efaeb64 00000000 00010000
[    6.400947] 7e60: 00000000 0ccccccd 00000000 00000020 00000002 25c17d03 00000000 00000000
[    6.409042] 7e80: 00000000 00000018 ffffffc0 3dcf7d70 00000000 ffff8c46 ffffffc0 3dd2bd20
[    6.417137] 7ea0: 00000000 00000001 00000000 00000800 ffffffff fffffff8 00000000 00000014
[    6.425231] 7ec0: 00000000 0000000e 00000000 00000007 00000000 00000001 ffffffc0 3dcf4000
[    6.433326] 7ee0: ffffffc0 3dcf4000 ffffffc0 0086c000 ffffffc0 00882a70 ffffffc0 00887518
[    6.441421] 7f00: ffffffc0 005e9538 ffffffc0 0086bc2b ffffffc0 0072a140 ffffffc0 00080220
[    6.449516] 7f20: 00000040 c0000000 ffffffc0 3dcf7f60 ffffffc0 00084e08 ffffffc0 3dcf7f60
[    6.457610] [<ffffffc000083da8>] el1_irq+0x68/0xc0
[    6.462351] [<ffffffc0000d715c>] cpu_startup_entry+0x150/0x1d0
[    6.468124] [<ffffffc0005db698>] secondary_start_kernel+0x10c/0x11c

Therefore, I copy a file system with an USB Flash disk from another USB Flash disk of another Juno which has run perfectly. But I can't find any help to run the Linux with USB Flash disk instead of the Flash inside Juno. 

Please let me know the right operation to make it work on USB Flash disk.

Regards

  • Hi,

    I don't have a Juno board to try to boot from USB, but it looks like the Linux boot fails because it cannot mount a root filesystem.

    If you have the filesystem on USB you should have something like root=/dev/sda1 on the kernel command line instead of root=/dev/ram0 

    Thanks,

    Jason