This patchset was previously part of the larger tasks packing patchset [1].
I have splitted the latter in 3 different patchsets (at least) to make the
thing easier.
-configuration of sched_domain topology (this patchset)
-update and consolidation of cpu_power
-tasks packing algorithm
Based on Peter Z's proposal [2][3], this patchset modifies the way to configure
the sched_domain level in order to let architectures to add specific level like
the current BOOK level or the proposed power gating level for ARM architecture.
[1] https://lkml.org/lkml/2013/10/18/121
[2] https://lkml.org/lkml/2013/11/5/239
[3] https://lkml.org/lkml/2013/11/5/449
Change since v1:
- move sched_domains_curr_level back under #ifdef CONFIG_NUMA
- use function pointer to set flag instead of a plain value.
- add list of tunable flags in the commit message of patch 2
- add SD_SHARE_POWER_DOMAIN flag for powerpc's SMT level
Vincent Guittot (7):
sched: remove unused SCHED_INIT_NODE
sched: rework of sched_domain topology definition
sched: s390: create a dedicated topology table
sched: powerpc: create a dedicated topology table
sched: add a new SD_SHARE_POWERDOMAIN for sched_domain
sched: ARM: create a dedicated scheduler topology table
sched: powerpc: Add SD_SHARE_POWERDOMAIN for SMT level
arch/arm/kernel/topology.c | 26 ++++
arch/ia64/include/asm/topology.h | 24 ----
arch/metag/include/asm/topology.h | 27 -----
arch/powerpc/kernel/smp.c | 31 +++--
arch/s390/include/asm/topology.h | 13 +-
arch/s390/kernel/topology.c | 20 ++++
arch/tile/include/asm/topology.h | 33 ------
include/linux/sched.h | 49 +++++++-
include/linux/topology.h | 128 ++------------------
kernel/sched/core.c | 243 +++++++++++++++++++-------------------
10 files changed, 254 insertions(+), 340 deletions(-)
--
1.9.0
Currently, KVM ARM/ARM64 only provides in-kernel emulation of Power State
and Coordination Interface (PSCI) v0.1.
This patchset aims at providing newer PSCI v0.2 for KVM ARM/ARM64 VCPUs
such that it does not break current KVM ARM/ARM64 ABI. Also, the patchset
provides emulation of only few PSCI v0.2 functions such as PSCI_VERSION,
CPU_ON, and CPU_OFF. Emulation of other PSCI v0.2 functions will be added
later.
The user space tools (i.e. QEMU or KVMTOOL) will have to explicitly enable
KVM_ARM_VCPU_PSCI_0_2 feature using KVM_ARM_VCPU_INIT ioctl for providing
PSCI v0.2 to VCPUs.
Changlog:
V4:
- Implement all mandatory functions required by PSCI v0.2
V3:
- Make KVM_ARM_VCPU_PSCI_0_2 feature experiementatl for now so that
it fails for user space till all mandatory PSCI v0.2 functions are
emulated by KVM ARM/ARM64
- Have separate patch for making KVM_ARM_VCPU_PSCI_0_2 feature available
to user space. This patch can be defferred for now
V2:
- Don't rename PSCI return values KVM_PSCI_RET_NI and KVM_PSCI_RET_INVAL
- Added kvm_psci_version() to get PSCI version available to VCPU
- Fixed grammer in Documentation/virtual/kvm/api.txt
V1:
- Initial RFC PATCH
Anup Patel (10):
KVM: Add capability to advertise PSCI v0.2 support
ARM/ARM64: KVM: Add base for PSCI v0.2 emulation
KVM: Documentation: Add info regarding KVM_ARM_VCPU_PSCI_0_2 feature
ARM/ARM64: KVM: Make kvm_psci_call() return convention more flexible
KVM: Add KVM_EXIT_SYSTEM_EVENT to user space API header
ARM/ARM64: KVM: Emulate PSCI v0.2 SYSTEM_OFF and SYSTEM_RESET
ARM/ARM64: KVM: Emulate PSCI v0.2 AFFINITY_INFO
ARM/ARM64: KVM: Emulate PSCI v0.2 MIGRATE_INFO_TYPE and related
functions
ARM/ARM64: KVM: Fix CPU_ON emulation for PSCI v0.2
ARM/ARM64: KVM: Emulate PSCI v0.2 CPU_SUSPEND
Documentation/virtual/kvm/api.txt | 17 +++
arch/arm/include/asm/kvm_host.h | 7 +-
arch/arm/include/asm/kvm_psci.h | 7 +-
arch/arm/include/uapi/asm/kvm.h | 35 ++++-
arch/arm/kvm/arm.c | 1 +
arch/arm/kvm/handle_exit.c | 10 +-
arch/arm/kvm/psci.c | 270 ++++++++++++++++++++++++++++++++++---
arch/arm/kvm/reset.c | 4 +
arch/arm64/include/asm/kvm_host.h | 7 +-
arch/arm64/include/asm/kvm_psci.h | 7 +-
arch/arm64/include/uapi/asm/kvm.h | 35 ++++-
arch/arm64/kvm/handle_exit.c | 10 +-
arch/arm64/kvm/reset.c | 4 +
include/uapi/linux/kvm.h | 9 ++
14 files changed, 395 insertions(+), 28 deletions(-)
--
1.7.9.5
Rearrange kernel doc comments in the order members of struct hrtimer are
declared.
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
include/linux/hrtimer.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index d19a5c2..e7a8d3f 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -96,12 +96,12 @@ enum hrtimer_restart {
* @function: timer expiry callback function
* @base: pointer to the timer base (per cpu and per clock)
* @state: state information (See bit values above)
+ * @start_pid: timer statistics field to store the pid of the task which
+ * started the timer
* @start_site: timer statistics field to store the site where the timer
* was started
* @start_comm: timer statistics field to store the name of the process which
* started the timer
- * @start_pid: timer statistics field to store the pid of the task which
- * started the timer
*
* The hrtimer structure must be initialized by hrtimer_init()
*/
--
1.7.12.rc2.18.g61b472e
I was going through kernel/timers.c & kernel/hrtimers.c and realized
that there are lots and lots of timers present in kernel for kernels
and userspace code.. Like posix timers, itimers, clockevents, etc..
Does somebody have a link to documentation or slides that list all
these and what they are for? That would be very helpful to understand
all the timer usecases we have in kernel..
--
viresh
Automated DT boot report for various ARM defconfigs.
Tree/Branch: next
Git describe: next-20140319
Failed boot tests (console logs at the end)
===========================================
am335x-boneblack: FAIL: omap2plus_defconfig
omap3-beagle-xm: FAIL: omap2plus_defconfig
omap4-panda: FAIL: omap2plus_defconfig
omap3-overo-tobi: FAIL: omap2plus_defconfig
am335x-bone: FAIL: omap2plus_defconfig
omap3-overo-storm-tobi: FAIL: omap2plus_defconfig
omap5-uevm: FAIL: omap2plus_defconfig
omap4-panda-es: FAIL: omap2plus_defconfig
omap5-uevm: FAIL: multi_lpae_defconfig
sun7i-a20-cubieboard2: FAIL: multi_lpae_defconfig
sun7i-a20-cubieboard2: FAIL: sunxi_defconfig
sun4i-a10-cubieboard: FAIL: sunxi_defconfig
ste-snowball: FAIL: multi_v7_defconfig
am335x-boneblack: FAIL: multi_v7_defconfig
omap3-beagle-xm: FAIL: multi_v7_defconfig
sun7i-a20-cubieboard2: FAIL: multi_v7_defconfig
omap4-panda: FAIL: multi_v7_defconfig
sun4i-a10-cubieboard: FAIL: multi_v7_defconfig
bcm28155-ap: FAIL: multi_v7_defconfig
omap3-overo-tobi: FAIL: multi_v7_defconfig
am335x-bone: FAIL: multi_v7_defconfig
omap3-overo-storm-tobi: FAIL: multi_v7_defconfig
omap5-uevm: FAIL: multi_v7_defconfig
omap4-panda-es: FAIL: multi_v7_defconfig
Full Report
===========
omap2plus_defconfig
-------------------
legacy,3730xm PASS: 0 min 52.6 sec
am335x-boneblack FAIL: 0 min 28.8 sec
omap3-beagle-xm FAIL: 0 min 53.7 sec
legacy,3530beagle PASS: 0 min 46.1 sec
omap4-panda FAIL: 0 min 56.4 sec
omap3-overo-tobi FAIL: 0 min 31.0 sec
am335x-bone FAIL: 0 min 30.2 sec
omap3-overo-storm-tobi FAIL: 0 min 29.0 sec
omap5-uevm FAIL: 0 min 57.5 sec
omap4-panda-es FAIL: 0 min 58.0 sec
legacy,3730storm PASS: 0 min 23.6 sec
legacy,3530overo PASS: 0 min 21.6 sec
multi_lpae_defconfig
--------------------
omap5-uevm FAIL: 0 min 60.0 sec
sun7i-a20-cubieboard2 FAIL: 0 min 20.0 sec
tegra_defconfig
---------------
tegra30-beaver PASS: 0 min 18.9 sec
imx_v6_v7_defconfig
-------------------
imx6dl-wandboard,wand-dual PASS: 0 min 20.5 sec
imx6dl-wandboard,wand-solo PASS: 0 min 20.8 sec
imx6q-wandboard PASS: 0 min 20.4 sec
sunxi_defconfig
---------------
sun7i-a20-cubieboard2 FAIL: 0 min 19.2 sec
sun4i-a10-cubieboard FAIL: 0 min 19.3 sec
bcm_defconfig
-------------
bcm28155-ap PASS: 1 min 4.2 sec
exynos_defconfig
----------------
exynos5250-arndale PASS: 0 min 30.0 sec
multi_v7_defconfig
------------------
qcom-apq8074-dragonboard PASS: 1 min 9.6 sec
ste-snowball FAIL: 0 min 33.6 sec
tegra30-beaver PASS: 0 min 21.0 sec
am335x-boneblack FAIL: 0 min 29.2 sec
omap3-beagle-xm FAIL: 0 min 54.2 sec
sun7i-a20-cubieboard2 FAIL: 0 min 20.5 sec
armada-370-mirabox PASS: 0 min 22.3 sec
omap4-panda FAIL: 0 min 54.2 sec
armada-xp-openblocks-ax3-4 PASS: 0 min 25.1 sec
sun4i-a10-cubieboard FAIL: 0 min 19.8 sec
bcm28155-ap FAIL: 16 min 16.2 sec
omap3-overo-tobi FAIL: 0 min 28.0 sec
imx6dl-wandboard,wand-solo PASS: 0 min 18.3 sec
am335x-bone FAIL: 0 min 30.6 sec
omap3-overo-storm-tobi FAIL: 0 min 26.3 sec
omap5-uevm FAIL: 0 min 31.4 sec
imx6q-wandboard PASS: 0 min 17.2 sec
omap4-panda-es FAIL: 0 min 53.6 sec
imx6dl-wandboard,wand-dual PASS: 0 min 18.5 sec
u8500_defconfig
---------------
ste-snowball PASS: 0 min 30.6 sec
sama5_defconfig
---------------
sama5d35ek PASS: 0 min 17.3 sec
davinci_all_defconfig
---------------------
legacy,dm365evm PASS: 0 min 17.6 sec
Console logs for failures
=========================
omap2plus_defconfig
-------------------
am335x-boneblack: FAIL: last 80 lines of boot log:
--------------------------------------------------
GNU ld (GNU Binutils) 2.22
U-Boot#setenv bootargs console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
U-Boot# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
U-Boot# if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
U-Boot# if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
U-Boot# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
U-Boot# dhcp
dhcp
cpsw Waiting for PHY auto negotiation to complete.. done
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.1.150
U-Boot#setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
U-Boot# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
U-Boot#tftp 0x80200000 192.168.1.2:tmp/am335xboneb-ov47i1/zImage
tftp 0x80200000 192.168.1.2:tmp/am335xboneb-ov47i1/zImage
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.150
Filename 'tmp/am335xboneb-ov47i1/zImage'.
Load address: 0x80200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
##################################
1.2 MiB/s
done
Bytes transferred = 4306968 (41b818 hex)
U-Boot#tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.150
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *############################################
1.2 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
U-Boot# tftp 0x81f00000 192.168.1.2:tmp/am335xboneb-ov47i1/am335x-boneblack.dtb
tftp 0x81f00000 192.168.1.2:tmp/am335xboneb-ov47i1/am335x-boneblack.dtb
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.150
Filename 'tmp/am335xboneb-ov47i1/am335x-boneblack.dtb'.
Load address: 0x81f00000
Loading: *###
1.1 MiB/s
done
Bytes transferred = 29482 (732a hex)
U-Boot# printenv bootargs
printenv bootargs
bootargs=console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.150:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
U-Boot# bootz 0x80200000 0x81000000 0x81f00000
bootz 0x80200000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Ramdisk to 9f19a000, end 9f236dea ... OK
Using Device Tree in place at 81f00000, end 81f0a329
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 28.79 seconds.
# PYBOOT: Result: FAIL
omap3-beagle-xm: FAIL: last 80 lines of boot log:
-------------------------------------------------
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
OMAP3 beagleboard.org #setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
OMAP3 beagleboard.org #dhcp
dhcp
ERROR: Need valid 'usbnet_devaddr' to be set
at ether.c:2369/usb_eth_init()
Waiting for Ethernet connection... done.
BOOTP broadcast 1
EHCI timed out on TD - token=0x8008d80
BOOTP broadcast 2
DHCP client bound to address 192.168.1.190
OMAP3 beagleboard.org # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
OMAP3 beagleboard.org #if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
OMAP3 beagleboard.org # tftp 0x80200000 192.168.1.2:tmp/3730xm-FgoxWp/zImage
tftp 0x80200000 192.168.1.2:tmp/3730xm-FgoxWp/zImage
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.190
Filename 'tmp/3730xm-FgoxWp/zImage'.
Load address: 0x80200000
Loading: *EHCI timed out on TD - token=0x8008d80
T #################################################################
#################################################################
#################################################################
#################################################################
##################################
409.2 KiB/s
done
Bytes transferred = 4306968 (41b818 hex)
OMAP3 beagleboard.org # tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.190
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *EHCI timed out on TD - token=0x8008d80
T ############################################
93.8 KiB/s
done
Bytes transferred = 642602 (9ce2a hex)
OMAP3 beagleboard.org # tftp 0x81f00000 192.168.1.2:tmp/3730xm-FgoxWp/omap3-beagle-xm.dtb
tftp 0x81f00000 192.168.1.2:tmp/3730xm-FgoxWp/omap3-beagle-xm.dtb
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.190
Filename 'tmp/3730xm-FgoxWp/omap3-beagle-xm.dtb'.
Load address: 0x81f00000
Loading: *EHCI timed out on TD - token=0x8008d80
T ####
10.7 KiB/s
done
Bytes transferred = 58597 (e4e5 hex)
OMAP3 beagleboard.org # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.190:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
OMAP3 beagleboard.org # bootz 0x80200000 0x81000000 0x81f00000
bootz 0x80200000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Ramdisk to 8ff63000, end 8ffffdea ... OK
Loading Device Tree to 8ff51000, end 8ff624e4 ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 53.68 seconds.
# PYBOOT: Result: FAIL
omap4-panda: FAIL: last 80 lines of boot log:
---------------------------------------------
Panda # if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
Panda # setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
Panda # dhcp
dhcp
Waiting for Ethernet connection... done.
BOOTP broadcast 1
EHCI timed out on TD - token=0x8008d80
BOOTP broadcast 2
DHCP client bound to address 192.168.1.152
Panda # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
Panda # if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
Panda # tftp 0x82000000 192.168.1.2:tmp/4430panda-eO_mP3/zImage
tftp 0x82000000 192.168.1.2:tmp/4430panda-eO_mP3/zImage
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.152
Filename 'tmp/4430panda-eO_mP3/zImage'.
Load address: 0x82000000
Loading: *EHCI timed out on TD - token=0x8008d80
T #################################################################
#################################################################
#################################################################
#################################################################
##################################
471.7 KiB/s
done
Bytes transferred = 4306968 (41b818 hex)
Panda # tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.152
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *T ############################################
105.5 KiB/s
done
Bytes transferred = 642602 (9ce2a hex)
Panda # tftp 0x81f00000 192.168.1.2:tmp/4430panda-eO_mP3/omap4-panda.dtb
tftp 0x81f00000 192.168.1.2:tmp/4430panda-eO_mP3/omap4-panda.dtb
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.152
Filename 'tmp/4430panda-eO_mP3/omap4-panda.dtb'.
Load address: 0x81f00000
Loading: *EHCI timed out on TD - token=0x8008d80
T ####
9.8 KiB/s
done
Bytes transferred = 51803 (ca5b hex)
Panda # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.152:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
Panda # bootz 0x82000000 0x81000000 0x81f00000
bootz 0x82000000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Using Device Tree in place at 81f00000, end 81f0fa5a
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 56.40 seconds.
# PYBOOT: Result: FAIL
omap3-overo-tobi: FAIL: last 80 lines of boot log:
--------------------------------------------------
if test -n ${preboot}; then run preboot; fi
Overo # setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
Overo # dhcp
dhcp
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC fe:06:88:cd:08:6f
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.155
Overo # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
Overo # if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
Overo # tftp 0x80200000 192.168.1.2:tmp/3530overo-hKU9CW/zImage
tftp 0x80200000 192.168.1.2:tmp/3530overo-hKU9CW/zImage
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC fe:06:88:cd:08:6f
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.155
Filename 'tmp/3530overo-hKU9CW/zImage'.
Load address: 0x80200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
##################################
2.4 MiB/s
done
Bytes transferred = 4306968 (41b818 hex)
Overo # tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC fe:06:88:cd:08:6f
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.155
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *############################################
2.4 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
Overo # tftp 0x81f00000 192.168.1.2:tmp/3530overo-hKU9CW/omap3-overo-tobi.dtb
tftp 0x81f00000 192.168.1.2:tmp/3530overo-hKU9CW/omap3-overo-tobi.dtb
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC fe:06:88:cd:08:6f
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.155
Filename 'tmp/3530overo-hKU9CW/omap3-overo-tobi.dtb'.
Load address: 0x81f00000
Loading: *#####
2.2 MiB/s
done
Bytes transferred = 61262 (ef4e hex)
Overo # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 earlyprintk debug rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.155:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
Overo # bootz 0x80200000 0x81000000 0x81f00000
bootz 0x80200000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Ramdisk to 8ff63000, end 8ffffdea ... OK
Loading Device Tree to 8ff51000, end 8ff62f4d ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 30.98 seconds.
# PYBOOT: Result: FAIL
am335x-bone: FAIL: last 80 lines of boot log:
---------------------------------------------
GNU ld (GNU Binutils for Ubuntu) 2.22.90.20120919
U-Boot# setenv bootargs console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
U-Boot# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'if test -n ${initenv}; then run initenv; fi
U-Boot# if test -n ${initenv}; then run initenv; fiif test -n ${preboot}; then run preboot; fi
U-Boot# if test -n ${preboot}; then run preboot; fisetenv autoload no; setenv autoboot no
U-Boot# setenv autoload no; setenv autoboot nodhcp
U-Boot# dhcp
cpsw Waiting for PHY auto negotiation to complete.. done
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.198
U-Boot# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
U-Boot# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
U-Boot# tftp 0x80200000 192.168.1.2:tmp/am335xbone-FWZD6v/zImage
tftp 0x80200000 192.168.1.2:tmp/am335xbone-FWZD6v/zImage
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.198
Filename 'tmp/am335xbone-FWZD6v/zImage'.
Load address: 0x80200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
##################################
1.2 MiB/s
done
Bytes transferred = 4306968 (41b818 hex)
U-Boot# tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.198
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *############################################
1.1 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
U-Boot# tftp 0x81f00000 192.168.1.2:tmp/am335xbone-FWZD6v/am335x-bone.dtb
tftp 0x81f00000 192.168.1.2:tmp/am335xbone-FWZD6v/am335x-bone.dtb
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.198
Filename 'tmp/am335xbone-FWZD6v/am335x-bone.dtb'.
Load address: 0x81f00000
Loading: *##
1.1 MiB/s
done
Bytes transferred = 28886 (70d6 hex)
U-Boot# printenv bootargs
printenv bootargs
bootargs=console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.198:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
U-Boot# bootz 0x80200000 0x81000000 0x81f00000
bootz 0x80200000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Ramdisk to 8f19a000, end 8f236dea ... OK
Using Device Tree in place at 81f00000, end 81f0a0d5
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 30.20 seconds.
# PYBOOT: Result: FAIL
omap3-overo-storm-tobi: FAIL: last 80 lines of boot log:
--------------------------------------------------------
Die ID #3dea00029ff80000016830c40802e016
Net: smc911x-0
Warning: smc911x-0 using MAC address from net device
Hit any key to stop autoboot:
5 0
Overo #
Overo # version
version
U-Boot 2013.04-00003-g84ebf5d (Jun 21 2013 - 15:36:05)
arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.7.2-1ubuntu1) 4.7.2
GNU ld (GNU Binutils for Ubuntu) 2.22.90.20120919
Overo # setenv bootargs console=ttyO2,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyO2,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
Overo # setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
Overo # if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
Overo # if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
Overo # setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
Overo # dhcp
dhcp
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 00:15:c9:28:f0:11
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.195
Overo # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
Overo # if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
Overo # tftp 0x80200000 192.168.1.2:tmp/3730storm-2ZSXkB/zImage
tftp 0x80200000 192.168.1.2:tmp/3730storm-2ZSXkB/zImage
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 00:15:c9:28:f0:11
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.195
Filename 'tmp/3730storm-2ZSXkB/zImage'.
Load address: 0x80200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
##################################
2.4 MiB/s
done
Bytes transferred = 4306968 (41b818 hex)
Overo # tftp 0x81f00000 192.168.1.2:tmp/3730storm-2ZSXkB/omap3-overo-storm-tobi.dtb
tftp 0x81f00000 192.168.1.2:tmp/3730storm-2ZSXkB/omap3-overo-storm-tobi.dtb
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 00:15:c9:28:f0:11
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.195
Filename 'tmp/3730storm-2ZSXkB/omap3-overo-storm-tobi.dtb'.
Load address: 0x81f00000
Loading: *#####
2.3 MiB/s
done
Bytes transferred = 62106 (f29a hex)
Overo # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.195:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
Overo # bootz 0x80200000 - 0x81f00000
bootz 0x80200000 - 0x81f00000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Device Tree to 8ffed000, end 8ffff299 ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 28.96 seconds.
# PYBOOT: Result: FAIL
omap5-uevm: FAIL: last 80 lines of boot log:
--------------------------------------------
scanning bus 0 for devices... found: 002/104 2
3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
U-Boot# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
U-Boot# dhcp
dhcp
Waiting for Ethernet connection... done.
BOOTP broadcast 1
EHCI timed out on TD - token=0x8008d80
BOOTP broadcast 2
DHCP client bound to address 192.168.1.249
U-Boot# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
U-Boot# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
U-Boot# tftp 0x82000000 192.168.1.2:tmp/omap5uevm-5Gdz3M/zImage
tftp 0x82000000 192.168.1.2:tmp/omap5uevm-5Gdz3M/zImage
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.249
Filename 'tmp/omap5uevm-5Gdz3M/zImage'.
Load address: 0x82000000
Loading: *EHCI timed out on TD - token=0x88008d80
T #################################################################
#################################################################
#################################################################
#################################################################
##################################
421.9 KiB/s
done
Bytes transferred = 4306968 (41b818 hex)
U-Boot# tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.249
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *EHCI timed out on TD - token=0x8008d80
T ############################################
91.8 KiB/s
done
Bytes transferred = 642602 (9ce2a hex)
U-Boot# tftp 0x80f80000 192.168.1.2:tmp/omap5uevm-5Gdz3M/omap5-uevm.dtb
tftp 0x80f80000 192.168.1.2:tmp/omap5uevm-5Gdz3M/omap5-uevm.dtb
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.249
Filename 'tmp/omap5uevm-5Gdz3M/omap5-uevm.dtb'.
Load address: 0x80f80000
Loading: *EHCI timed out on TD - token=0x8008d80
T ####
7.8 KiB/s
done
Bytes transferred = 44884 (af54 hex)
U-Boot# printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 debug earlyprintk ip=192.168.1.249:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
U-Boot# bootz 0x82000000 0x81000000 0x80f80000
bootz 0x82000000 0x81000000 0x80f80000
Kernel image @ 0x82000000 [ 0x000000 - 0x41b818 ]
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
Using Device Tree in place at 80f80000, end 80f8df53
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 57.52 seconds.
# PYBOOT: Result: FAIL
omap4-panda-es: FAIL: last 80 lines of boot log:
------------------------------------------------
if test -n ${preboot}; then run preboot; fi
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
Panda # setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
Panda # dhcp
dhcp
Waiting for Ethernet connection... done.
BOOTP broadcast 1
EHCI timed out on TD - token=0x8008d80
BOOTP broadcast 2
DHCP client bound to address 192.168.1.157
Panda #setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
Panda # if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
Panda # tftp 0x82000000 192.168.1.2:tmp/4460panda-es-pcKqUf/zImage
tftp 0x82000000 192.168.1.2:tmp/4460panda-es-pcKqUf/zImage
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.157
Filename 'tmp/4460panda-es-pcKqUf/zImage'.
Load address: 0x82000000
Loading: *EHCI timed out on TD - token=0x8008d80
T #################################################################
#################################################################
#################################################################
#################################################################
##################################
470.7 KiB/s
done
Bytes transferred = 4306968 (41b818 hex)
Panda # tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.157
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *EHCI timed out on TD - token=0x8008d80
T ############################################
118.2 KiB/s
done
Bytes transferred = 642602 (9ce2a hex)
Panda #tftp 0x81f00000 192.168.1.2:tmp/4460panda-es-pcKqUf/omap4-panda-es.dtb
tftp 0x81f00000 192.168.1.2:tmp/4460panda-es-pcKqUf/omap4-panda-es.dtb
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.157
Filename 'tmp/4460panda-es-pcKqUf/omap4-panda-es.dtb'.
Load address: 0x81f00000
Loading: *EHCI timed out on TD - token=0x88008d80
T ####
6.8 KiB/s
done
Bytes transferred = 52383 (cc9f hex)
Panda # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.157:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
Panda # bootz 0x82000000 0x81000000 0x81f00000
bootz 0x82000000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Using Device Tree in place at 81f00000, end 81f0fc9e
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 57.97 seconds.
# PYBOOT: Result: FAIL
multi_lpae_defconfig
--------------------
omap5-uevm: FAIL: last 80 lines of boot log:
--------------------------------------------
USB0: USB EHCI 1.00
scanning bus 0 for devices... found: 002/120 2
3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
U-Boot# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
U-Boot# dhcp
dhcp
Waiting for Ethernet connection... done.
BOOTP broadcast 1
EHCI timed out on TD - token=0x88008d80
BOOTP broadcast 2
DHCP client bound to address 192.168.1.249
U-Boot# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
U-Boot# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
U-Boot# tftp 0x82000000 192.168.1.2:tmp/omap5uevm-YcRptJ/zImage
tftp 0x82000000 192.168.1.2:tmp/omap5uevm-YcRptJ/zImage
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.249
Filename 'tmp/omap5uevm-YcRptJ/zImage'.
Load address: 0x82000000
Loading: *EHCI timed out on TD - token=0x88008d80
T #################################################################
#################################################################
#################################################################
#################################################################
######################################################
445.3 KiB/s
done
Bytes transferred = 4605720 (464718 hex)
U-Boot# tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.249
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *EHCI timed out on TD - token=0x88008d80
T ############################################
93.8 KiB/s
done
Bytes transferred = 642602 (9ce2a hex)
U-Boot# tftp 0x80f80000 192.168.1.2:tmp/omap5uevm-YcRptJ/omap5-uevm.dtb
tftp 0x80f80000 192.168.1.2:tmp/omap5uevm-YcRptJ/omap5-uevm.dtb
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.249
Filename 'tmp/omap5uevm-YcRptJ/omap5-uevm.dtb'.
Load address: 0x80f80000
Loading: *T ####
6.8 KiB/s
done
Bytes transferred = 44884 (af54 hex)
U-Boot# printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 debug earlyprintk ip=192.168.1.249:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
U-Boot# bootz 0x82000000 0x81000000 0x80f80000
bootz 0x82000000 0x81000000 0x80f80000
Kernel image @ 0x82000000 [ 0x000000 - 0x464718 ]
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
Using Device Tree in place at 80f80000, end 80f8df53
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 59.99 seconds.
# PYBOOT: Result: FAIL
sun7i-a20-cubieboard2: FAIL: last 80 lines of boot log:
-------------------------------------------------------
setenv ethaddr 22:71:81:DA:53:EA
sun7i# setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
sun7i# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
sun7i# setenv initrd_high 0xffffffff
setenv initrd_high 0xffffffff
sun7i# if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
sun7i# if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
sun7i# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
sun7i# dhcp
dhcp
ENET Speed is 100 Mbps - FULL duplex connection
BOOTP broadcast 1
DHCP client bound to address 192.168.1.153
sun7i# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
sun7i# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
sun7i# tftp 0x40008000 192.168.1.2:tmp/cubie2-52GB_5/zImage
tftp 0x40008000 192.168.1.2:tmp/cubie2-52GB_5/zImage
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'tmp/cubie2-52GB_5/zImage'.
Load address: 0x40008000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
######################################################
2.7 MiB/s
done
Bytes transferred = 4605720 (464718 hex)
sun7i# tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x42000000
Loading: *############################################
2.7 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
sun7i# tftp 0x41000000 192.168.1.2:tmp/cubie2-52GB_5/sun7i-a20-cubieboard2.dtb
tftp 0x41000000 192.168.1.2:tmp/cubie2-52GB_5/sun7i-a20-cubieboard2.dtb
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'tmp/cubie2-52GB_5/sun7i-a20-cubieboard2.dtb'.
Load address: 0x41000000
Loading: *##
2.2 MiB/s
done
Bytes transferred = 18209 (4721 hex)
sun7i# printenv bootargs
printenv bootargs
bootargs=console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.153:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
sun7i# bootz 0x40008000 0x42000000 0x41000000
bootz 0x40008000 0x42000000 0x41000000
Kernel image @ 0x40008000 [ 0x000000 - 0x464718 ]
## Loading init Ramdisk from Legacy Image at 42000000 ...
Image Name:
Created: 2014-02-07 19:37:29 UTC
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
Booting using the fdt blob at 0x41000000
Loading Device Tree to 40ff8000, end 40fff720 ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 19.99 seconds.
# PYBOOT: Result: FAIL
sunxi_defconfig
---------------
sun7i-a20-cubieboard2: FAIL: last 80 lines of boot log:
-------------------------------------------------------
arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.7.2-1ubuntu1) 4.7.2
GNU ld (GNU Binutils for Ubuntu) 2.22.90.20120919
sun7i# setenv ethaddr 22:71:81:DA:53:EA
setenv ethaddr 22:71:81:DA:53:EA
sun7i# setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
sun7i# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
sun7i# setenv initrd_high 0xffffffff
setenv initrd_high 0xffffffff
sun7i# if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
sun7i# if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
sun7i# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
sun7i# dhcp
dhcp
ENET Speed is 100 Mbps - FULL duplex connection
BOOTP broadcast 1
DHCP client bound to address 192.168.1.153
sun7i# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
sun7i# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
sun7i# tftp 0x40008000 192.168.1.2:tmp/cubie2-DOP9jp/zImage
tftp 0x40008000 192.168.1.2:tmp/cubie2-DOP9jp/zImage
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'tmp/cubie2-DOP9jp/zImage'.
Load address: 0x40008000
Loading: *#################################################################
##########################################################
2.7 MiB/s
done
Bytes transferred = 1801888 (1b7ea0 hex)
sun7i# tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x42000000
Loading: *############################################
2.7 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
sun7i# tftp 0x41000000 192.168.1.2:tmp/cubie2-DOP9jp/sun7i-a20-cubieboard2.dtb
tftp 0x41000000 192.168.1.2:tmp/cubie2-DOP9jp/sun7i-a20-cubieboard2.dtb
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'tmp/cubie2-DOP9jp/sun7i-a20-cubieboard2.dtb'.
Load address: 0x41000000
Loading: *##
2.5 MiB/s
done
Bytes transferred = 18209 (4721 hex)
sun7i# printenv bootargs
printenv bootargs
bootargs=console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.153:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
sun7i# bootz 0x40008000 0x42000000 0x41000000
bootz 0x40008000 0x42000000 0x41000000
Kernel image @ 0x40008000 [ 0x000000 - 0x1b7ea0 ]
## Loading init Ramdisk from Legacy Image at 42000000 ...
Image Name:
Created: 2014-02-07 19:37:29 UTC
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
Booting using the fdt blob at 0x41000000
Loading Device Tree to 40ff8000, end 40fff720 ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 19.22 seconds.
# PYBOOT: Result: FAIL
sun4i-a10-cubieboard: FAIL: last 80 lines of boot log:
------------------------------------------------------
arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.7.2-1ubuntu1) 4.7.2
GNU ld (GNU Binutils for Ubuntu) 2.22.90.20120919
sun4i# setenv ethaddr 2e:40:70:f0:12:08
setenv ethaddr 2e:40:70:f0:12:08
sun4i# setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
sun4i# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
sun4i# setenv initrd_high 0xffffffff
setenv initrd_high 0xffffffff
sun4i# if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
sun4i# if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
sun4i# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
sun4i# dhcp
dhcp
ENET Speed is 100 Mbps - FULL duplex connection
BOOTP broadcast 1
DHCP client bound to address 192.168.1.193
sun4i# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
sun4i# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
sun4i# tftp 0x40008000 192.168.1.2:tmp/cubie-Gzlg79/zImage
tftp 0x40008000 192.168.1.2:tmp/cubie-Gzlg79/zImage
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.193
Filename 'tmp/cubie-Gzlg79/zImage'.
Load address: 0x40008000
Loading: *#################################################################
##########################################################
2.7 MiB/s
done
Bytes transferred = 1801888 (1b7ea0 hex)
sun4i# tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.193
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x42000000
Loading: *############################################
2.7 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
sun4i# tftp 0x41000000 192.168.1.2:tmp/cubie-Gzlg79/sun4i-a10-cubieboard.dtb
tftp 0x41000000 192.168.1.2:tmp/cubie-Gzlg79/sun4i-a10-cubieboard.dtb
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.193
Filename 'tmp/cubie-Gzlg79/sun4i-a10-cubieboard.dtb'.
Load address: 0x41000000
Loading: *##
2.4 MiB/s
done
Bytes transferred = 15180 (3b4c hex)
sun4i# printenv bootargs
printenv bootargs
bootargs=console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.193:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
sun4i# bootz 0x40008000 0x42000000 0x41000000
bootz 0x40008000 0x42000000 0x41000000
Kernel image @ 0x40008000 [ 0x000000 - 0x1b7ea0 ]
## Loading init Ramdisk from Legacy Image at 42000000 ...
Image Name:
Created: 2014-02-07 19:37:29 UTC
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
Booting using the fdt blob at 0x41000000
Loading Device Tree to 40ff9000, end 40fffb4b ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 19.34 seconds.
# PYBOOT: Result: FAIL
multi_v7_defconfig
------------------
ste-snowball: FAIL: last 80 lines of boot log:
----------------------------------------------
CPU: ST-Ericsson db8500 v2 (Dual ARM Cortex A9) 998.400 Mhz
I2C: ready
DRAM: 1 GB
MMC:
MCDE: startup failed
sec_bridge: ISSWAPI_FLUSH_BOOT_CODE: 2
EMMC: 0, MMC: 1
In: serial
Out: serial
Err: serial
Net: smc911x-0
Hit any key to stop autoboot: 1
0
U8500 $
U8500 $ version
version
U-Boot 2009.11 (sept. 19 2011 - 17:03:11)
U8500 $ setenv ethaddr 6e:e6:84:36:8e:9e
setenv ethaddr 6e:e6:84:36:8e:9e
Can't overwrite "ethaddr"
U8500 $setenv bootargs console=ttyAMA2,115200n8 debug earlyprintk rw root=/dev/mmcblk0p3 rootwait rootfstype=ext4
setenv bootargs console=ttyAMA2,115200n8 debug earlyprintk rw root=/dev/mmcblk0p3 rootwait rootfstype=ext4
U8500 $ setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
U8500 $ if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
U8500 $ if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
U8500 $ setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
U8500 $ dhcp
dhcp
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 6e:e6:84:36:8e:9e
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.159
U8500 $ setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
U8500 $ if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
U8500 $ tftp 0x00800000 192.168.1.2:tmp/snowball-nKNwOM/tmpUhqZvG-uImage
tftp 0x00800000 192.168.1.2:tmp/snowball-nKNwOM/tmpUhqZvG-uImage
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 6e:e6:84:36:8e:9e
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.159
Filename 'tmp/snowball-nKNwOM/tmpUhqZvG-uImage'.
Load address: 0x800000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#######################################################
done
Bytes transferred = 4621569 (468501 hex)
U8500 $ printenv bootargs
printenv bootargs
bootargs=console=ttyAMA2,115200n8 debug earlyprintk rw root=/dev/mmcblk0p3 rootwait rootfstype=ext4 ip=192.168.1.159:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
U8500 $ bootm 0x00800000
bootm 0x00800000
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4621505 Bytes = 4.4 MB
Load Address: 00008000
Entry Point: 00008000
Loading Kernel Image ... OK
OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 33.65 seconds.
# PYBOOT: Result: FAIL
am335x-boneblack: FAIL: last 80 lines of boot log:
--------------------------------------------------
GNU ld (GNU Binutils) 2.22
U-Boot# setenv bootargs console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
U-Boot# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
U-Boot# if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
U-Boot# if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
U-Boot# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
U-Boot# dhcp
dhcp
cpsw Waiting for PHY auto negotiation to complete.. done
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.1.150
U-Boot# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
U-Boot# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
U-Boot# tftp 0x80200000 192.168.1.2:tmp/am335xboneb-zWWXKs/zImage
tftp 0x80200000 192.168.1.2:tmp/am335xboneb-zWWXKs/zImage
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.150
Filename 'tmp/am335xboneb-zWWXKs/zImage'.
Load address: 0x80200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
1.2 MiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
U-Boot#tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.150
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *############################################
1.2 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
U-Boot# tftp 0x81f00000 192.168.1.2:tmp/am335xboneb-zWWXKs/am335x-boneblack.dtb
tftp 0x81f00000 192.168.1.2:tmp/am335xboneb-zWWXKs/am335x-boneblack.dtb
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.150
Filename 'tmp/am335xboneb-zWWXKs/am335x-boneblack.dtb'.
Load address: 0x81f00000
Loading: *###
1 MiB/s
done
Bytes transferred = 29482 (732a hex)
U-Boot# printenv bootargs
printenv bootargs
bootargs=console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.150:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
U-Boot# bootz 0x80200000 0x81000000 0x81f00000
bootz 0x80200000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Ramdisk to 9f19a000, end 9f236dea ... OK
Using Device Tree in place at 81f00000, end 81f0a329
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 29.20 seconds.
# PYBOOT: Result: FAIL
omap3-beagle-xm: FAIL: last 80 lines of boot log:
-------------------------------------------------
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
OMAP3 beagleboard.org # setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
OMAP3 beagleboard.org # dhcp
dhcp
ERROR: Need valid 'usbnet_devaddr' to be set
at ether.c:2369/usb_eth_init()
Waiting for Ethernet connection... done.
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.190
OMAP3 beagleboard.org # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
OMAP3 beagleboard.org # if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
OMAP3 beagleboard.org # tftp 0x80200000 192.168.1.2:tmp/3730xm-6vz2FQ/zImage
tftp 0x80200000 192.168.1.2:tmp/3730xm-6vz2FQ/zImage
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.190
Filename 'tmp/3730xm-6vz2FQ/zImage'.
Load address: 0x80200000
Loading: *EHCI timed out on TD - token=0x8008d80
T #################################################################
#################################################################
#################################################################
#################################################################
#####################################################
428.7 KiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
OMAP3 beagleboard.org # tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.190
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *EHCI timed out on TD - token=0x8008d80
T ############################################
114.3 KiB/s
done
Bytes transferred = 642602 (9ce2a hex)
OMAP3 beagleboard.org #tftp 0x81f00000 192.168.1.2:tmp/3730xm-6vz2FQ/omap3-beagle-xm.dtb
tftp 0x81f00000 192.168.1.2:tmp/3730xm-6vz2FQ/omap3-beagle-xm.dtb
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.190
Filename 'tmp/3730xm-6vz2FQ/omap3-beagle-xm.dtb'.
Load address: 0x81f00000
Loading: *EHCI timed out on TD - token=0x88008d80
T ####
10.7 KiB/s
done
Bytes transferred = 58597 (e4e5 hex)
OMAP3 beagleboard.org #printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.190:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
OMAP3 beagleboard.org # bootz 0x80200000 0x81000000 0x81f00000
bootz 0x80200000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Ramdisk to 8ff63000, end 8ffffdea ... OK
Loading Device Tree to 8ff51000, end 8ff624e4 ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 54.25 seconds.
# PYBOOT: Result: FAIL
sun7i-a20-cubieboard2: FAIL: last 80 lines of boot log:
-------------------------------------------------------
setenv ethaddr 22:71:81:DA:53:EA
sun7i# setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
sun7i# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
sun7i# setenv initrd_high 0xffffffff
setenv initrd_high 0xffffffff
sun7i# if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
sun7i# if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
sun7i# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
sun7i# dhcp
dhcp
ENET Speed is 100 Mbps - FULL duplex connection
BOOTP broadcast 1
DHCP client bound to address 192.168.1.153
sun7i# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
sun7i# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
sun7i# tftp 0x40008000 192.168.1.2:tmp/cubie2-pfaAdp/zImage
tftp 0x40008000 192.168.1.2:tmp/cubie2-pfaAdp/zImage
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'tmp/cubie2-pfaAdp/zImage'.
Load address: 0x40008000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
2.7 MiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
sun7i# tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x42000000
Loading: *############################################
2.7 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
sun7i# tftp 0x41000000 192.168.1.2:tmp/cubie2-pfaAdp/sun7i-a20-cubieboard2.dtb
tftp 0x41000000 192.168.1.2:tmp/cubie2-pfaAdp/sun7i-a20-cubieboard2.dtb
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.153
Filename 'tmp/cubie2-pfaAdp/sun7i-a20-cubieboard2.dtb'.
Load address: 0x41000000
Loading: *##
2.5 MiB/s
done
Bytes transferred = 18209 (4721 hex)
sun7i# printenv bootargs
printenv bootargs
bootargs=console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.153:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
sun7i# bootz 0x40008000 0x42000000 0x41000000
bootz 0x40008000 0x42000000 0x41000000
Kernel image @ 0x40008000 [ 0x000000 - 0x45e3a0 ]
## Loading init Ramdisk from Legacy Image at 42000000 ...
Image Name:
Created: 2014-02-07 19:37:29 UTC
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
Booting using the fdt blob at 0x41000000
Loading Device Tree to 40ff8000, end 40fff720 ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 20.46 seconds.
# PYBOOT: Result: FAIL
omap4-panda: FAIL: last 80 lines of boot log:
---------------------------------------------
Panda # if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
Panda # setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
Panda # dhcp
dhcp
Waiting for Ethernet connection... done.
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.152
Panda # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
Panda #if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
Panda # tftp 0x82000000 192.168.1.2:tmp/4430panda-csYi6q/zImage
tftp 0x82000000 192.168.1.2:tmp/4430panda-csYi6q/zImage
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.152
Filename 'tmp/4430panda-csYi6q/zImage'.
Load address: 0x82000000
Loading: *EHCI timed out on TD - token=0x88008d80
T #################################################################
#################################################################
#################################################################
#################################################################
#####################################################
494.1 KiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
Panda # tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.152
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *EHCI timed out on TD - token=0x8008d80
T ############################################
118.2 KiB/s
done
Bytes transferred = 642602 (9ce2a hex)
Panda # tftp 0x81f00000 192.168.1.2:tmp/4430panda-csYi6q/omap4-panda.dtb
tftp 0x81f00000 192.168.1.2:tmp/4430panda-csYi6q/omap4-panda.dtb
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.152
Filename 'tmp/4430panda-csYi6q/omap4-panda.dtb'.
Load address: 0x81f00000
Loading: *EHCI timed out on TD - token=0x8008d80
T ####
9.8 KiB/s
done
Bytes transferred = 51803 (ca5b hex)
Panda # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.152:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
Panda # bootz 0x82000000 0x81000000 0x81f00000
bootz 0x82000000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Using Device Tree in place at 81f00000, end 81f0fa5a
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 54.22 seconds.
# PYBOOT: Result: FAIL
sun4i-a10-cubieboard: FAIL: last 80 lines of boot log:
------------------------------------------------------
setenv ethaddr 2e:40:70:f0:12:08
sun4i# setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
sun4i# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
sun4i# setenv initrd_high 0xffffffff
setenv initrd_high 0xffffffff
sun4i# if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
sun4i# if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
sun4i# setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
sun4i# dhcp
dhcp
ENET Speed is 100 Mbps - FULL duplex connection
BOOTP broadcast 1
DHCP client bound to address 192.168.1.193
sun4i# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
sun4i# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
sun4i# tftp 0x40008000 192.168.1.2:tmp/cubie-9tm_rp/zImage
tftp 0x40008000 192.168.1.2:tmp/cubie-9tm_rp/zImage
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.193
Filename 'tmp/cubie-9tm_rp/zImage'.
Load address: 0x40008000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
2.7 MiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
sun4i# tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x42000000 192.168.1.2:buildroot.cpio.gz.uboot
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.193
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x42000000
Loading: *############################################
2.7 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
sun4i# tftp 0x41000000 192.168.1.2:tmp/cubie-9tm_rp/sun4i-a10-cubieboard.dtb
tftp 0x41000000 192.168.1.2:tmp/cubie-9tm_rp/sun4i-a10-cubieboard.dtb
Using emac device
TFTP from server 192.168.1.2; our IP address is 192.168.1.193
Filename 'tmp/cubie-9tm_rp/sun4i-a10-cubieboard.dtb'.
Load address: 0x41000000
Loading: *##
2.1 MiB/s
done
Bytes transferred = 15180 (3b4c hex)
sun4i# printenv bootargs
printenv bootargs
bootargs=console=ttyS0,115200 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.193:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
sun4i# bootz 0x40008000 0x42000000 0x41000000
bootz 0x40008000 0x42000000 0x41000000
Kernel image @ 0x40008000 [ 0x000000 - 0x45e3a0 ]
## Loading init Ramdisk from Legacy Image at 42000000 ...
Image Name:
Created: 2014-02-07 19:37:29 UTC
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
Booting using the fdt blob at 0x41000000
Loading Device Tree to 40ff9000, end 40fffb4b ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 19.84 seconds.
# PYBOOT: Result: FAIL
bcm28155-ap: FAIL: last 80 lines of boot log:
---------------------------------------------
[ 1.060000] ---[ end trace 7256d7a93b10ee34 ]---
[ 1.060000] Alignment trap: not handling instruction e1923f9f at [<c07ba864>]
[ 1.060000] Unhandled fault: alignment exception (0x001) at 0x20736eae
<LAVA_DISPATCHER>2014-03-19 08:46:16 AM WARNING: Sending newline in case of corruption.
<LAVA_DISPATCHER>2014-03-19 08:46:46 AM WARNING: Sending newline in case of corruption.
<LAVA_DISPATCHER>2014-03-19 08:47:16 AM WARNING: Sending newline in case of corruption.
<LAVA_DISPATCHER>2014-03-19 08:47:46 AM WARNING: Sending newline in case of corruption.
<LAVA_DISPATCHER>2014-03-19 08:48:17 AM WARNING: Sending newline in case of corruption.
<LAVA_DISPATCHER>2014-03-19 08:48:47 AM WARNING: Sending newline in case of corruption.
<LAVA_DISPATCHER>2014-03-19 08:49:17 AM INFO: Boot linaro image failed: Timeout exceeded in read_nonblocking().
<lava_dispatcher.utils.logging_spawn object at 0x9b6d02c>
version: 2.4 ($Revision: 516 $)
command: /usr/bin/conmux-console
args: [u'/usr/bin/conmux-console', u'vence/capri']
searcher: searcher_re:
0: re.compile("root@bcm-capri-board:~#")
buffer (last 100 chars): 23f9f at [<c07ba864>]
[ 1.060000] Unhandled fault: alignment exception (0x001) at 0x20736eae
before (last 100 chars): 23f9f at [<c07ba864>]
[ 1.060000] Unhandled fault: alignment exception (0x001) at 0x20736eae
after: <class 'pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 27407
child_fd: 3
closed: False
timeout: 1200
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: <lava_dispatcher.context.Flusher object at 0x949a60c>
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
<LAVA_DISPATCHER>2014-03-19 08:49:17 AM INFO: Booting the test image. Attempt: 2
< waiting for device >
<LAVA_DISPATCHER>2014-03-19 08:49:19 AM INFO: Perform hard reset on the system
Reboot: capri ; ip9258 1 3 : off, sleep, on
< waiting for device >
<LAVA_DISPATCHER>2014-03-19 08:59:21 AM ERROR: boot_linaro_image failed
Traceback (most recent call last):
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/actions/boot_control.py", line 105, in run
client.boot_linaro_image()
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/client/base.py", line 508, in boot_linaro_image
self._boot_linaro_image()
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/client/base.py", line 481, in _boot_linaro_image
self.proc = self.target_device.power_on()
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/device/capri.py", line 114, in power_on
self.fastboot('reboot')
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/device/fastboot.py", line 57, in __call__
_call(self.context, command, ignore_failure, timeout)
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/device/fastboot.py", line 45, in _call
context.run_command(cmd, failok=ignore_failure)
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/context.py", line 153, in run_command
rc = subprocess.check_call(command, **output_args)
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['nice', 'sh', '-c', u'timeout 600s flock /var/lock/lava-fastboot.lck fastboot -s 1234567890 reboot']' returned non-zero exit status 124
<LAVA_DISPATCHER>2014-03-19 08:59:21 AM INFO: CriticalError
<LAVA_DISPATCHER>2014-03-19 08:59:21 AM WARNING: [ACTION-E] boot_linaro_image is finished with error (Failed to boot test image.).
ErrorMessage: Failed to boot test image.
Lava failed at action boot_linaro_image with error:Failed to boot test image.
Traceback (most recent call last):
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/job.py", line 270, in run
action.run(**params)
File "/home/khilman/work.local/lava/lava-dispatcher/lava_dispatcher/actions/boot_control.py", line 109, in run
raise CriticalError("Failed to boot test image.")
CriticalError: Failed to boot test image.
Reboot: capri ; ip9258 1 3 : ['off']
<LAVA_DISPATCHER>2014-03-19 08:59:22 AM INFO: Submitting the test result with parameters = {u'token': '<HIDDEN>', u'stream': u'/anonymous/lboot/', u'server': u'http://khilman@lava.lan/RPC2/'}
<LAVA_DISPATCHER>2014-03-19 08:59:22 AM INFO: Dashboard : http://lava.lan/dashboard/permalink/bundle/1179e9ad9267acafd46bc3a42dd7a5ca…
LBOOT: Result: FAIL
LBOOT: Time: 976.17 seconds.
omap3-overo-tobi: FAIL: last 80 lines of boot log:
--------------------------------------------------
Overo #if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
Overo # setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
Overo # dhcp
dhcp
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC fe:06:88:cd:08:6f
BOOTP broadcast 1
DHCP client bound to address 192.168.1.155
Overo # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
Overo # if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
Overo # tftp 0x80200000 192.168.1.2:tmp/3530overo-DeN5vT/zImage
tftp 0x80200000 192.168.1.2:tmp/3530overo-DeN5vT/zImage
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC fe:06:88:cd:08:6f
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.155
Filename 'tmp/3530overo-DeN5vT/zImage'.
Load address: 0x80200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
2.4 MiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
Overo # tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC fe:06:88:cd:08:6f
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.155
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *############################################
2.4 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
Overo # tftp 0x81f00000 192.168.1.2:tmp/3530overo-DeN5vT/omap3-overo-tobi.dtb
tftp 0x81f00000 192.168.1.2:tmp/3530overo-DeN5vT/omap3-overo-tobi.dtb
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC fe:06:88:cd:08:6f
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.155
Filename 'tmp/3530overo-DeN5vT/omap3-overo-tobi.dtb'.
Load address: 0x81f00000
Loading: *#####
2.2 MiB/s
done
Bytes transferred = 61262 (ef4e hex)
Overo # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 earlyprintk debug rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.155:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
Overo #bootz 0x80200000 0x81000000 0x81f00000
bootz 0x80200000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Ramdisk to 8ff63000, end 8ffffdea ... OK
Loading Device Tree to 8ff51000, end 8ff62f4d ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 28.01 seconds.
# PYBOOT: Result: FAIL
am335x-bone: FAIL: last 80 lines of boot log:
---------------------------------------------
GNU ld (GNU Binutils for Ubuntu) 2.22.90.20120919
U-Boot# setenv bootargs console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
U-Boot# setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'if test -n ${initenv}; then run initenv; fi
U-Boot# if test -n ${initenv}; then run initenv; fiif test -n ${preboot}; then run preboot; fi
U-Boot# if test -n ${preboot}; then run preboot; fisetenv autoload no; setenv autoboot no
U-Boot# setenv autoload no; setenv autoboot nodhcp
U-Boot# dhcp
cpsw Waiting for PHY auto negotiation to complete.. done
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.198
U-Boot# setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
U-Boot# if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
U-Boot# tftp 0x80200000 192.168.1.2:tmp/am335xbone-YstuYA/zImage
tftp 0x80200000 192.168.1.2:tmp/am335xbone-YstuYA/zImage
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.198
Filename 'tmp/am335xbone-YstuYA/zImage'.
Load address: 0x80200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
1.2 MiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
U-Boot# tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.198
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *############################################
1.1 MiB/s
done
Bytes transferred = 642602 (9ce2a hex)
U-Boot# tftp 0x81f00000 192.168.1.2:tmp/am335xbone-YstuYA/am335x-bone.dtb
tftp 0x81f00000 192.168.1.2:tmp/am335xbone-YstuYA/am335x-bone.dtb
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.2; our IP address is 192.168.1.198
Filename 'tmp/am335xbone-YstuYA/am335x-bone.dtb'.
Load address: 0x81f00000
Loading: *##
1.1 MiB/s
done
Bytes transferred = 28886 (70d6 hex)
U-Boot# printenv bootargs
printenv bootargs
bootargs=console=ttyO0,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.198:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
U-Boot# bootz 0x80200000 0x81000000 0x81f00000
bootz 0x80200000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Ramdisk to 8f19a000, end 8f236dea ... OK
Using Device Tree in place at 81f00000, end 81f0a0d5
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 30.58 seconds.
# PYBOOT: Result: FAIL
omap3-overo-storm-tobi: FAIL: last 80 lines of boot log:
--------------------------------------------------------
No EEPROM on expansion board
Die ID #3dea00029ff80000016830c40802e016
Net: smc911x-0
Warning: smc911x-0 using MAC address from net device
Hit any key to stop autoboot: 5
0
Overo #
Overo # version
version
U-Boot 2013.04-00003-g84ebf5d (Jun 21 2013 - 15:36:05)
arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.7.2-1ubuntu1) 4.7.2
GNU ld (GNU Binutils for Ubuntu) 2.22.90.20120919
Overo # setenv bootargs console=ttyO2,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
setenv bootargs console=ttyO2,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4
Overo # setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
setenv netargs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::::192.168.1.254:none'
Overo # if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
Overo # if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
Overo # setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
Overo # dhcp
dhcp
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 00:15:c9:28:f0:11
BOOTP broadcast 1
DHCP client bound to address 192.168.1.195
Overo # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
Overo # if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
Overo # tftp 0x80200000 192.168.1.2:tmp/3730storm-lNsNjE/zImage
tftp 0x80200000 192.168.1.2:tmp/3730storm-lNsNjE/zImage
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 00:15:c9:28:f0:11
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.195
Filename 'tmp/3730storm-lNsNjE/zImage'.
Load address: 0x80200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
2.4 MiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
Overo # tftp 0x81f00000 192.168.1.2:tmp/3730storm-lNsNjE/omap3-overo-storm-tobi.dtb
tftp 0x81f00000 192.168.1.2:tmp/3730storm-lNsNjE/omap3-overo-storm-tobi.dtb
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 00:15:c9:28:f0:11
Using smc911x-0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.195
Filename 'tmp/3730storm-lNsNjE/omap3-overo-storm-tobi.dtb'.
Load address: 0x81f00000
Loading: *#####
2.4 MiB/s
done
Bytes transferred = 62106 (f29a hex)
Overo # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.195:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
Overo # bootz 0x80200000 - 0x81f00000
bootz 0x80200000 - 0x81f00000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Loading Device Tree to 8ffed000, end 8ffff299 ... OK
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 26.31 seconds.
# PYBOOT: Result: FAIL
omap5-uevm: FAIL: last 80 lines of boot log:
--------------------------------------------
Connected to omap5uevm console [channel connected] (~$quit to exit)
(user:khilman) is already connected
~$hardreset
Command(omap5uevm console)> hardreset
(user:khilman) Reboot omap5uevm
Reboot: omap5uevm ; phidget 1 2 : ('off', 4, 'on')
, sleep 4,
found: 002/104 2
~$off
# PYBOOT: Exception: ERROR: Could not break into autoboot.
# PYBOOT: Time: 31.38 seconds.
# PYBOOT: Result: FAIL
omap4-panda-es: FAIL: last 80 lines of boot log:
------------------------------------------------
Panda # if test -n ${initenv}; then run initenv; fi
if test -n ${initenv}; then run initenv; fi
Panda # if test -n ${preboot}; then run preboot; fi
if test -n ${preboot}; then run preboot; fi
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
Panda #setenv autoload no; setenv autoboot no
setenv autoload no; setenv autoboot no
Panda # dhcp
dhcp
Waiting for Ethernet connection... done.
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.157
Panda # setenv serverip 192.168.1.2
setenv serverip 192.168.1.2
Panda # if test -n ${netargs}; then run netargs; fi
if test -n ${netargs}; then run netargs; fi
Panda # tftp 0x82000000 192.168.1.2:tmp/4460panda-es-x02RBt/zImage
tftp 0x82000000 192.168.1.2:tmp/4460panda-es-x02RBt/zImage
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.157
Filename 'tmp/4460panda-es-x02RBt/zImage'.
Load address: 0x82000000
Loading: *T #################################################################
#################################################################
#################################################################
#################################################################
#####################################################
548.8 KiB/s
done
Bytes transferred = 4580256 (45e3a0 hex)
Panda # tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
tftp 0x81000000 192.168.1.2:buildroot.cpio.gz.uboot
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.157
Filename 'buildroot.cpio.gz.uboot'.
Load address: 0x81000000
Loading: *T ############################################
110.4 KiB/s
done
Bytes transferred = 642602 (9ce2a hex)
Panda # tftp 0x81f00000 192.168.1.2:tmp/4460panda-es-x02RBt/omap4-panda-es.dtb
tftp 0x81f00000 192.168.1.2:tmp/4460panda-es-x02RBt/omap4-panda-es.dtb
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.157
Filename 'tmp/4460panda-es-x02RBt/omap4-panda-es.dtb'.
Load address: 0x81f00000
Loading: *EHCI timed out on TD - token=0x88008d80
T ####
9.8 KiB/s
done
Bytes transferred = 52383 (cc9f hex)
Panda # printenv bootargs
printenv bootargs
bootargs=console=ttyO2,115200n8 debug earlyprintk rw root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ip=192.168.1.157:192.168.1.2:192.168.1.254:255.255.255.0::::192.168.1.254:none
Panda # bootz 0x82000000 0x81000000 0x81f00000
bootz 0x82000000 0x81000000 0x81f00000
## Loading init Ramdisk from Legacy Image at 81000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 642538 Bytes = 627.5 KiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 81f00000
Booting using the fdt blob at 0x81f00000
Using Device Tree in place at 81f00000, end 81f0fc9e
Starting kernel ...
~$off
# PYBOOT: Exception: kernel: ERROR: did not start booting.
# PYBOOT: Time: 53.62 seconds.
# PYBOOT: Result: FAIL
There are only two users of get_nohz_timer_target(): timer and hrtimer. Both
call it under same circumstances, i.e.
#ifdef CONFIG_NO_HZ_COMMON
if (!pinned && get_sysctl_timer_migration() && idle_cpu(this_cpu))
return get_nohz_timer_target();
#endif
So, it makes more sense to get all this as part of get_nohz_timer_target()
instead of duplicating code at two places. For this another parameter is
required to be passed to this routine, pinned.
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
include/linux/sched.h | 6 +++++-
kernel/hrtimer.c | 15 +--------------
kernel/sched/core.c | 5 ++++-
kernel/timer.c | 7 +------
4 files changed, 11 insertions(+), 22 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 6dbb9e5..9819f93 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -299,10 +299,14 @@ extern int runqueue_is_locked(int cpu);
#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON)
extern void nohz_balance_enter_idle(int cpu);
extern void set_cpu_sd_state_idle(void);
-extern int get_nohz_timer_target(void);
+extern int get_nohz_timer_target(int pinned);
#else
static inline void nohz_balance_enter_idle(int cpu) { }
static inline void set_cpu_sd_state_idle(void) { }
+static inline int get_nohz_timer_target(int pinned)
+{
+ return smp_processor_id();
+}
#endif
/*
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index f60dce8..7eef615 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -168,19 +168,6 @@ struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer,
}
}
-
-/*
- * Get the preferred target CPU for NOHZ
- */
-static int hrtimer_get_target(int this_cpu, int pinned)
-{
-#ifdef CONFIG_NO_HZ_COMMON
- if (!pinned && get_sysctl_timer_migration() && idle_cpu(this_cpu))
- return get_nohz_timer_target();
-#endif
- return this_cpu;
-}
-
/*
* With HIGHRES=y we do not migrate the timer when it is expiring
* before the next event on the target cpu because we cannot reprogram
@@ -214,7 +201,7 @@ switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base,
struct hrtimer_clock_base *new_base;
struct hrtimer_cpu_base *new_cpu_base;
int this_cpu = smp_processor_id();
- int cpu = hrtimer_get_target(this_cpu, pinned);
+ int cpu = get_nohz_timer_target(pinned);
int basenum = base->index;
again:
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 6fde755..a58e24d 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -556,12 +556,15 @@ void resched_cpu(int cpu)
* selecting an idle cpu will add more delays to the timers than intended
* (as that cpu's timer base may not be uptodate wrt jiffies etc).
*/
-int get_nohz_timer_target(void)
+int get_nohz_timer_target(int pinned)
{
int cpu = smp_processor_id();
int i;
struct sched_domain *sd;
+ if (pinned || !get_sysctl_timer_migration() || !idle_cpu(cpu))
+ return cpu;
+
rcu_read_lock();
for_each_domain(cpu, sd) {
for_each_cpu(i, sched_domain_span(sd)) {
diff --git a/kernel/timer.c b/kernel/timer.c
index e6868bf..2cf8616 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -760,12 +760,7 @@ __mod_timer(struct timer_list *timer, unsigned long expires,
debug_activate(timer, expires);
- cpu = smp_processor_id();
-
-#if defined(CONFIG_NO_HZ_COMMON) && defined(CONFIG_SMP)
- if (!pinned && get_sysctl_timer_migration() && idle_cpu(cpu))
- cpu = get_nohz_timer_target();
-#endif
+ cpu = get_nohz_timer_target(pinned);
new_base = per_cpu(tvec_bases, cpu);
if (base != new_base) {
--
1.7.12.rc2.18.g61b472e