Tiny login: user add command
Hi, I am using montavista linux. Using TCT tool i have added package for user creation. I am having following problem a.. If I use tiny login package, I will be getting useradd binary but number of parameter are few like Usage: adduser [OPTIONS]... Options: -h specify home directory -s specify shell -g specify GECOS stringa.. If I don't use tiny login package, I will be selecting useradd package from admin menu. But I am unable to execute this command since it gives follwing error /usr/sbin/groupadd missing.. a.. Actually I want useradd command similar to linux where more argument are taken, especially I wanted 'user' to be part of more than one group. can anyone help me out.. thanx in advance, pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: powerpc 440 monitor program
On Fri, Oct 19, 2007 at 11:32:33AM +0800, Bai Shuwei wrote: > all, > hi, when I boot my system, there are no output on the screen. > I choice the framebuffer and my monitor card is ATI PAGE 128 PCI, qt/e GUI. > When i compile the kernel, the boot logo and aty 128fb has be compiled into > kernel patched with videoboot, and x86emu. The video parameters set: > video=aty128fb:[EMAIL PROTECTED] > The kenel can recognize the monitor card, and the frame buffer device > has run. > The output showed below: > > videoboot: Booting PCI video card bus 0, function 0, device 6 >aty128fb: Found Intel x86 BIOS ROM Image >aty128fb: Rage128 BIOS located >aty128fb: Rage128 RK PCI [chip rev 0x2] 32M 64-bit SDR SGRAM (2:1) >fb0: ATY Rage128 frame buffer device on Rage128 RK PCI > > My problem is there is no output on the monitor,and cannot see the penguin > boot logo. Uh.. most 440 systems use a serial console. It ought in theory to be possible to use a framebuffer instead, but it wouldn't surprise me if rather a lot of debugging was necessary. -- David Gibson| I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
powerpc 440 monitor program
all, hi, when I boot my system, there are no output on the screen. I choice the framebuffer and my monitor card is ATI PAGE 128 PCI, qt/e GUI. When i compile the kernel, the boot logo and aty 128fb has be compiled into kernel patched with videoboot, and x86emu. The video parameters set: video=aty128fb:[EMAIL PROTECTED] The kenel can recognize the monitor card, and the frame buffer device has run. The output showed below: videoboot: Booting PCI video card bus 0, function 0, device 6 aty128fb: Found Intel x86 BIOS ROM Image aty128fb: Rage128 BIOS located aty128fb: Rage128 RK PCI [chip rev 0x2] 32M 64-bit SDR SGRAM (2:1) fb0: ATY Rage128 frame buffer device on Rage128 RK PCI My problem is there is no output on the monitor,and cannot see the penguin boot logo. I also run a program to test the framebuffer, which can read data from the fb. After running the qt/e program, which can run scussessfully, there is no output.! The test program reading data are showed below; id = ATY Rage128 depth = 16 smemlen = 33554432 line_length = 0 FB_TYPE_ = 0 type_aux = 0 FB_VISUAL_ = 3 xpanstep = 8 ypanstep = 1 ywrapstep = 0 mmio_start = bbffcd mmio_len = 8192 accel = 32 xres = 640 yres = 480 xres_virtul = 640 yres_virtul = 480 xoffset = 0 yoffset = 0 bits_per_pixel = 16 My linux kernel is DENX 2.6.19. What can I do to make my system output into monitor.? best regards! buroc -- Add: Tianshui South Road 222, Lanzhou, P.R.China Tel: +86-931-8912025 Zip Code: 73 URL: oss.lzu.edu.cn Email: [EMAIL PROTECTED], [EMAIL PROTECTED] Tel: +86-931-8912025 Zip Code: 73 URL: oss.lzu.edu.cn Email: [EMAIL PROTECTED], [EMAIL PROTECTED] ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
tiny login: useradd command
Hi, I am using montavista linux. Using TCT tool i have added package for user creation. I am having following problem a.. If I use tiny login package, I will be getting useradd binary but number of parameter are few like Usage: adduser [OPTIONS]... Options: -h specify home directory -s specify shell -g specify GECOS stringa.. If I don't use tiny login package, I will be selecting useradd package from admin menu. But I am unable to execute this command since it gives follwing error /usr/sbin/groupadd missing.. a.. Actually I want useradd command similar to linux where more argument are taken, especially I wanted 'user' to be part of more than one group. can anyone help me out.. thanx in advance, pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
转发: Re: Linux booting problem on Xilinx ppc
On 10/17/07, aauer1 <[EMAIL PROTECTED] > wrote: > > > Grant Likely-2 wrote: > > > > On 10/17/07, aauer1 <[EMAIL PROTECTED] > wrote: > > > Now, I know that the kernel boots but I don't get an > output with my > > > Xilinx > > > UartLite module. Are there some kernel modules which must be > activated?? > > > Btw. I have used the Linux-2.6-virtex kernel from > > > http://git.secretlab.ca/git/ and another Kernel (2.6.23 from > kernel.org) > > > - > > > both with the same result. > > > > Post the output of __log_buf here please. > > > > > > Here is my dump of the __log_buf: > == > <5 >[0.00] Linux version 2.6.23-rc2 > ([EMAIL PROTECTED]) (gcc version 4.0.0 (DENX ELDK 4.1 > 4.0 > .0)) #8 Wed Oct 17 20:05:28 CEST 2007 > <6 >[0.00] Xilinx ML403 Reference System (Virtex-4 FX) > <7 >[0.00] Entering add_active_range(0, 0, 16384) 0 > entries of 256 > used > <4 >[0.00] Zone PFN ranges: > <4 >[0.00] DMA 0 - >16384 > <4 >[0.00] Normal16384 - >16384 > <4 >[0.00] Movable zone start PFN for each node > <4 >[0.00] early_node_map[1] active PFN ranges > <4 >[0.00] 0:0 - >16384 > <7 >[0.00] On node 0 totalpages: 16384 > <7 >[0.00] DMA zone: 128 pages used for memmap > <7 >[0.00] DMA zone: 0 pages reserved > <7 >[0.00] DMA zone: 16256 pages, LIFO batch:3 > <7 >[0.00] Normal zone: 0 pages used for memmap > <7 >[0.00] Movable zone: 0 pages used for memmap > <4 >[0.00] Built 1 zonelists in Zone order.Total > pages: 16256 > <5 >[0.00] Kernel command line: console=ttUL0 > root=/dev/xsysace2 rw try the command line bootargs console=ttyUL0,boardrate root=/dev/xsysace2 rw you must make sure that you have the xsysace2 device, or you can take a test using ramdisk.i think it will run well ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: loading NOR flash from DT
* Sergei Shtylyov | 2007-10-17 23:54:08 [+0400]: > Hello. Hello, >I guess you were using quite recent kernel version where the file that > published the node (arch/powerpc/sysdev/rom.c) had been already dremoved > and and the platform code still didn't publish the on-board devices via > of_platform_bus_probe(). > >> After modprobing physmap_of nothing happend. Then I tried to make a tree >> with plb -> opb -> ebc and finally nor_flash but still nothing changed. > >Add either of_platform_bus_probe() or platform_device_create() to > arch/powerpc/platforms/85xx/85xx_ds.c. > >> Is there a user space dependency or did I just edit my device tree the >> wrong way? Any hints are welcome :) > Thanks, that was the missing piece :) > > WBR, Sergei Sebastian ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded