Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password and username #3

Open
LucasBBS59 opened this issue Mar 5, 2021 · 17 comments
Open

Password and username #3

LucasBBS59 opened this issue Mar 5, 2021 · 17 comments

Comments

@LucasBBS59
Copy link

Hello, what is the username and the password of your prebuilt image ? I'm in read-only mode...
Thank you

@varghes
Copy link
Owner

varghes commented Mar 5, 2021

Hi, I think you dont need any password (root , no password ), Have you flashed the Image ? How you are connecting serial or Ethernet ? may be you can paste the screenshot here.

@LucasBBS59
Copy link
Author

I tried root,no password in my FTP file tranfer software (Filezilla) and I can't login. I put MLO + u-boot and your prebuilt image on the SD card and booted the image. I saw your HDMI initalizating but I can't login with full rights. Do you want screens?

@LucasBBS59
Copy link
Author

I'm connected in serial(commands, u-boot, etc) and in ethernet (for file transfer)

@varghes
Copy link
Owner

varghes commented Mar 5, 2021

@LucasBBS59
Copy link
Author

With ftp, I cannot delete, modify files and have only access to /tmp
image

@LucasBBS59
Copy link
Author

In fact, I'm trying to add scripts that could make GPIO work but I can't load it because I need to put librairies in /usr/lib. Moreover, do you know how to make GPIO work ? I would like to activate outputs but I don't know how

@varghes
Copy link
Owner

varghes commented Mar 5, 2021

OS Image(.bin) is loaded to RAM and its booting from RAM Disk . So its Read only. You can do read/write on mmc or usb stick

@LucasBBS59
Copy link
Author

So I can't modify files in usr/lib ?
I don't know how to take into account my lib. When I try to build your BSP, I have the same problem as this one : #2

"
Jumping to QNX

System page at phys:80011000 user:fc404000 kern:fc404000
Starting next program at vfe046604
cpu_startnext: cpu0 -> fe046604
VFPv3: fpsid=410330c3
coproc_attach(10): replacing fe07601c with fe0758bc
coproc_attach(11): replacing fe07601c with fe0758bc
Welcome to QNX Neutrino 6.5.0 SP1 on the Texas Instruments BeagleBone (ARMv7 Cortex-A8 core) - Board

Shutdown[0,0] S/C/F=11/1/11 C/D=fe01c68c/fe099ff4 state(c0)= now lock
QNX Version 6.5.0 Release 2010/07/09-14:26:46EDT
[0]PID-TID=1-6? P/T FL=00019001/05020000 "proc/boot/procnto-instr"
[0]ASPACE PID=2 PF=00008012
armle context[effe8f4c]:
0000: 8ffb2000 8ffb2000 8ffb2c01 00000181 effccbf8 01000000 00000000 fc004000
0020: fc004000 effdf47c 01072fff 00000008 00000000 effe8f90 fe046878 fe040e0c
0040: 60000013
instruction[fe040e0c]:
06 30 98 e7 1c 20 94 e5 11 00 12 e3 00 70 94 15 18 20 9d 15 07 70 82 11 0c 00
stack[effe8f90]:
0000: effe8fbc e18a1000 00000000 efffb348 effca00c 003fffff 00000a6e e1988160
0020: 8ffb2000 fffff000 00000000 00000007 00000040 effccbf8 fe099ff0 01000000
0040: 000000ff efff0090 00000073 0000008d effca6e8 fe044744 effccbf8 fe044ad0
0060: efffb348 fe069bac efffb348 fe071e30 effe9018 00000000 00000000 00000000ÿ"

I compile with QNX 6.5.0 SP1 ...

@varghes
Copy link
Owner

varghes commented Mar 5, 2021

QNX 6.5.0 SP1 , fine .. Give a full clean & rebuild . use build script to add your file (usr/lib). edit here https://github.com/varghes/BeagleboneBlack-QNX-QT/blob/master/bsp-ti-beaglebone-src/src/hardware/startup/boards/beaglebone/build

@LucasBBS59
Copy link
Author

When I rebuild your BSP, I can't boot the image because I have the error message I sent before in the log console

@varghes
Copy link
Owner

varghes commented Mar 5, 2021

you are using this utility to copy MLO file ? "TI_SDCard_boot_utility_v1_0.exe . OS version? XP/Win7 /win10 ?

@LucasBBS59
Copy link
Author

LucasBBS59 commented Mar 5, 2021

Yes I am using it. OS : Win10.

If I send you the librairies I developped, could you try to build the image ? You could add it to your github then

Edit : If you know how to activate GPIO pins and that you have functionnal librairies I would take them ^^

@varghes
Copy link
Owner

varghes commented Mar 5, 2021

I was using Win XP [Virtual Machine] to copy the MLO [one time, at the begining ] , latest Windows versions add hidden files as soon as you format SD card. MLO should be the first file to be copied by that utility. I may have GPIO libraries, you can share it to my mail id. I will give a try tomorrow.

@LucasBBS59
Copy link
Author

I sent you the .c GPIO lib, thank you for your help I'm struggling with it for a while !

@varghes
Copy link
Owner

varghes commented Mar 5, 2021

yaa got it. I will check and come back.

@LucasBBS59
Copy link
Author

I just remembered that you have to change the mode settings of the GPIO in the pinmux file in order to make I/O work. Could you please change all the GPIO Mode to 7 (but let the HDMI works). I've been testing for 3 hours and it is not possible to change the pinmux mode settings after compiling the image...

@varghes
Copy link
Owner

varghes commented Mar 8, 2021

i shared you the prebuild qnx files from qnx site , it works here , check if you can boot with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants