Hi Benedikt,
when you get to the barebox boot prompt, can you boot successfully by
typing "boot mmc0"?
In your logs I can see that barebox is adding the wrong rootfs option to
the kernel command line, it probably wasn't enough to specify
global.bootm.* variables. The "boot mmc0" command should autodetect the
respective command line options for the kernel.
By the way, you can set the default boot target in barebox with
"nv boot.default=mmc0", followed by a reset. I think the barebox
defaultenv sets this variable wrong on boot...
- Roland
On 22.03.2018 18:11, Robert Schwebel wrote:
----- Forwarded message from [email protected] -----
Date: Thu, 22 Mar 2018 15:12:24 +0100
From: [email protected]
To: [email protected]
Subject: Auto-discard notification
Message-ID: <[email protected]>
The attached message has been automatically discarded.
Date: Thu, 22 Mar 2018 14:12:21 +0000
From: [email protected]
To: [email protected]
Subject: DistroKit not working for BeagleCore
Message-ID: <[email protected]>
X-Mailer: Lotus Notes Release 8.5.1FP1 January 05, 2010
Hi *,
I wanted to feel the power of ptxdist and tried to build an image for
beaglecore (which is a beaglebone black) with DistroKit-2018.03.0 and
OSELAS.Toolchain-2016.06.1/arm-v7a-linux-gnueabihf Toolchain.
Unfortunately nothing is really working. The Boot Process is stopping here:
barebox 2018.01.0-20180128-1 #1 Thu Mar 22 13:13:28 UTC 2018
Board: TI AM335x BeagleBone black
detected 'BeagleBone Black'
cpsw 4a100000.ethernet: detected phy mask 0x1
mdio_bus: miibus0: probed
eth0: got preset MAC address: b0:d5:cc:cb:83:00
cpsw 4a100000.ethernet: Failed to setup slave 1: I/O error
am335x-phy-driver 47401300.usb-phy: am_usbphy 8ffa9528 enabled
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
am335x-phy-driver 47401b00.usb-phy: am_usbphy 8ffaaa88 enabled
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
i2c-omap 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
omap-hsmmc 48060000.mmc: registered as 48060000.mmc
mmc0: detected SD card version 2.0
mmc0: registered mmc0
omap-hsmmc 481d8000.mmc: registered as 481d8000.mmc
mmc1: detected MMC card version 4.5
mmc1: registered mmc1
netconsole: registered as netconsole-1
malloc space: 0x8fefeee0 -> 0x9fdfddbf (size 255 MiB)
environment load /mnt/mmc0.0/barebox.env: No such file or directory
Maybe you have to create the partition.
running /env/bin/init...
[?25hchanging USB current limit to 1300 mA... done
Hit m for menu or any other key to stop autoboot: 3 2 1 0
bootchooser: Target list $global.bootchooser.targets is empty
Nothing bootable found on 'bootchooser'
booting 'net'
ip_route_get: No such file or directory
could not open /mnt/tftp/none-linux-generic: No route to host
Booting 'net' failed: No route to host
booting 'net' failed: No route to host
boot: No route to host
type exit to get to the menu
[1;32mbarebox@[1;36mTI AM335x BeagleBone black:
When trying to boot manually with (global.bootm.image=/mnt/mmc0.1/boot/zImage,
global.bootm.oftree=/mnt/mmc0.1/boot/am335x-boneblack.dtb):
Loading ARM Linux zImage '/mnt/mmc0.1/boot/zImage'
Loading devicetree from '/mnt/mmc0.1/boot/am335x-boneblack.dtb'
commandline: console=ttyO0,115200 console=ttyO0,115200n8 root=/dev/nfs nfsroot
=/home/none/nfsroot/generic,v3,tcp loglevel=5 systemd.log_level=warning
systemd.show_status=auto
[ 0.003601] timer_probe: no matching timers found
[ 0.245969] omap_hwmod: debugss: _wait_target_disable failed
[ 0.533505] hw perfevents: no interrupt-affinity property for /pmu,
guessing.
[ 0.836376] omap_voltage_late_init: Voltage driver support not added
[ 0.871536] mmc0: host does not support reading read-only switch, assuming
write-enable
[ 0.915997] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 500000
KHz
[ 0.924074] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency
changed to: 600000 KHz
[ 0.935105] Root-NFS: no NFS server address
[ 0.940012] VFS: Unable to mount root fs via NFS, trying floppy.
[ 0.949346] VFS: Cannot open root device "nfs" or unknown-block(2,0): error
-6
[ 0.956876] Please append a correct "root=" boot option; here are the
available partitions:
[ 0.965846] b300 15558144 mmcblk0
[ 0.965855] driver: mmcblk
[ 0.973123] b301 32768 mmcblk0p1 abe26147-01
[ 0.973130]
[ 0.980386] b302 524288 mmcblk0p2 abe26147-02
[ 0.980392]
[ 0.987474] b303 524288 mmcblk0p3 abe26147-03
[ 0.987479]
[ 0.994764] Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
Does anybody know how to get this DEMO Case working?
Regards
Benedikt
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
_______________________________________________________________________
REHAU AG + Co, Kommanditgesellschaft;
Persoenlich haftende Gesellschafterin: Helmut Wagner AG 3074 Muri b. Bern,
Schweiz;
Praesident des Verwaltungsrats: Helmut Wagner, HR Bern CHE-107.882.879;
Sitz der Gesellschaft: Rehau;
Registergericht: Hof, HRA 2232
----- End forwarded message -----
--
Pengutronix e.K. | Roland Hieber |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
[email protected]