Hello,

I try to add a new ARM board (JeOS-socfpgade0nanosoc) to factory ARM.
Now I have some problems to get the image [1] to work on the target. It
cannot find a boot device during first startup (see appended serial
console output). To debug that I did a

setenv append kiwidebug=1
saveenv

on u-boot console and by that the boot process should start a console.
But problem 1:
[1483747199.877840] Starting boot shell on /dev/tty2
[1483747200.888525] Searching for boot device...
[1483747233.661872] Failed to find boot device !
Press Enter for maintenance
(or press Control-D to continue):

after that no input is accepted, neither Enter nor Control-D. I tried to
reconfigure my serial terminal to test with CR, LF and CRLF line
endings, all the same result. I guess that it has to do with the console
on /dev/tty2, which is not the serial console. How can this be changed?

Problem 2:
The system immediately restarts with the latest images when it reached
that point, that was not the case one week ago or so. How to debug or
change that?

Br,
Frank


[1]
https://build.opensuse.org/package/show/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS

Serial output:
U-Boot SPL 2017.01-rc3 (Jan 06 2017 - 14:29:12)
drivers/ddr/altera/sequencer.c: Preparing to start memory calibration
drivers/ddr/altera/sequencer.c: CALIBRATION PASSED
drivers/ddr/altera/sequencer.c: Calibration complete
Trying to boot from MMC1

U-Boot 2017.01-rc3 (Jan 06 2017 - 14:29:12 +0000)

CPU:   Altera SoCFPGA Platform
FPGA:  Altera Cyclone V, SE/A4 or SX/C4, version 0x0
BOOT:  SD/MMC Internal Transceiver (3.0V)
       Watchdog enabled
I2C:   ready
DRAM:  1 GiB
MMC:   dwmmc0@ff704000: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Terasic DE0-Nano(Atlas)
Net:
Error: ethernet@ff702000 address not set.
No ethernet found.
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:2...
Found U-Boot script /boot.scr
2767 bytes read in 11 ms (245.1 KiB/s)
## Executing script at 02100000
switch to partitions #0, OK
mmc0 is current device
7667392 bytes read in 545 ms (13.4 MiB/s)
41831930 bytes read in 2871 ms (13.9 MiB/s)
17507 bytes read in 73 ms (233.4 KiB/s)
## Loading init Ramdisk from Legacy Image at 07000000 ...
   Image Name:   Initrd
   Created:      2017-01-07  21:42:27 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    41831866 Bytes = 39.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 06f00000
   Booting using the fdt blob at 0x6f00000
   reserving fdt memory region: addr=0 size=1000
   Loading Device Tree to 03ff8000, end 03fff462 ... OK

Starting kernel ...

setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
Sat Jan  7 00:00:00 UTC 2017
[1483747200.768671] Searching for boot device...
[1483747233.594935] Failed to find boot device !
KIWI Log:
KIWI .profile contents:
kiwi_align='1048576'
kiwi_bootkernel='custom'
kiwi_bootloader='uboot'
kiwi_bootprofile='default'
kiwi_cmdline='loglevel=3 splash=silent plymouth.enable=0
rootflags=size=100% console=ttyS0,115200n8'
kiwi_cpio_name='initrd-oemboot-suse-tumbleweed'
kiwi_delete='Mesa cracklib-dict-full fillup gdbm info insserv make
mingetty openSUSE-release pam pam-modules perl perl-Bootload
er permissions python python-base'
kiwi_displayname='openSUSE'
kiwi_drivers='crypto/*,drivers/acpi/*,drivers/acpi/dock.ko,drivers/ata/*,drivers/block/brd.ko,drivers/block/cciss.ko,drivers/bl
ock/loop.ko,drivers/block/virtio_blk.ko,drivers/cdrom/*,drivers/char/hw_random/virtio-rng.ko,drivers/char/lp.ko,drivers/dma/*,d
rivers/firmware/edd.ko,drivers/gpio/*,drivers/gpu/*,drivers/gpu/drm/*,drivers/hid/*,drivers/hwmon/*,drivers/ide/*,drivers/input
/keyboard/*,drivers/input/mouse/*,drivers/md/*,drivers/message/fusion/*,drivers/mmc/*,drivers/mmc/card/*,drivers/mmc/host/*,dri
vers/net/*,drivers/parport/*,drivers/phy/*,drivers/regulator/*,drivers/scsi/*,drivers/staging/hv/*,drivers/thermal/*,drivers/us
b/*,drivers/virtio/*,fs/binfmt_aout.ko,fs/binfmt_misc.ko,fs/btrfs/*,fs/exportfs/*,fs/ext2/*,fs/ext3/*,fs/ext4/*,fs/fat/*,fs/fus
e/*,fs/hfs/*,fs/isofs/*,fs/jbd/*,fs/jbd2/*,fs/mbcache.ko,fs/nls/nls_cp437.ko,fs/nls/nls_iso8859-1.ko,fs/nls/nls_utf8.ko,fs/over
layfs/*,fs/quota_v1.ko,fs/quota_v2.ko,fs/squashfs/*,fs/udf/*,fs/vfat/*,fs/xfs/*,lib/crc-t10dif.ko,lib/crc16.ko,lib/libcrc32c.ko
,lib/zlib_deflate/zlib_deflate.ko,net/packet/*'
kiwi_firmware='ofw'
kiwi_fsmountoptions='noatime,nobarrier'
kiwi_iname='initrd-oemboot-suse-tumbleweed'
kiwi_iversion='2.7.1'
kiwi_language='en_US'
kiwi_loader_theme='openSUSE'
kiwi_oemataraid_scan='true'
kiwi_oemmultipath_scan='true'
kiwi_oemskipverify='true'
kiwi_oemswap='true'
kiwi_oemswapMB='500'
kiwi_profiles='default,custom'
kiwi_revision='0845f334f23450ad03841febae8ddd10cb3b4a0b'
kiwi_sectorsize='512'
kiwi_splash_theme='openSUSE'
kiwi_startsector='2048'
kiwi_strip_delete='/etc/services /etc/udev/hwdb.bin
/lib/firmware/brcm/*-pcie.bin /lib/firmware/radeon /lib/i686/nosegneg /lib/
modules/*/kernel/crypto /lib/modules/*/kernel/drivers/infiniband
/lib/modules/*/kernel/drivers/isdn /lib/modules/*/kernel/drive
rs/md /lib/modules/*/kernel/drivers/media
/lib/modules/*/kernel/drivers/net /lib/modules/*/kernel/drivers/scsi
/lib/modules/*/k
ernel/net /lib/modules/*/kernel/sound /usr/bin/busybox /usr/bin/curl
/usr/bin/diff /usr/bin/fbiterm /usr/bin/gawk /usr/bin/host
 /usr/bin/journalctl /usr/bin/rsync /usr/lib*/gconv /usr/lib/genisoimage
/usr/lib/grub2 /usr/lib/ldscripts /usr/lib/perl5 /usr/
lib/rpm /usr/lib/systemd/catalog
/usr/lib/systemd/system/busnames.target.wants
/usr/lib/systemd/system/local-fs.target.wants /u
sr/lib/systemd/system/multi-user.target.wants
/usr/lib/systemd/system/poweroff.target.wants
/usr/lib/systemd/systemd-backlight
/usr/lib/systemd/systemd-bus-proxyd /usr/lib/systemd/systemd-coredump
/usr/lib/systemd/systemd-localed /usr/lib/systemd/systemd
-logind /usr/lib/systemd/systemd-machined
/usr/lib/systemd/systemd-networkd /usr/lib/systemd/systemd-timesyncd
/usr/lib/systemd
/user /usr/lib/systemd/user-generators /usr/lib/udev/hwdb.d
/usr/lib/wicked /usr/lib64/ldscripts /usr/sbin/wicked /usr/share/X1
1/locale /usr/share/backgrounds /usr/share/fbiterm /usr/share/fonts
/usr/share/grub2/backgrounds /usr/share/help /usr/share/icu
 /usr/share/info /usr/share/kbd /usr/share/locale /usr/share/misc/magic
/usr/share/pci.ids /usr/share/pci.ids.d /usr/share/spla
shy /usr/share/tc /usr/share/wicked /usr/src/packages /var/adm
/var/cache/zypp /var/log/* usr/share/bash-completion usr/share/b
ash/helpfiles usr/share/emacs usr/share/sgml usr/share/zoneinfo
usr/share/zsh'
kiwi_strip_libs='libaio libdevmapper libdmraid-events-isw libdrm
libfontenc libfreetype libgcc_s libjpeg libkmod libkms libnsl
libnss_compat libnss_dns libnss_files libply-boot-client
libply-splash-graphics libpng libresolv librt libselinux libsepol libs
plashy libsplashycnf libsysfs libutempter libutil'
kiwi_strip_tools='arch ata_id atftp atftpd awk basename bash bc blkid
blockdev blogd btrfs btrfsck btrfsctl btrfstune b
U-Boot SPL 2017.01-rc3 (Jan 06 2017 - 14:29:12)
drivers/ddr/altera/sequencer.c: Preparing to start memory calibration
drivers/ddr/altera/sequencer.c: CALIBRATION PASSED
drivers/ddr/altera/sequencer.c: Calibration complete
Trying to boot from MMC1
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to