Jump to content

Recommended Posts

Posted
On 3/26/2022 at 1:53 PM, Ukhellfire said:

SCRAP THAT!!

I missed something on that last one...

Try this one:

https://drive.google.com/drive/folders/1B7A_pc3W6GLBjt9vAkShh5scp4pQwFrc

 

Downloaded 2 times and checksum don't match, every time same wrong checksum. Expected:

609de716873f3c12db95878c39064d13a66e06f1e1c528e28049db9635fd4d66

got

cd721c9a1525e36072d4458e6730c1cf8774dbdffbfbf5e45601580d1cb024dd

 

Maybe something wrong with upload?

Posted
1 hour ago, Kamileon said:

 

Downloaded 2 times and checksum don't match, every time same wrong checksum. Expected:

609de716873f3c12db95878c39064d13a66e06f1e1c528e28049db9635fd4d66

got

cd721c9a1525e36072d4458e6730c1cf8774dbdffbfbf5e45601580d1cb024dd

 

Maybe something wrong with upload?

Let me re-upload and I'll let you know

 

Img re-uploaded...

https://drive.google.com/file/d/1HUbTWB0GABIVviS3349FN11S0_Wy2jDN/view?usp=drivesdk

 

Fingers crossed! 

Any chance of logs of you get to it @Kamileon

Posted
Just now, Rockford the Roe said:

 

It's still not booting. I'm not sure how to copy a dmesg from initramfs, but it looks similar to a lot of other dmesg logs posted here with those same pins.

OK thank you. Just now how the hell do I start Debugging this? 

Random question, but do you have plugged in when you boot? And to what ports?

Posted
2 minutes ago, Ukhellfire said:

Random question, but do you have plugged in when you boot? And to what ports?

I use the USB C outlet provided by the bundle I purchased. The only thing that's plugged in besides that is my keyboard on the top USB 3.0 port

Posted
7 minutes ago, Rockford the Roe said:

I use the USB C outlet provided by the bundle I purchased. The only thing that's plugged in besides that is my keyboard on the top USB 3.0 port

OK thanks. I wanted to try and replicate this. But still booting this end. 

I really don't know what to try next? It doesn't make any sense to me?

I'm now using the exact setup and files orangepi uses just with armbian. Unless orangepi have modified their kernel in someway or something.

All dts files seem good. Even all the regulators and everything.

 

Does anyone know anyone that can help with this?

Posted
12 minutes ago, Rockford the Roe said:

I use the USB C outlet provided by the bundle I purchased. The only thing that's plugged in besides that is my keyboard on the top USB 3.0 port

I wonder if it's because of my 60Hz / 120V standard in my country. But that wouldn't make sense if the BSP debian image boots up properly.

Posted
1 minute ago, Rockford the Roe said:

I wonder if it's because of my 60Hz / 120V standard in my country. But that wouldn't make sense if the BSP debian image boots up properly.

I suppose it could do. I'm really at a loss here... and without being able to have the same issues this end, I'm stuffed! Haha! 

Posted
5 часов назад, Ukhellfire сказал:

I suppose it could do. I'm really at a loss here... and without being able to have the same issues this end, I'm stuffed! Haha! 

 

For me this your image not booting too!

 

3 people say that this not booting - maybe you doing some wrong?

 

For me linux stoping booting - cant find root partition  -and stay in initramfs

From uboot i'm dont see any partitons besides FAT partiton - this is normal?

 

Please make clean build without xfce desktop - only minimal rootfs.

And please activate uart in kernel to debuggin messages - current showing nothing after uboot load kernel image..

 

And i'm not understand what you doing - you trying porting armbian kernel for orange pi 3 to orange pi 3 lts?

Posted

Yup, still not booting on my end also,

Dmesg:

https://nextcloud.lodz.webredirect.org/s/et7DNigcAzrfRkq

 

UART boot:

picocom v3.1

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : yes
hangup is      : no
nolock is      : yes
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready

U-Boot SPL 2021.10-armbian (Mar 27 2022 - 12:15:39 +0100)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.2(debug):a04808c1-dirty
NOTICE:  BL31: Built : 12:15:19, Mar 27 2022
NOTICE:  BL31: Detected Allwinner H6 SoC (1728)
NOTICE:  BL31: Found U-Boot DTB at 0xc07c1b0, model: OrangePi 3 LTS
INFO:    ARM GICv2 driver initialized
NOTICE:  PMIC: Probing AXP805
NOTICE:  PMIC: AXP805 detected
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9


U-Boot 2021.10-armbian (Mar 27 2022 - 12:15:39 +0100) Allwinner Technology

