---------- Forwarded message ----------
From: sourav punoriyar <[email protected]>
Date: Sat, Jan 21, 2017 at 3:37 AM
Subject: Running HelenOS on beaglebone-black
To: [email protected]
Hi All,
I am trying to run HelenOS beaglebone black.
I have built uImage.bin for beaglebone.
I am using the same uImage.bin for beaglebone black.
It gets stuck at
*init: Spawning /app/getterm term/vc5 /loc --wait -- /app/bdsh*
*but i can get into kconsole>*
*After some time it automatically reboots.*
with the following error:-
*[spl_load_image_fat_os: error reading image args, err - -1]*
Could you please give some advice on this ?
Also:
I have connected BBB serially.
I don't have a GUI. Is it required to get bdsh terminal.
how do i get it using my serial connection ?
*example:*
*/#*
I will try to port the differences between beaglebone and beaglebone black
a bit later !!!
[*Logs*]
output: HelenOS output service
output: Accepting connections
init: Unable to stat /srv/hound
init: Starting /srv/compositor
compositor: HelenOS Compositor server
compositor: Accepting connections
init: Spawning /app/barber comp:0/winreg
init: Spawning /app/vlaunch comp:0/winreg
init: Spawning /app/vterm comp:0/winreg
init: Starting /srv/console
console: HelenOS Console service
console: Accepting connections
init: Spawning /app/getterm term/vc0 /loc --msg --wait -- /app/bdsh
init: Spawning /app/getterm term/vc1 /loc --wait -- /app/bdsh
init: Spawning /app/getterm term/vc2 /loc --wait -- /app/bdsh
init: Spawning /app/getterm term/vc3 /loc --wait -- /app/bdsh
init: Spawning /app/getterm term/vc4 /loc --wait -- /app/bdsh
*init: Spawning /app/getterm term/vc5 /loc --wait -- /app/bdsh*
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
*spl_load_image_fat_os: error reading image args, err - -1*
reading u-boot.img
reading u-boot.img
U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using def
PFA text file for full logs.
I eagerly await for your response.
Regards,
Sourav Punoriyar
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
I2C: ready
DRAM: 512 MiB
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
U-Boot# setenv ipaddr 192.168.0.250
U-Boot# V setenv serverip 192.168.0.251
U-Boot# ping 192.168.0.251
link up on port 0, speed 100, full duplex
Using cpsw device
host 192.168.0.251 is alive
U-Boot# tftpboot 0x80007FC0 uImage.bin
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.251; our IP address is 192.168.0.250
Filename 'uImage.bin'.
Load address: 0x80007fc0
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#############T
Abort
U-Boot# tftpboot 0x80007FC0 uImage.bin
ping 192.168.0.251
link up on port 0, speed 100, full duplex
Using cpsw device
Abort
ping failed; host 192.168.0.251 is not alive
U-Boot# ping 192.168.0.251
link up on port 0, speed 100, full duplex
Using cpsw device
host 192.168.0.251 is alive
U-Boot# ping 192.168.0.251
ping 192.168.0.251
tftpboot 0x80007FC0 uImage.bin
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.251; our IP address is 192.168.0.250
Filename 'uImage.bin'.
Load address: 0x80007fc0
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############################################
2 MiB/s
done
Bytes transferred = 12220375 (ba77d7 hex)
U-Boot# bootm 0x80007FC0
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: HelenOS-0.6.0
Image Type: ARM NetBSD Kernel Image (uncompressed)
Data Size: 12220311 Bytes = 11.7 MiB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 80000000) ...
HelenOS bootloader, release 0.6.0 (Elastic Horse), revision 2578M
([email protected])
Built on 2017-01-21 10:57:43 for arm32
Copyright (c) 2001-2016 HelenOS project
Boot data: 0x80008000 -> 0x80ba7797
Memory statistics
0x8000d000|0x8000d000: bootstrap stack
0x80008000|0x80008000: bootstrap page table
0x8000d720|0x8000d720: boot info structure
0x80a00000|0x80a00000: kernel entry point
0x8000dc24|0x8000dc24: kernel image (613200/177518 bytes)
0x80039192|0x80039192: ns image (189692/78010 bytes)
0x8004c24c|0x8004c24c: loader image (188572/78062 bytes)
0x8005f33a|0x8005f33a: init image (190856/78714 bytes)
0x800726b4|0x800726b4: locsrv image (197876/82171 bytes)
0x800867af|0x800867af: rd image (187832/77334 bytes)
0x800995c5|0x800995c5: vfs image (205436/85793 bytes)
0x800ae4e6|0x800ae4e6: logger image (193508/79949 bytes)
0x800c1d33|0x800c1d33: ext4fs image (255488/107775 bytes)
0x800dc232|0x800dc232: initrd image (29360128/11318629 bytes)
Inflating components ... initrd ext4fs logger vfs rd locsrv init loader ns
kernel .
Booting the kernel...
SPARTAN kernel, release 0.6.0 (Elastic Horse), revision 2578M
([email protected])
Built on 2017-01-21 10:57:43 for arm32
Copyright (c) 2001-2016 HelenOS project
system clock running at 24000000 hz
Detected 1 CPU(s), 262144 KiB free memory
Found DCache L1: 4-way, 128 sets, 64 byte lines (shifts: w29, s6)
Found DCache L2: 8-way, 512 sets, 64 byte lines (shifts: w28, s6)
Detected VFPv3+ with 32 regs
Program loader at 0xf00c0000
Kernel console ready (press any key to activate)
RAM disk at 0x80c24000 (size 29360128 bytes)
ns: HelenOS IPC Naming Service
ns: Accepting connections
init: HelenOS init
loc: HelenOS Location Service
rd: HelenOS RAM disk server
rd: Found RAM disk at 0x80c24000, 29360128 bytes
vfs: HelenOS VFS server
logger: HelenOS Logging Service
ext4fs: HelenOS ext4 file system server
loc: Accepting connections
vfs: Accepting connections
logger: Accepting connections
rd: Accepting connections
ext4fs: Accepting connections
init: Root filesystem mounted on / (ext4fs at bd/initrd)
init: Starting /srv/tmpfs
tmpfs: HelenOS TMPFS file system server
tmpfs: Accepting connections
init: Starting /srv/klog
[kernel/other] note: Program loader at 0xf00c0000
init: Starting /srv/locfs
[kernel/other] note: RAM disk at 0x80c24000 (size 29360128 bytes)
locfs: HelenOS Device Filesystem
locfs: Accepting connections
init: Starting /srv/taskmon
taskmon: Task Monitoring Service
init: Location service filesystem mounted on /loc (locfs)
init: Temporary filesystem mounted on /tmp (tmpfs)
init: Starting /srv/devman
devman: HelenOS Device Manager
devman: Accepting connections.
root: HelenOS root device driver
init: Unable to stat /srv/apic
init: Unable to stat /srv/i8259
[devman] note: The `root' driver was successfully registered as running.
init: Unable to stat /srv/icp-ic
init: Unable to stat /srv/obio
init: Unable to stat /srv/cuda_adb
init: Unable to stat /srv/s3c24xx_uart
init: Unable to stat /srv/s3c24xx_ts
init: Starting /srv/vbd
[devman] error: No driver found for device `/hw'.
vbd: Virtual Block Device service
vbd: Accepting connections.
virt: HelenOS virtual devices root driver
init: Starting /srv/volsrv
[devman] note: The `virt' driver was successfully registered as running.
[virt] note: Registered child device `kfb'
volsrv: Volume service
volsrv: Accepting connections.
init: Starting /srv/loopip
kfb: HelenOS kernel framebuffer driver
[devman] note: The `kfb' driver was successfully registered as running.
kfb: Accepting connections
loopip: HelenOS loopback IP link provider
loopip: Accepting connections.
init: Starting /srv/ethip
ethip: HelenOS IP over Ethernet service
ethip: Accepting connections.
init: Starting /srv/inetsrv
inetsrv: HelenOS Internet Protocol service
inetsrv: Accepting connections.
init: Starting /srv/tcp
tcp: TCP (Transmission Control Protocol) network module
tcp: Accepting connections.
init: Starting /srv/udp
udp: UDP (User Datagram Protocol) service
udp: Accepting connections.
init: Starting /srv/dnsrsrv
dnsres: DNS Resolution Service
dnsres: Accepting connections.
init: Starting /srv/dhcp
dhcp: DHCP Service
dhcp: Accepting connections.
init: Starting /srv/nconfsrv
nconfsrv: HelenOS Network configuration service
[nconfsrv] note: Found IP link '28'
[nconfsrv] note: Configure link net/loopback
nconfsrv: Accepting connections.
init: Starting /srv/clipboard
clipboard: HelenOS clipboard service
clipboard: Accepting connections
init: Starting /srv/remcons
remcons: HelenOS Remote console service
init: Starting /srv/input
input: HelenOS input service
input: Accepting connections
init: Starting /srv/output
output: HelenOS output service
output: Accepting connections
init: Unable to stat /srv/hound
init: Starting /srv/compositor
compositor: HelenOS Compositor server
compositor: Accepting connections
init: Spawning /app/barber comp:0/winreg
init: Spawning /app/vlaunch comp:0/winreg
init: Spawning /app/vterm comp:0/winreg
init: Starting /srv/console
console: HelenOS Console service
console: Accepting connections
init: Spawning /app/getterm term/vc0 /loc --msg --wait -- /app/bdsh
init: Spawning /app/getterm term/vc1 /loc --wait -- /app/bdsh
init: Spawning /app/getterm term/vc2 /loc --wait -- /app/bdsh
init: Spawning /app/getterm term/vc3 /loc --wait -- /app/bdsh
init: Spawning /app/getterm term/vc4 /loc --wait -- /app/bdsh
init: Spawning /app/getterm term/vc5 /loc --wait -- /app/bdsh
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel