Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boots with no ip address #13

Open
ian-kelling opened this issue Oct 5, 2016 · 2 comments
Open

boots with no ip address #13

ian-kelling opened this issue Oct 5, 2016 · 2 comments

Comments

@ian-kelling
Copy link

ian-kelling commented Oct 5, 2016

Using the image from http://repo.fe80.eu/screwdriver/0.3.0/omap/generic/default/openwrt-0.3.0-omap-beagleboneblack-sdcard-vfat-am335x_evm.img

linked from https://www.coreboot.org/BeagleBone_Black_-_screwdriver.

screen log from bootup:

U-Boot SPL 2013.10 (Oct 19 2015 - 21:34:44)
reading args
spl: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2013.10 (Oct 19 2015 - 21:34:44)

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  1 ��� 0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
179 bytes read in 3 ms (57.6 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading /dtbs/am335x-boneblack.dtb
29752 bytes read in 10 ms (2.8 MiB/s)
reading //zImage
2052760 bytes read in 194 ms (10.1 MiB/s)
Kernel image @ 0x80200000 [ 0x000000 - 0x1f5298 ]
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Using Device Tree in place at 80f80000, end 80f8a437

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.18.21 (acouzens@bob) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47235) ) #1 SMP Tue Oct 20 02:24:53 CEST 2015
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x BeagleBone Black
[    0.000000] Memory policy: Data cache writeback
[    0.000000]   HighMem zone: 1048574 pages exceeds freesize 0
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] PERCPU: Embedded 9 pages/cpu @dfac9000 s7168 r8192 d21504 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512308K/523264K available (4123K kernel code, 316K rwdata, 1232K rodata, 292K init, 240K bss, 10956K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0542f14   (5356 kB)
[    0.000000]       .init : 0xc0543000 - 0xc058c000   ( 292 kB)
[    0.000000]       .data : 0xc058c000 - 0xc05db078   ( 317 kB)
[    0.000000]        .bss : 0xc05db078 - 0xc061710c   ( 241 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000031] OMAP clocksource: timer1 at 24000000 Hz
[    0.000256] Console: colour dummy device 80x30
[    0.000284] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.089427] pid_max: default: 32768 minimum: 301
[    0.089576] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.089588] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090145] CPU: Testing write buffer coherency: ok
[    0.090454] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.090563] Setting up static identity map for 0x80013650 - 0x800136a8
[    0.091458] Brought up 1 CPUs
[    0.091474] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[    0.091482] CPU: All CPU(s) started in SVC mode.
[    0.092328] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.102420] omap_hwmod: tptc0 using broken dt data from edma
[    0.102538] omap_hwmod: tptc1 using broken dt data from edma
[    0.102642] omap_hwmod: tptc2 using broken dt data from edma
[    0.107144] omap_hwmod: debugss: _wait_target_disable failed
[    0.161725] pinctrl core: initialized pinctrl subsystem
[    0.162173] regulator-dummy: no parameters
[    0.171059] NET: Registered protocol family 16
[    0.171550] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.172418] cpuidle: using governor ladder
[    0.172437] cpuidle: using governor menu
[    0.175104] OMAP GPIO hardware version 0.1
[    0.195934] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.196523] vmmcsd_fixed: 3300 mV
[    0.198322] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[    0.198349] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[    0.198509] pps_core: LinuxPPS API ver. 1 registered
[    0.198519] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.198557] PTP clock support registered
[    0.199205] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.199514] Advanced Linux Sound Architecture Driver Initialized.
[    0.201294] Switched to clocksource timer1
[    0.209071] NET: Registered protocol family 2
[    0.209912] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.209961] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.210020] TCP: Hash tables configured (established 4096 bind 4096)
[    0.210102] TCP: reno registered
[    0.210116] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.210137] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.210326] NET: Registered protocol family 1
[    0.212480] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.214504] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.214531] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.214812] msgmni has been set to 1000
[    0.215296] io scheduler noop registered
[    0.215316] io scheduler deadline registered (default)
[    0.216047] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.217382] /ocp/lcdc@4830e000: could not find display-timings node
[    0.217394] /ocp/lcdc@4830e000: no timings specified
[    0.217405] da8xx_lcdc 4830e000.lcdc: timings not available in DT
[    0.217755] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.221927] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.222111] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 154, base_baud = 3000000) is a OMAP UART0
[    0.776466] console [ttyO0] enabled
[    0.781139] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    0.791081] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    0.798829] i2c /dev entries driver
[    0.803432] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    0.893983] TCP: cubic registered
[    0.897494] NET: Registered protocol family 17
[    0.902430] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.915740] Bridge firewalling registered
[    0.919952] 8021q: 802.1Q VLAN Support v1.8
[    0.924512] omap_voltage_late_init: Voltage driver support not added
[    0.931600] Registering SWP/SWPB emulation handler
[    0.943058] vdds_dpr: at 1500 mV
[    0.947540] vdd_mpu: 925 <--> 1325 mV at 1325 mV
[    0.953585] vdd_core: 925 <--> 1150 mV at 1125 mV
[    0.959550] vio,vrtc,vdds: at 1800 mV
[    0.964993] vdd_3v3aux: at 3300 mV
[    0.969690] vdd_1v8: 1800 mV
[    0.973839] vdd_3v3a: at 3300 mV
[    0.977372] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.986631] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    0.992318] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    0.998361] mmc0: new high speed SDHC card at address aaaa
[    1.019476] mmcblk0: mmc0:aaaa SL32G 29.7 GiB
[    1.029770]  mmcblk0: p1 p2
[    1.060457] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.066864] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.074043] libphy: 4a101000.mdio: probed
[    1.078260] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
[    1.087386] cpsw 4a100000.ethernet: Detected MACID = 78:a5:04:fd:f3:37
[    1.095359] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    1.108708] ALSA device list:
[    1.111911]   No soundcards found.
[    1.123096] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    1.130873] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    1.138933] mmc1: BKOPS_EN bit is not set
[    1.146942] mmc1: new high speed MMC card at address 0001
[    1.153851] mmcblk1: mmc1:0001 MMC04G 3.65 GiB
[    1.159433] mmcblk1boot0: mmc1:0001 MMC04G partition 1 1.00 MiB
[    1.166285] mmcblk1boot1: mmc1:0001 MMC04G partition 2 1.00 MiB
[    1.174517]  mmcblk1: p1 p2
[    1.181396] EXT4-fs (mmcblk0p2): recovery complete
[    1.189527] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.198145] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.205635] Freeing unused kernel memory: 292K (c0543000 - c058c000)
[    1.291863] init: Console is alive
[    1.297077] init: - watchdog -
[    1.403742] usbcore: registered new interface driver usbfs
[    1.409585] usbcore: registered new interface driver hub
[    1.415350] usbcore: registered new device driver usb
[    1.426791] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.434687] ehci-platform: EHCI generic platform driver
[    2.302807] init: - preinit -
[    2.374931] random: mktemp urandom read with 14 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.446178] mount_root: mounting /dev/root
[    5.452769] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.464439] procd: - early -
[    5.467599] procd: - watchdog -
[    6.084541] procd: - ubus -
[    7.091467] procd: - init -
Please press Enter to activate this console.
[    7.600940] NET: Registered protocol family 10
[    7.615097] ehci-omap: OMAP-EHCI Host Controller driver
[    7.624356] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.650314] 47401300.usb-phy supply vcc not found, using dummy regulator
[    7.659911] musb-hdrc musb-hdrc.0.auto: Failed to request rx1.
[    7.666198] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[    7.674390] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
[    7.682689] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    7.691947] musb-hdrc musb-hdrc.1.auto: Failed to request rx1.
[    7.698132] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
[    7.706333] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
[    7.732084] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    7.738146] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    7.748288] hub 1-0:1.0: USB hub found
[    7.755064] hub 1-0:1.0: 1 port detected
[    7.776886] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.788206] nf_conntrack version 0.5.0 (8009 buckets, 32036 max)
[    7.919074] xt_time: kernel timezone is -0000
[   10.052227] net eth0: initializing cpsw version 1.12 (0)
[   10.059868] net eth0: phy found : id is : 0x7c0f1
[   10.064990] libphy: PHY 4a101000.mdio:01 not found
[   10.070021] net eth0: phy 4a101000.mdio:01 not found on slave 1
[   10.080321] 8021q: adding VLAN 0 to HW filter on device eth0
[   10.115031] device eth0 entered promiscuous mode
[   10.134918] br-lan: port 1(eth0) entered forwarding state
[   10.140727] br-lan: port 1(eth0) entered forwarding state
[   11.051126] br-lan: port 1(eth0) entered disabled state
[   12.051120] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   12.059596] br-lan: port 1(eth0) entered forwarding state
[   12.065342] br-lan: port 1(eth0) entered forwarding state
[   14.060438] br-lan: port 1(eth0) entered forwarding state



BusyBox v1.23.2 (2015-10-19 21:34:06 CEST) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||߁I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (0.3.0, r47235)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@screwdriver:/# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP group default qlen 1000
    link/ether 78:a5:04:fd:f3:37 brd ff:ff:ff:ff:ff:ff
3: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 78:a5:04:fd:f3:37 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::7aa5:4ff:fefd:f337/64 scope link
       valid_lft forever preferred_lft forever
root@screwdriver:/# 
@stefanct
Copy link

stefanct commented Jan 7, 2017

i never liked the intended mode of screwdriver launching its own dhcp. i prefer hooking it up to the ordinary lan. that can be trivially achieved by changing the lan entry in /etc/config/network to

config interface 'lan'
  option ifname 'eth0'
  option proto 'dhcp'

@paulmenzel
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants