2009/6/25 Benjamin Herrenschmidt b...@kernel.crashing.org:
Before the console is set up, the printk data is formatted
and put into the kernel log buffer, but not sent to any console.
Any messages printk'ed before that are buffered but do not
appear. When the console is initialized, then all
Hi all,
I am working in customized Freescale MPC8313 board. There are two
PCI devices (Broadcom Switch) in PCI bus.
Each PCI device has its configuration space. It contains
vendor/product ID (RO)..., and important information, likes BARs
(Base Address), INT line and IRQ(RW). These resources
2009/6/30 Marco Stornelli marco.storne...@gmail.com:
2009/6/30 Johnny Hung johnny.hack...@gmail.com:
Thanks for your reply. So there are no PCI device resource info in
flat device tree.
How do PCI device resources be assign in general case or is there any
example?
I am so confusing, would
Hi All:
Is there a alreday written GPIO dirver or example for
MPC8313/similar ppc platform. It looks like many people need GPIO
dirver to control LED, etc... I think is it possible to write a
general gpio driver for all ppc platform and only need to modify gpio
iomap information of dtb file.
Thanks, got it. BTW, how to trigger GPIO level in user space
application? I also found arch/powerpc/platforms/52xx/mpc52xx_gpio.c
is a good example. Any reply is appreciate.
BRs, H. Johnny
2009/9/23 Peter Korsgaard jac...@sunsite.dk:
Johnny == Johnny Hung johnny.hack...@gmail.com writes
Many thanks for your help. I will try it.
2009/9/23 Peter Korsgaard jac...@sunsite.dk:
Johnny == Johnny Hung johnny.hack...@gmail.com writes:
Johnny Thanks, got it. BTW, how to trigger GPIO level in user space
Johnny application? I also found
Johnny arch/powerpc/platforms/52xx
Hi All:
I want to move two local valuables to x86 arch CPU ebx, ecx
register and do outb cpu instruction by using ATA inline asm in
kernel driver. The following code was I wrote but gcc report syntax
error:
==
unsigned int val = 10;
unsigned int tmp = 5;
__asm__ volatile
http://www.einfochips.com
Prepare and Prevent rather than Repair and Repent
Johnny Hung wrote:
Hi All:
I want to move two local valuables to x86 arch CPU ebx, ecx
register and do outb cpu instruction by using ATA inline asm in
kernel driver. The following code was I wrote but gcc report
After testing:
# gcc inlineasm.c
inlineasm.c: Assembler messages:
inlineasm.c:7: Error: suffix or operands invalid for `out'
[r...@debian-johnny] ~/workspace/test
# cat inlineasm.c
#include stdio.h
int main ()
{
unsigned int val = 5, tmp = 10;
asm volatile (outb $0x27, %%al
:
Hi All,
I have a customized MPC8313 (ppc arch) board with SPANSION 64MB NOR
flash, everything works fine but I found a abnormal about JFFS2 flahs
filesystem.
The system will mount JFFS2 to /mnt/mtd when system boot up. I try to
execute umount /mnt/mtd or sync or reboot right away after login
Yes, umount / reboot command doesn't hang after first boot + wait for
20 minutes. The jffs2_gcd_mtdx will re-erase empty blocks but how do I
know it is finished?
BTW, why jffs2_gcd_mtd need to re-erase empty blocks and it will cause
some command cannot work if erase block is necessary. I mean
Hi ALL,
I have build an embedded Linux system and rootfs is a ramdisk. Ramdisk
rootfs resides in memory so modify files is non-effective after a
reboot. Some directories in rootfs, like /etc, /usr, ... are contain
many application configuration files and I want to mount it to jffs2
flash
2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net:
El Tue, Jan 19, 2010 at 05:20:53PM +0800 Johnny Hung ha dit:
I have build an embedded Linux system and rootfs is a ramdisk. Ramdisk
rootfs resides in memory so modify files is non-effective after a
reboot. Some directories in rootfs, like
2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net:
El Tue, Jan 19, 2010 at 02:17:22PM +0100 Ricard Wanderlof ha dit:
On Tue, 19 Jan 2010, Johnny Hung wrote:
Okay, I think the steps is below if my rootfs is ramdisk and configure
files in jffs2,
1. cp /etc/* /mnt/mtd/etc/ (/mnt/mtd is my
2010/1/20 Ricard Wanderlof ricard.wander...@axis.com:
On Wed, 20 Jan 2010, Johnny Hung wrote:
i'd also recommend you to consider if you really need the
ramdisk. when using a ram disk its entire content is loaded to the RAM
occupying space, even if you don't use certain files (or part
2010/1/25 Chris Simmonds ch...@2net.co.uk:
Johnny Hung wrote:
2010/1/22 Marco Stornelli marco.storne...@gmail.com:
2010/1/22 Johnny Hung johnny.hack...@gmail.com:
2010/1/20 Marco Stornelli marco.storne...@gmail.com:
2010/1/20 Johnny Hung johnny.hack...@gmail.com:
2010/1/19 Matthias
16 matches
Mail list logo