CPU:   Allwinner H6 (SUN50I)
Model: OrangePi 3 LTS
DRAM:  2 GiB
MMC:   mmc@4020000: 0, mmc@4022000: 1
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3202 bytes read in 3 ms (1 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
154 bytes read in 3 ms (49.8 KiB/s)
37751 bytes read in 6 ms (6 MiB/s)
3844 bytes read in 7 ms (536.1 KiB/s)
Applying kernel provided DT fixup script (sun50i-h6-fixup.scr)
## Executing script at 45000000
12463018 bytes read in 618 ms (19.2 MiB/s)
21735432 bytes read in 1076 ms (19.3 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=41710000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    12462954 Bytes = 11.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Ramdisk to 4941d000, end 49fffb6a ... OK
   Loading Device Tree to 00000000493ab000, end 000000004941cfff ... OK

Starting kernel ...

 

Posted
3 hours ago, Rockford the Roe said:

I'm not sure how useful this would be, but I generated some patch files of the 5.16 BSP kernel and 2020.04 u-boot compared to their vanilla upstreams to try to get an idea of how those two differ. I've attached them.

Thanks! That's alot to read through! But it could help! 

 

1 hour ago, sekil said:

Please make clean build without xfce desktop - only minimal rootfs.

OK I shall do this.

1 hour ago, sekil said:

And please activate uart in kernel to debuggin messages -

I shall do this too! Haha!

1 hour ago, sekil said:

And i'm not understand what you doing - you trying porting armbian kernel for orange pi 3 to orange pi 3 lts?

No in fact, I'm trying to bring up the board as a new board. I've taken orangepis config files, and put them across to armbian.

I'll link my repos

 

Build:

https://github.com/afaulkner420/build

Kernel:

https://github.com/afaulkner420/linux-5.15-opi3-lts

Uboot:

https://github.com/afaulkner420/uboot

 

This is my progress so far... feel free to play! Haha!

Posted
25 минут назад, Ukhellfire сказал:

No in fact, I'm trying to bring up the board as a new board. I've taken orangepis config files, and put them across to armbian.

I'll link my repos

 

You can try orangepi-build system to build working ubuntu with desktop and with working all stuff with 5.10 kernel - 

https://github.com/orangepi-xunlong/orangepi-build

 

But if you need armbian - yes need make proper patches to current armbian kernel for sunxi.. But with current patches for orange pi 3 - i'm think OS should booting (but without emmc wifi and ethernet,  wich simple to porting)..  

Posted
45 minutes ago, sekil said:

 

You can try orangepi-build system to build working ubuntu with desktop and with working all stuff with 5.10 kernel - 

https://github.com/orangepi-xunlong/orangepi-build

 

But if you need armbian - yes need make proper patches to current armbian kernel for sunxi.. But with current patches for orange pi 3 - i'm think OS should booting (but without emmc wifi and ethernet,  wich simple to porting)..  

They also have a 5.16 branch.

https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-5.16-sunxi64

 

https://github.com/orangepi-xunlong/linux-orangepi/commit/6cb6eb3553db63e80b133a13f3868f5ca8d760ab#commitcomment-69513212

 

I just wanted to get armbian working. I don't see any reason why it shouldn't??

Posted
45 minutes ago, sekil said:

But with current patches for orange pi 3 - i'm think OS should booting (but without emmc wifi and ethernet,  wich simple to porting)..  

Again, I could boot, but noone else I don't believe?

Posted
Только что, Ukhellfire сказал:

I just wanted to get armbian working. I don't see any reason why it shouldn't??

 

Yout trying booting orange pi 3 armbian on lts version? 

6 минут назад, Ukhellfire сказал:

They also have a 5.16 branch.

 

Yes - take from this only wifi and ethernet driver for lts, than using armbian orange pi 3 kernel and add needed patches for emmc, wifi and ethernet - where you have problem adding this? 

 

Posted
1 minute ago, sekil said:

 

Yout trying booting orange pi 3 armbian on lts version? 

 

Yes - take from this only wifi and ethernet driver for lts, than using armbian orange pi 3 kernel and add needed patches for emmc, wifi and ethernet - where you have problem adding this? 

 

I don't have a problem at all. If you look at my repos, I've done it.

And as you can see from my dmesg, it's working! I have working ethernet, wifi, haven't checked emmc though...

Dmesg here:

https://drive.google.com/file/d/1LQ5qgTZBLdhauLeqD3OArM8ci2uzLdnb/view?usp=drivesdk

Posted
Только что, Ukhellfire сказал:

Again, I could boot, but noone else I don't believe?

 

Please make this - 

stoping uboot booting by pressing space and send  me logs from command - 

mmc part

 

 

 

Posted
15 минут назад, Ukhellfire сказал:

I don't have a problem at all. If you look at my repos, I've done it.

 

I'm never build armbian and dont know all - but please say me - how you compile armbian system with your kernel, when armbian using 5.15 clean kernel and adding needed pacthes, which current only for orange pi 3 - you edit build scripts to using your kernel or how?

 

And i'm see that kernel in your repo dont have patches for sunxi_mmc.c driver - fix for h6  - emmc not working for you?

 

Posted
1 hour ago, sekil said:

 

I'm never build armbian and dont know all - but please say me - how you compile armbian system with your kernel, when armbian using 5.15 clean kernel and adding needed pacthes, which current only for orange pi 3 - you edit build scripts to using your kernel or how?

 

And i'm see that kernel in your repo dont have patches for sunxi_mmc.c driver - fix for h6  - emmc not working for you?

 

I'm patching the kernel that armbian downloads. 

The emmc patch I'd there. I had a different repo.

I'll zip up my patches and link you.

https://drive.google.com/file/d/1oit5pTA2J68mjmsQqAnoJQIhwC-R071o/view?usp=drivesdk

 

They are my kernel and uboot userpatches.

Posted
5 минут назад, Ukhellfire сказал:

I'm patching the kernel that armbian downloads. 

But armbian build system clean kernel sources every time while compile  - no? And armbian make patching kernel which have your patches?

Posted
1 hour ago, sekil said:

But armbian build system clean kernel sources every time while compile  - no? And armbian make patching kernel which have your patches?

Yes that's right. Then my patches and all the other patches for sunxi get applied. My patches are from the orange pi 5.16 bring up. Which funnily enough, was mainline, and orangepi applied armbians patches to it. 

https://github.com/orangepi-xunlong/linux-orangepi/commit/00fef0e5e3dea1a3dd45fe35a6da209d005595e6

Posted
1 час назад, Ukhellfire сказал:

I'll zip up my patches and link you.

 

Цитата

 

Yes that's right. Then my patches and all the other patches for sunxi get applied. My patches are from the orange pi 5.16 bring up. Which funnily enough, was mainline, and orangepi applied armbians patches to it. 

https://github.com/orangepi-xunlong/linux-orangepi/commit/00fef0e5e3dea1a3dd45fe35a6da209d005595e6

 

 

Ok. thank. i'm try build and reply..

 

 

Posted
4 minutes ago, sekil said:

 

 

Ok. thank. i'm try build and reply..

 

 

OK thanks. Will be interesting in what you find! 

 

If you use my build repo, and then the patches I gave you, it should fully build without errors or anything. The  you should be at the same place I am... 

Posted
17 минут назад, Ukhellfire сказал:

OK thanks. Will be interesting in what you find! 

 

If you use my build repo, and then the patches I gave you, it should fully build without errors or anything. The  you should be at the same place I am... 

Ok.

 

What about audio codec internal - 3.5 jack working? 

 

P.S. I'm run Glodroid :) But when enable bluetooth module - android crash and restart - without working.. ;)

Posted
6 minutes ago, sekil said:

Ok.

 

What about audio codec internal - 3.5 jack working? 

 

P.S. I'm run Glodroid :) But when enable bluetooth module - android crash and restart - without working.. ;)

I haven't tried this yet. From my original understanding, it's never been working. But I'm not sure on what they've done in the latest months. The seem to enable ac200 audio or something? 

https://github.com/orangepi-xunlong/linux-orangepi/commit/3b75d984852c04151e9bba741473d3810ab72753

 

I believe the Bluetooth crash is due to the macadress.

https://github.com/orangepi-xunlong/linux-orangepi/commit/d15ff3cb548f6ad056a881720cb29860226a2ab3

Posted
Только что, Ukhellfire сказал:

The seem to enable ac200 audio or something? 

 

Yes enabling ac200 and axp00 audio codec.. but i'm think this is not internal h6 audio codec.. strange..

Только что, Ukhellfire сказал:

I believe the Bluetooth crash is due to the macadress.

 

No this patch add mac randomise - because of without mac always same for all boards.. 

Posted
11 minutes ago, sekil said:

Yes enabling ac200 and axp00 audio codec.. but i'm think this is not internal h6 audio codec.. strange..

Yeah they told me that the driver didn't exist! Now all of a sudden it does. Like you say, strange! 

 

12 minutes ago, sekil said:

No this patch add mac randomise - because of without mac always same for all boards.

Ah OK. I haven't looked into it much. And I didn't try connecting anything when i had it working. Have you tried the hciattach methods on orangepis repos? 

Posted
3 часа назад, Ukhellfire сказал:

OK thanks. Will be interesting in what you find! 

Not booting!

 

Try using stock uboot for orange pi 3 - i'm think you adding some bugs with your uboot patches or maybe build system have bugs.. 

after writing image to sd card - i'm cant see any partitions besides fat - 


Environment size: 4621/131068 bytes
=> mmc part

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     8192            2039808         aa174f31-01     83
 

But from your configs - need using partition 2!

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines