Philipp Westphal | 24 May 21:32 2016

Sharp Zaurus C3000 -- suspend problems?


Hi, 

I know it might be a bit out of date Hardware, but I recently got my fingers on an C3000 (spitz). I replaced the
4GB Microdrive with a 32GB CF.

1. Installed pdaXii13 (build 5.4.9 "Alice")
2. installed OpenBSD 5.9 on the unusued part of the CF.

So faar everything works fine, the system runs stable enough to compile kernel and Userland (within 3 days
:D). But I can't get it to suspend/wake up.

Problem: 

a) lidsuspend (without X) --> white screen with backlight sucking battery 
   pressing power again: system resuming everything is fine.
b) lidsuspend (with X) --> white screen as before before, but pressing power button brings the zaurus back
to the console but it will not accept any key pressing --> so I have to reset the whole thing.

the same results are for zzz / zzz -s / zzz-Z or apm.

Thank you!
Philipp

PS. I hope this is the popper List for this.
Attachment (daemon): application/octet-stream, 7537 bytes
Attachment (dmesg.out): application/octet-stream, 3238 bytes
Attachment (messages): application/octet-stream, 5977 bytes
Attachment (sysctl.out): application/octet-stream, 32 KiB
Aaron Bieber | 23 May 21:58 2016
Gravatar

Can't boot Pandaboard ES with current snapshots (1463985060)

Simply flashing the miniroot image onto an SD card and booting will
result in:

reading uEnv.txt
162 bytes read in 3 ms (52.7 KiB/s)
Importing environment from mmc0 ...
Running uenvcmd ...
reading bsdrd.umg
10883512 bytes read in 507 ms (20.5 MiB/s)
## Booting kernel from Legacy Image at 82800000 ...
   Image Name:   boot
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    10883448 Bytes = 10.4 MiB
   Load Address: 80300000
   Entry Point:  80300000
   Verifying Checksum ... OK
   Loading Kernel Image ... Image too large: increase
   CONFIG_SYS_BOOTM_LEN
Must RESET board to recover
resetting ...

U-Boot SPL 2015.10 (Feb 01 2016 - 13:59:48)
OMAP4460 ES1.1

I was able to get the image to boot by bumping CONFIG_SYS_BOOTM_LEN, but
then I run into this:

Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0] 
Disk: sd0       geometry: 1936/255/63 [31116288 Sectors]
(Continue reading)

Artturi Alm | 20 May 22:22 2016
Picon

'shutdown -p' for sunxis; = i2c+pmic

Hi,

tested w/call to axp20x_shutdown(); before the hang regression on cubie,
and pmap spam on cubie2. unfortunately i was lazy, so this includes the
earlier diff for sd/mmc support also.
both really simple, sdmmc doesn't use dma transfers yet, and axp driver is
only for shutting down and possibly w/few line diff for preventing ahci from 
attaching when pwr is not sourced from ACin.. but i believe these provide
decent starting point for anyone interested.

-Artturi


diff --git a/sys/arch/armv7/conf/GENERIC b/sys/arch/armv7/conf/GENERIC
index 882a6e7..97265a0 100644
--- a/sys/arch/armv7/conf/GENERIC
+++ b/sys/arch/armv7/conf/GENERIC
 <at>  <at>  -98,6 +98,12  <at>  <at>  ehci*		at sunxi?		# EHCI (shim)
 usb*		at ehci?	#flags 0x1
 #ohci*		at sunxi?
 #usb*		at ohci?
+sxisdmmc*	at sunxi?		# SD/MMC card controller
+sdmmc*		at sxisdmmc?		# SD/MMC bus
+sxitwi*		at sunxi?
+iic*		at sxitwi?
+
+axppmic*	at iic?
 
 # ARM Versatile Express
 vexpress0	at mainbus?
(Continue reading)

hans | 20 May 14:49 2016
Picon

make build fails on current/bbb

This is the latest snapshot on Beagle Bone Black.
I don;t see any problems running the snapshot.

Recompiling the kernel went fine,
but recompiling the userland fails with

===> libcurses
/usr/bin/awk -f /usr/src/lib/libcurses/tinfo/MKnames.awk  /usr/src/lib/libcurses/Caps > names.c
cc  -O2 -pipe -g -I. -I/usr/src/lib/libcurses   -I. -I/usr/src/lib/libcurses  -g  -o make_keys
/usr/src/lib/libcurses/tinfo/make_keys.c 
sh /usr/src/lib/libcurses/tinfo/MKkeys_list.sh /usr/src/lib/libcurses/Caps | sort > keys.list
./make_keys keys.list > init_keytry.h
Segmentation fault (core dumped) 
*** Error 139 in lib/libcurses (Makefile:125 'init_keytry.h')
*** Error 1 in lib (<bsd.subdir.mk>:48 'depend')
*** Error 1 in /usr/src (Makefile:79 'build')

I have cleaned my /usr/obj and got a fresh src.tar.gz cvs up'd to -rHEAD
a couple of times, but it always breaks at this point.

Is anyone seeing this as well?

	Jan

Artturi Alm | 18 May 00:30 2016
Picon

sxisdmmc

so i found this while digging rotten branches, initially from NetBSD.
managed to refrain from cleaning up anything in the diff below.

tested to compile, runtime tests done on something that actually does
run on my sunxis, it seems sunxi hasn't fixed itself on your tree, or
maybe it does work, but in an emulator or w/e.

-Artturi

diff --git a/sys/arch/armv7/conf/GENERIC b/sys/arch/armv7/conf/GENERIC
index 953984d..ad0c412 100644
--- a/sys/arch/armv7/conf/GENERIC
+++ b/sys/arch/armv7/conf/GENERIC
 <at>  <at>  -98,6 +98,8  <at>  <at>  ehci*		at sunxi?		# EHCI (shim)
 usb*		at ehci?	#flags 0x1
 #ohci*		at sunxi?
 #usb*		at ohci?
+sxisdmmc*	at sunxi?		# SD/MMC card controller
+sdmmc*		at sxisdmmc?		# SD/MMC bus

 # ARM Versatile Express
 vexpress0	at mainbus?
diff --git a/sys/arch/armv7/sunxi/files.sunxi b/sys/arch/armv7/sunxi/files.sunxi
index 521b2d7..ed0e7d5 100644
--- a/sys/arch/armv7/sunxi/files.sunxi
+++ b/sys/arch/armv7/sunxi/files.sunxi
 <at>  <at>  -48,3 +48,7  <at>  <at>  file	arch/armv7/sunxi/sxiuart.c		sxiuart
 device	sxie: ether, ifnet, mii, ifmedia
 attach	sxie at sunxi
 file	arch/armv7/sunxi/sxie.c			sxie
(Continue reading)

Alan Corey | 30 Apr 16:10 2016
Picon
Gravatar

Re: Which BLOB did OpenBSD object to in the Raspberry Pi?

Hmm, you mean documentation from ARM or from Broadcom?  There seems to
be a ton of stuff at http://infocenter.arm.com but the URL's funky or
blocked by my ISP.  I can go there in Lynx from my devio.us account
but I'm a little out of practice with Lynx.  I was seeing tables of
contents in documents, but I wanted a PDF or ten.  Try
http://infocenter.arm.com/help/topic/com.arm.doc.set.cortexa/index.html
as an example.

The Cortex family of processors made Wikipedia:
https://en.wikipedia.org/wiki/ARM_Cortex-A who says the amount of
documentation is daunting.

The Pi's probably unique in being manufactured by essentially a
non-profit organization. https://www.raspberrypi.org/about/  The
forums at https://www.raspberrypi.org/forums/ seem pretty good.  I
don't know if they have any non-disclosure agreements with Broadcom or
not.  The foundation seems mostly academically oriented, I would think
they'd cooperate with any open source organization.

--

-- 
Credit is the root of all evil.  - AB1JX

Karel W. Dingeldey | 22 Apr 12:10 2016
Picon

OpenBSD 5.9 on Beaglebone Black


Hi everyone,

I'm currently using OpenBSD 5.7 and 5.8 on a couple of BBBs -- works
like a charm.

Since 5.9 came out a couple of days ago, I wanted to use it on another
BBB (new install).

When it comes to stating which hard drive it should install to (eMMC in
this instance), I can only select sd0, which is the SD card. For some
reason the eMMC isn't recognised anymore in this version.

In the change log I saw that some amendments were made to the sdmmc
driver (supposedly to improve eMMC support on devices like the BBB). In
my case it has quite the contrary effect.

Anyone a similar experience? Maybe a hint how to sort it out?

ThanksKarel

Artturi Alm | 20 Apr 03:22 2016
Picon

cleanup diffs?

Hi,

would anyone care to look at diffs aiming to make diffs like below possible
for armv7 too? doesn't take 'much' fixing beyond removing cruft, and can
be done mostly w/o touching the files/headers shared with armish/zaurus, if
wanted.

-Artturi

 sys/arch/arm/arm/cpuswitch7.S | 224 +++++++-----------------------------------
 1 file changed, 38 insertions(+), 186 deletions(-)

diff --git a/sys/arch/arm/arm/cpuswitch7.S b/sys/arch/arm/arm/cpuswitch7.S
index 43bf7da..a5cc631 100644
--- a/sys/arch/arm/arm/cpuswitch7.S
+++ b/sys/arch/arm/arm/cpuswitch7.S
 <at>  <at>  -83,6 +83,7  <at>  <at> 
 #include <machine/frame.h>
 #include <machine/intr.h>
 #include <machine/asm.h>
+#include <machine/sysreg.h>

 /* LINTSTUB: include <sys/param.h> */
 	
 <at>  <at>  -157,27 +158,25  <at>  <at>  ENTRY(cpu_idle_leave)
  */

 ENTRY(cpu_switchto)
-	stmfd	sp!, {r4-r7, lr}
+	push	{r4-r7, lr}
(Continue reading)

Ruslanas Gžibovskis | 7 Apr 21:57 2016
Picon

Raspberry PI B and OpenBSD for learning

Hi team,

sorry for a spam email, but I am willing to learn OpenBSD, and I would like
to use my Raspberry PI B (with 256MB RAM) for this purpose :)

maybe you know if it works and with wich ARCH I should start? fast search
was not very successful :(

thank you.

Thank you for your reply's.

Good $day_time :)
--

-- 

Ruslanas Gžibovskis
+370 6030 7030
RHCE: 130-192-255

Olivier Cherrier | 24 Feb 01:34 2016

cubieboard2 support


	Hi,

Trying to install a cubieboard2, I get :

	OpenBSD/sunxi booting ...
	arg0 0x0 arg1 0x10bb arg2 0x40000100
	atag core flags 0 pagesize 0 rootdev 0
	atag mem start 0x40000000 size 0x40000000
	bootfile: 
	bootargs: 
	memory size derived from u-boot
	bootconf.mem[0].address = 40000000 pages 262144/0x40000000
	Allocating page tables
	freestart = 0x40aaa000, free_pages = 259414 (0x0003f556)
	IRQ stack: p0x40ad8000 v0xc0ad8000
	ABT stack: p0x40ad9000 v0xc0ad9000
	UND stack: p0x40ada000 v0xc0ada000
	SVC stack: p0x40adb000 v0xc0adb000
	Creating L1 page table at 0x40aac000
	Mapping kernel
	Constructing L2 page tables
	undefined page pmap board type: 4283
	Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights
	reserved.
	Copyright (c) 1995-2016 OpenBSD. All rights reserved.
	http://www.OpenBSD.org

	OpenBSD 5.9 (RAMDISK) #41: Thu Feb 18 11:26:25 AEDT 2016
(Continue reading)

andreas.oster | 11 Feb 07:15 2016
Picon

Fw: important message

Hello!

New message, please read <http://test.sibelayakkabicilik.com.tr/has.php?3tmd0>

andreas.oster <at> netikka.fi


Gmane