U-boot does not boot uImage from MX25L6436F / MX25L6406E

I'm trying to install openipc-hi3518ev200-lite-8mb.bin, after flashing the error is:
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...

Flashig procedure
xmtech # tftp 0x82000000 openipc-hi3518ev200-lite-8mb.bin
Hisilicon ETH net controler
MAC:   00-12-14-3A-5C-21
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server <IP_ADDRESS>; our IP address is <IP_ADDRESS>
Download Filename 'openipc-hi3518ev200-lite-8mb.bin'.
Download to address: 0x82000000
Downloading: #  [ Connected ]
################################        [ 1.000 MB]
################################        [ 2.000 MB]
################################        [ 3.000 MB]
################################        [ 4.000 MB]
################################        [ 5.000 MB]
################################        [ 6.000 MB]
################################        [ 7.000 MB]
################################        [ 8.000 MB]

done
Bytes transferred = 8388608 (800000 hex)
xmtech # sf probe 0; sf lock 0; sf erase 0x0 0x800000; sf write 0x82000000 0x0 0x800000
8192 KiB hi_fmc at 0:0 is now current device
unlock all block.
Erasing at 0x800000 -- 100% complete.
Writing at 0x800000 -- 100% complete.
xmtech # reset
resetting ...

Old U-Boot shows that Nor is "MX25L6406E"  in the new one is "MX25L6436F"
New:
U-Boot 2010.06 (Nov 14 2022 - 19:23:46)

Check Flash Memory Controller v100 ...
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
RAM size: 64MB
*No SD card found!
USB:   scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Hit any key to stop autoboot:  0
8192 KiB hi_fmc at 0:0 is now current device

Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...

Old:

U-Boot 2010.06 (Mar 29 2018 - 11:00:43)

Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xc2 0x20 0x17
Block:64KB Chip:8MB Name:"MX25L6406E"
CONFIG_CLOSE_SPI_8PIN_4IO = y.
at hifmc100_setTB() mid:0xc2,chipsize:0x800000 <no>.
at xm_get_macronix_type() cr:0x0.
lk[7 => 0x800000]
SPI Nor total size: 8MB
In:    serial
Out:   serial
Err:   serial
Press Ctrl+C to stop autoboot
CFG_BOOT_ADDR:0x58050000
8192 KiB hi_fmc at 0:0 is now current device

### boot load complete: 1890528 bytes loaded to 0x82000000
### SAVE TO 80008000 !
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   linux
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1890464 Bytes = 1.8 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Looks that new u-Boot can WRITE to  Nor (I can install backup) but it can't READ from Nor to Ram
OpenIPC # sf probe 0
8192 KiB hi_fmc at 0:0 is now current device
OpenIPC # sf read 0x82000000 0x0 0x800000
OpenIPC # md.b 0x82000000
82000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
82000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
82000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
82000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
OpenIPC #

I'm sure that openipc-hi3518ev200-lite-8mb.bin,  is correct because I see uImage_data in the hexview  ... but U-Boot read only 0 0 0 from Nor

u-boot-hi3518ev200-universal.zip
try this

Looks that this version can read Nor
OpenIPC # <INTERRUPT>
OpenIPC # sf probe 0
8192 KiB hi_fmc at 0:0 is now current device
OpenIPC # sf read 0x82000000 0x0 0x100

OpenIPC # md.b 0x82000000
82000000: 17 04 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5    ................
82000010: 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5    ................
82000020: a0 12 70 80 00 13 70 80 60 13 70 80 c0 13 70 80    ..p...p.`.p...p.
82000030: 20 14 70 80 80 14 70 80 e0 14 70 80 78 56 34 12     .p...p...p.xV4.

I was able to boot the kernel.. but then I got 'kernel panic'
himci_control_cclk:255: disable or enable clk is timeout!

List of all partitions:
0100           65536 ram0  (driver?)
0101           65536 ram1  (driver?)
0102           65536 ram2  (driver?)
0103           65536 ram3  (driver?)
0104           65536 ram4  (driver?)
0105           65536 ram5  (driver?)
0106           65536 ram6  (driver?)
0107           65536 ram7  (driver?)
0108           65536 ram8  (driver?)
0109           65536 ram9  (driver?)
010a           65536 ram10  (driver?)
010b           65536 ram11  (driver?)
010c           65536 ram12  (driver?)
010d           65536 ram13  (driver?)
010e           65536 ram14  (driver?)
010f           65536 ram15  (driver?)
1f00             256 mtdblock0  (driver?)
1f01              64 mtdblock1  (driver?)
1f02            2048 mtdblock2  (driver?)
1f03            5120 mtdblock3  (driver?)
1f04             704 mtdblock4  (driver?)
No filesystem could mount root, tried:  squashfs

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.37 #1
Hardware name: Hisilicon Hi3518EV20X (Flattened Device Tree)
[<c000e9d0>] (unwind_backtrace) from [<c000cc80>] (show_stack+0x10/0x14)
[<c000cc80>] (show_stack) from [<c00677fc>] (panic+0xb8/0x230)
[<c00677fc>] (panic) from [<c04eb260>] (mount_block_root+0x238/0x274)
[<c04eb260>] (mount_block_root) from [<c04eb470>] (mount_root+0xd8/0x100)
[<c04eb470>] (mount_root) from [<c04eb5f0>] (prepare_namespace+0x158/0x1b8)
[<c04eb5f0>] (prepare_namespace) from [<c04eada8>] (kernel_init_freeable+0x17c/0x1c4)
[<c04eada8>] (kernel_init_freeable) from [<c03e53e8>] (kernel_init+0x8/0xec)
[<c03e53e8>] (kernel_init) from [<c000a3e0>] (ret_from_fork+0x14/0x34)
Rebooting in 20 seconds..

Full log
U-Boot 2010.06-dirty (Feb 20 2023 - 22:34:50)

Check Flash Memory Controller v100 ...
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In:    serial
Out:   serial
Err:   serial
RAM size: 64MB
*No SD card found!
USB:   scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Hit any key to stop autoboot:  0
8192 KiB hi_fmc at 0:0 is now current device

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-4.9.37-hi3518ev200
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2048403 Bytes = 2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.9.37 (runner@fv-az255-593) (gcc version 8.4.0 (Buildroot -gff5aa3b6-dirty) ) #1 Sat Feb 11 22:31:37 UTC 2023
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
CPU: VIVT data cache, VIVT instruction cache
OF: fdt:Machine model: Hisilicon HI3518EV20X DEMO Board
Memory policy: Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: mem=32M console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs init=/init mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 26824K/32768K available (3969K kernel code, 144K rwdata, 908K rodata, 168K init, 217K bss, 5944K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc2800000 - 0xff800000   ( 976 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc03e89d8   (3971 kB)
      .init : 0xc04ea000 - 0xc0514000   ( 168 kB)
      .data : 0xc0514000 - 0xc05381c0   ( 145 kB)
       .bss : 0xc05381c0 - 0xc056e920   ( 218 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:16 nr_irqs:16 16
VIC @fe0d0000: id 0x00641190, vendor 0x41
clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>95 ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every<PHONE_NUMBER>41ns
Console: colour dummy device 80x30
Calibrating delay loop... 269.10 BogoMIPS (lpj=1345536)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x80008400 - 0x80008458
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
20080000.uart: ttyAMA0 at MMIO 0x20080000 (irq = 21, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
ssp-pl022 200c0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 200c0000.spi: mapped registers from 0x200c0000 to fe1c0000
ssp-pl022 200e0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 200e0000.spi: mapped registers from 0x200e0000 to fe1e0000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
clocksource: Switched to clocksource arm,sp804
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
NET: Registered protocol family 38
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pinctrl-single 200f0000.pinmux: 66 pins at pa fe1f0000 size 264
pinctrl-single 200f0800.pinconf: 76 pins at pa fe1f0800 size 304
pl061_gpio 20140000.gpio_chip: PL061 GPIO chip @0x20140000 registered
pl061_gpio 20150000.gpio_chip: PL061 GPIO chip @0x20150000 registered
pl061_gpio 20160000.gpio_chip: PL061 GPIO chip @0x20160000 registered
pl061_gpio 20170000.gpio_chip: PL061 GPIO chip @0x20170000 registered
pl061_gpio 20180000.gpio_chip: PL061 GPIO chip @0x20180000 registered
pl061_gpio 20190000.gpio_chip: PL061 GPIO chip @0x20190000 registered
pl061_gpio 201a0000.gpio_chip: PL061 GPIO chip @0x201a0000 registered
pl061_gpio 201b0000.gpio_chip: PL061 GPIO chip @0x201b0000 registered
pl061_gpio 201c0000.gpio_chip: PL061 GPIO chip @0x201c0000 registered
brd: module loaded
loop: module loaded
hisi-sfc hisi_spi_nor.0: SPI Nor ID Table Version 1.0
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l6436f (Chipsize 8 Mbytes, Blocksize 64KiB)
5 cmdlinepart partitions found on MTD device hi_sfc
5 cmdlinepart partitions found on MTD device hi_sfc
Creating 5 MTD partitions on "hi_sfc":
0x000000000000-0x000000040000 : "boot"
0x000000040000-0x000000050000 : "env"
0x000000050000-0x000000250000 : "kernel"
0x000000250000-0x000000750000 : "rootfs"
0x000000750000-0x000000800000 : "rootfs_data"
SPI Nand ID Table Version 2.6
Cannot found a valid SPI Nand Device
hisi_spi_nand_probe(171): Error: driver probe, result: -19
 (null): /soc/mdio@10091100/ethernet-phy@1 has invalid PHY address
hisi_femac_get_phy_addr: get PHY address failed!
libphy: hisi_femac_mii_bus: probed
mdio_bus 10091100.mdio: /soc/mdio@10091100/ethernet-phy@1 has invalid PHY address
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 0
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 1
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 2
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 3
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 4
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 5
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 6
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 7
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 8
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 9
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 10
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 11
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 12
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 13
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 14
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 15
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 16
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 17
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 18
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 19
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 20
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 21
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 22
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 23
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 24
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 25
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 26
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 27
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 28
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 29
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 30
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 31
libphy: Fixed MDIO Bus: probed
Generic PHY 10091100.mdio:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=10091100.mdio:01, irq=-1)
phy_id=0x02430c54, phy_mode=rmii
hisi-femac 10090000.ethernet: using random MAC address aa:23:b4:21:fc:e7
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform 100b0000.ehci: EHCI Host Controller
ehci-platform 100b0000.ehci: new USB bus registered, assigned bus number 1
ehci-platform 100b0000.ehci: irq 31, io mem 0x100b0000
ehci-platform 100b0000.ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform: OHCI generic platform driver
ohci-platform 100a0000.ohci: Generic Platform OHCI controller
ohci-platform 100a0000.ohci: new USB bus registered, assigned bus number 2
ohci-platform 100a0000.ohci: irq 32, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
i2c /dev entries driver
usbcore: registered new interface driver i2c-tiny-usb
hisi-i2c-hisilicon 200d0000.i2c: Hisilicon [i2c-0] probed!
hisi-i2c-hisilicon 20240000.i2c: Hisilicon [i2c-1] probed!
hisi-i2c-hisilicon 20250000.i2c: Hisilicon [i2c-2] probed!
himci: mmc host probe
himci: mmc host probe
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
hisi-dmac 10060000.hidma-controller: hidmac probe!
NET: Registered protocol family 10
NET: Registered protocol family 17
random: fast init done
himci_wait_cmd:219: send cmd is timeout!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_set_cclk:297: set card clk divider is failed!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_set_cclk:297: set card clk divider is failed!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_set_cclk:297: set card clk divider is failed!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

List of all partitions:
0100           65536 ram0  (driver?)
0101           65536 ram1  (driver?)
0102           65536 ram2  (driver?)
0103           65536 ram3  (driver?)
0104           65536 ram4  (driver?)
0105           65536 ram5  (driver?)
0106           65536 ram6  (driver?)
0107           65536 ram7  (driver?)
0108           65536 ram8  (driver?)
0109           65536 ram9  (driver?)
010a           65536 ram10  (driver?)
010b           65536 ram11  (driver?)
010c           65536 ram12  (driver?)
010d           65536 ram13  (driver?)
010e           65536 ram14  (driver?)
010f           65536 ram15  (driver?)
1f00             256 mtdblock0  (driver?)
1f01              64 mtdblock1  (driver?)
1f02            2048 mtdblock2  (driver?)
1f03            5120 mtdblock3  (driver?)
1f04             704 mtdblock4  (driver?)
No filesystem could mount root, tried:  squashfs

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.37 #1
Hardware name: Hisilicon Hi3518EV20X (Flattened Device Tree)
[<c000e9d0>] (unwind_backtrace) from [<c000cc80>] (show_stack+0x10/0x14)
[<c000cc80>] (show_stack) from [<c00677fc>] (panic+0xb8/0x230)
[<c00677fc>] (panic) from [<c04eb260>] (mount_block_root+0x238/0x274)
[<c04eb260>] (mount_block_root) from [<c04eb470>] (mount_root+0xd8/0x100)
[<c04eb470>] (mount_root) from [<c04eb5f0>] (prepare_namespace+0x158/0x1b8)
[<c04eb5f0>] (prepare_namespace) from [<c04eada8>] (kernel_init_freeable+0x17c/0x1c4)
[<c04eada8>] (kernel_init_freeable) from [<c03e53e8>] (kernel_init+0x8/0xec)
[<c03e53e8>] (kernel_init) from [<c000a3e0>] (ret_from_fork+0x14/0x34)
Rebooting in 20 seconds..

I'll post a patch for kernel later. Quite strange, this is a widely used flash, was sure its working fine, maybe its something about your board schematics though

maybe its something about your board schematics though
Can I help in any way ?  I have modified the original firmware with telnet access, so I can collect additional logs if something is needed.

uImage.zip
try this kernel

Unfortunately doesn't work
U-Boot 2010.06-dirty (Feb 20 2023- 22:34:50)
.
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-4.9.37-hi3518ev200
.
Booting Linux on physical CPU 0x0
Linux version 4.9.37 (pk@ps) (gcc version 8.4.0 (Buildroot -gbc9837fe-dirty) ) #2 Sat Feb 25 09:32:27 MSK 2023
.
himci_control_cclk:255: disable or enable clk is timeout!

List of all partitions:
0100           65536 ram0  (driver?)
..
1f03            5120 mtdblock3  (driver?)
1f04             704 mtdblock4  (driver?)
No filesystem could mount root, tried:  squashfs

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.37 #2
Hardware name: Hisilicon Hi3518EV20X (Flattened Device Tree)
[<c000e9d0>] (unwind_backtrace) from [<c000cc80>] (show_stack+0x10/0x14)
..
[<c03e53e8>] (kernel_init) from [<c000a3e0>] (ret_from_fork+0x14/0x34)
Rebooting in 20 seconds..

full log
System startup

U-Boot 2010.06-dirty (Feb 20 2023 - 22:34:50)

Check Flash Memory Controller v100 ...
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In:    serial
Out:   serial
Err:   serial
RAM size: 64MB
*No SD card found!
USB:   scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Hit any key to stop autoboot:  0
8192 KiB hi_fmc at 0:0 is now current device

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-4.9.37-hi3518ev200
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2048923 Bytes = 2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.9.37 (pk@ps) (gcc version 8.4.0 (Buildroot -gbc9837fe-dirty) ) #2 Sat Feb 25 09:32:27 MSK 2023
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
CPU: VIVT data cache, VIVT instruction cache
OF: fdt:Machine model: Hisilicon HI3518EV20X DEMO Board
Memory policy: Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: mem=32M console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs init=/init mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 26824K/32768K available (3969K kernel code, 144K rwdata, 908K rodata, 168K init, 217K bss, 5944K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc2800000 - 0xff800000   ( 976 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc03e89d8   (3971 kB)
      .init : 0xc04ea000 - 0xc0514000   ( 168 kB)
      .data : 0xc0514000 - 0xc05381c0   ( 145 kB)
       .bss : 0xc05381c0 - 0xc056e920   ( 218 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:16 nr_irqs:16 16
VIC @fe0d0000: id 0x00641190, vendor 0x41
clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>95 ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every<PHONE_NUMBER>41ns
Console: colour dummy device 80x30
Calibrating delay loop... 269.10 BogoMIPS (lpj=1345536)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x80008400 - 0x80008458
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
20080000.uart: ttyAMA0 at MMIO 0x20080000 (irq = 21, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
ssp-pl022 200c0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 200c0000.spi: mapped registers from 0x200c0000 to fe1c0000
ssp-pl022 200e0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 200e0000.spi: mapped registers from 0x200e0000 to fe1e0000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
clocksource: Switched to clocksource arm,sp804
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
NET: Registered protocol family 38
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pinctrl-single 200f0000.pinmux: 66 pins at pa fe1f0000 size 264
pinctrl-single 200f0800.pinconf: 76 pins at pa fe1f0800 size 304
pl061_gpio 20140000.gpio_chip: PL061 GPIO chip @0x20140000 registered
pl061_gpio 20150000.gpio_chip: PL061 GPIO chip @0x20150000 registered
pl061_gpio 20160000.gpio_chip: PL061 GPIO chip @0x20160000 registered
pl061_gpio 20170000.gpio_chip: PL061 GPIO chip @0x20170000 registered
pl061_gpio 20180000.gpio_chip: PL061 GPIO chip @0x20180000 registered
pl061_gpio 20190000.gpio_chip: PL061 GPIO chip @0x20190000 registered
pl061_gpio 201a0000.gpio_chip: PL061 GPIO chip @0x201a0000 registered
pl061_gpio 201b0000.gpio_chip: PL061 GPIO chip @0x201b0000 registered
pl061_gpio 201c0000.gpio_chip: PL061 GPIO chip @0x201c0000 registered
brd: module loaded
loop: module loaded
hisi-sfc hisi_spi_nor.0: SPI Nor ID Table Version 1.0
hisi-sfc hisi_spi_nor.0: Address range [0 => 0x700000] is locked.
hisi-sfc hisi_spi_nor.0: mx25l6436f (Chipsize 8 Mbytes, Blocksize 64KiB)
5 cmdlinepart partitions found on MTD device hi_sfc
5 cmdlinepart partitions found on MTD device hi_sfc
Creating 5 MTD partitions on "hi_sfc":
0x000000000000-0x000000040000 : "boot"
0x000000040000-0x000000050000 : "env"
0x000000050000-0x000000250000 : "kernel"
0x000000250000-0x000000750000 : "rootfs"
0x000000750000-0x000000800000 : "rootfs_data"
SPI Nand ID Table Version 2.6
Cannot found a valid SPI Nand Device
hisi_spi_nand_probe(171): Error: driver probe, result: -19
 (null): /soc/mdio@10091100/ethernet-phy@1 has invalid PHY address
hisi_femac_get_phy_addr: get PHY address failed!
libphy: hisi_femac_mii_bus: probed
mdio_bus 10091100.mdio: /soc/mdio@10091100/ethernet-phy@1 has invalid PHY address
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 0
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 1
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 2
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 3
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 4
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 5
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 6
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 7
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 8
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 9
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 10
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 11
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 12
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 13
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 14
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 15
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 16
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 17
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 18
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 19
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 20
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 21
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 22
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 23
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 24
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 25
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 26
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 27
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 28
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 29
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 30
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 31
libphy: Fixed MDIO Bus: probed
Generic PHY 10091100.mdio:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=10091100.mdio:01, irq=-1)
phy_id=0x02430c54, phy_mode=rmii
hisi-femac 10090000.ethernet: using random MAC address b2:17:2b:ff:5d:ee
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform 100b0000.ehci: EHCI Host Controller
ehci-platform 100b0000.ehci: new USB bus registered, assigned bus number 1
ehci-platform 100b0000.ehci: irq 31, io mem 0x100b0000
ehci-platform 100b0000.ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform: OHCI generic platform driver
ohci-platform 100a0000.ohci: Generic Platform OHCI controller
ohci-platform 100a0000.ohci: new USB bus registered, assigned bus number 2
ohci-platform 100a0000.ohci: irq 32, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
i2c /dev entries driver
usbcore: registered new interface driver i2c-tiny-usb
hisi-i2c-hisilicon 200d0000.i2c: Hisilicon [i2c-0] probed!
hisi-i2c-hisilicon 20240000.i2c: Hisilicon [i2c-1] probed!
hisi-i2c-hisilicon 20250000.i2c: Hisilicon [i2c-2] probed!
himci: mmc host probe
himci: mmc host probe
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
hisi-dmac 10060000.hidma-controller: hidmac probe!
NET: Registered protocol family 10
NET: Registered protocol family 17
random: fast init done
himci_wait_cmd:219: send cmd is timeout!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_set_cclk:297: set card clk divider is failed!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_set_cclk:297: set card clk divider is failed!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_set_cclk:297: set card clk divider is failed!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

himci_wait_cmd:209: Other CMD is running,please operate cmd again!

himci_control_cclk:255: disable or enable clk is timeout!

List of all partitions:
0100           65536 ram0  (driver?)
0101           65536 ram1  (driver?)
0102           65536 ram2  (driver?)
0103           65536 ram3  (driver?)
0104           65536 ram4  (driver?)
0105           65536 ram5  (driver?)
0106           65536 ram6  (driver?)
0107           65536 ram7  (driver?)
0108           65536 ram8  (driver?)
0109           65536 ram9  (driver?)
010a           65536 ram10  (driver?)
010b           65536 ram11  (driver?)
010c           65536 ram12  (driver?)
010d           65536 ram13  (driver?)
010e           65536 ram14  (driver?)
010f           65536 ram15  (driver?)
1f00             256 mtdblock0  (driver?)
1f01              64 mtdblock1  (driver?)
1f02            2048 mtdblock2  (driver?)
1f03            5120 mtdblock3  (driver?)
1f04             704 mtdblock4  (driver?)
No filesystem could mount root, tried:  squashfs

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.37 #2
Hardware name: Hisilicon Hi3518EV20X (Flattened Device Tree)
[<c000e9d0>] (unwind_backtrace) from [<c000cc80>] (show_stack+0x10/0x14)
[<c000cc80>] (show_stack) from [<c00677fc>] (panic+0xb8/0x230)
[<c00677fc>] (panic) from [<c04eb260>] (mount_block_root+0x238/0x274)
[<c04eb260>] (mount_block_root) from [<c04eb470>] (mount_root+0xd8/0x100)
[<c04eb470>] (mount_root) from [<c04eb5f0>] (prepare_namespace+0x158/0x1b8)
[<c04eb5f0>] (prepare_namespace) from [<c04eada8>] (kernel_init_freeable+0x17c/0x1c4)
[<c04eada8>] (kernel_init_freeable) from [<c03e53e8>] (kernel_init+0x8/0xec)
[<c03e53e8>] (kernel_init) from [<c000a3e0>] (ret_from_fork+0x14/0x34)
Rebooting in 20 seconds..

it says flash is locked, maybe rootfs isnt there even, please check that, unlock from uboot or something

flash was locked  - but only u-boot and kernel
OpenIPC # sf probe 0; sf lock 3
after full unlock the error still occurs
OpenIPC # sf probe 0; sf lock 0
8192 KiB hi_fmc at 0:0 is now current device
unlock all block.
OpenIPC # reset
..
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)

try reading rootfs offset from uboot and md'ing it, to see hsqs header at least

looks fine

OpenIPC # sf probe 0
8192 KiB hi_fmc at 0:0 is now current device
OpenIPC # sf read 0x82000000 0x250000 0x500000

OpenIPC # md.b 0x82000000
82000000: 68 73 71 73 27 03 00 00 2e 19 e8 63 00 00 02 00    hsqs'......c....
82000010: 35 00 00 00 04 00 11 00 c0 00 02 00 04 00 00 00    5...............
82000020: 57 0f d6 12 00 00 00 00 02 08 4f 00 00 00 00 00    W.........O.....
82000030: fa 07 4f 00 00 00 00 00 ff ff ff ff ff ff ff ff    ..O.............
OpenIPC #

We've tested 18ev200 with same spi flash and it works even without patching...maybe it's a hardware fault ?

The hardware rather works properly, because I can upload the original software and then the system starts.
I think the problem is related to the NOR reading - in the boot loader you corrected it perfectly.
Could you add some diagnostic data to the kernel to see if it can read data from the nor memory ?

I can suggest booting from NFS, then you will be able to experiment

I can load kernel from NFS - but to start roots (hsqs) and overlay (jffs) system needs mtd - or I'm wrong ?

kernel from tftp, rootfs on nfs. check bootnfs cmd in uboot

I was able to boot from NFS, what next :)
logs
Linux <IP_ADDRESS> 4.9.37 #1 Sat Feb 18 23:13:41 UTC 2023 armv5tejl GNU/Linux
/dev # dmesg
Booting Linux on physical CPU 0x0
Linux version 4.9.37 (runner@fv-az434-124) (gcc version 8.4.0 (Buildroot -gff5aa3b6-dirty) ) #1 Sat Feb 18 23:13:41 UTC 2023
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
CPU: VIVT data cache, VIVT instruction cache
OF: fdt:Machine model: Hisilicon HI3518EV20X DEMO Board
Memory policy: Data cache writeback
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat c0537b60, node_mem_map c1fb9000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8192 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: mem=32M console=ttyAMA0,115200 panic=20 init=/bin/sh root=/dev/nfs rootfstype=nfs ip=<IP_ADDRESS>:::<IP_ADDRESS>::eth0 nfsroot=<IP_ADDRESS>:/mnt/cam_rootfs,v3,nolock,tcp rw
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 26824K/32768K available (3969K kernel code, 144K rwdata, 908K rodata, 168K init, 217K bss, 5944K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc2800000 - 0xff800000   ( 976 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc03e89d8   (3971 kB)
      .init : 0xc04ea000 - 0xc0514000   ( 168 kB)
      .data : 0xc0514000 - 0xc05381c0   ( 145 kB)
       .bss : 0xc05381c0 - 0xc056e920   ( 218 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:16 nr_irqs:16 16
VIC @fe0d0000: id 0x00641190, vendor 0x41
clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>95 ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every<PHONE_NUMBER>41ns
Console: colour dummy device 80x30
Calibrating delay loop... 269.10 BogoMIPS (lpj=1345536)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x80008400 - 0x80008458
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
20080000.uart: ttyAMA0 at MMIO 0x20080000 (irq = 21, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
ssp-pl022 200c0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 200c0000.spi: mapped registers from 0x200c0000 to fe1c0000
ssp-pl022 200e0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 200e0000.spi: mapped registers from 0x200e0000 to fe1e0000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
clocksource: Switched to clocksource arm,sp804
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs: yaffs Installing.
NET: Registered protocol family 38
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pinctrl-single 200f0000.pinmux: 66 pins at pa fe1f0000 size 264
pinctrl-single 200f0800.pinconf: 76 pins at pa fe1f0800 size 304
pl061_gpio 20140000.gpio_chip: PL061 GPIO chip @0x20140000 registered
pl061_gpio 20150000.gpio_chip: PL061 GPIO chip @0x20150000 registered
pl061_gpio 20160000.gpio_chip: PL061 GPIO chip @0x20160000 registered
pl061_gpio 20170000.gpio_chip: PL061 GPIO chip @0x20170000 registered
pl061_gpio 20180000.gpio_chip: PL061 GPIO chip @0x20180000 registered
pl061_gpio 20190000.gpio_chip: PL061 GPIO chip @0x20190000 registered
pl061_gpio 201a0000.gpio_chip: PL061 GPIO chip @0x201a0000 registered
pl061_gpio 201b0000.gpio_chip: PL061 GPIO chip @0x201b0000 registered
pl061_gpio 201c0000.gpio_chip: PL061 GPIO chip @0x201c0000 registered
brd: module loaded
loop: module loaded
hisi-sfc hisi_spi_nor.0: SPI Nor ID Table Version 1.0
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l6436f (Chipsize 8 Mbytes, Blocksize 64KiB)
SPI Nand ID Table Version 2.6
Cannot found a valid SPI Nand Device
hisi_spi_nand_probe(171): Error: driver probe, result: -19
 (null): /soc/mdio@10091100/ethernet-phy@1 has invalid PHY address
hisi_femac_get_phy_addr: get PHY address failed!
libphy: hisi_femac_mii_bus: probed
mdio_bus 10091100.mdio: /soc/mdio@10091100/ethernet-phy@1 has invalid PHY address
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 0
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 1
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 2
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 3
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 4
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 5
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 6
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 7
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 8
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 9
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 10
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 11
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 12
mdio_bus 10091100.mdio: scan phy ethernet-phy at address 13
m00.hidma-controller: hidmac probe!
NET: Registered protocol family 10
NET: Registered protocol family 17
random: fast init done
himci_wait_cmd:219:
send cmd is timeout!

himci_control_cclk:255:
disable or enable clk is timeout!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_set_cclk:297:
set card clk divider is failed!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_control_cclk:255:
disable or enable clk is timeout!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_control_cclk:255:
disable or enable clk is timeout!

himci_wait_cmd:209ble clk is timeout!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_set_cclk:297:
set card clk divider is failed!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_control_cclk:255:
disable or enable clk is timeout!

random: crng init done
himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_control_cclk:255:
disable or enable clk is timeout!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_set_cclk:297:
set card clk divider is failed!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_control_cclk:255:
disable or enable clk is timeout!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_control_cclk:255:
disable or enable clk is timeout!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_set_cclk:297:
set card MD is running,please operate cmd again!

himci_control_cclk:255:
disable or enable clk is timeout!

himci_wait_cmd:209:
Other CMD is running,please operate cmd again!

himci_control_cclk:255:
disable or enable clk is timeout!

/dev # uname -a
Linux <IP_ADDRESS> 4.9.37 #1 Sat Feb 18 23:13:41 UTC 2023 armv5tejl GNU/Linux

I see that the nor memory is detected by kernel - how to read it ?
hisi-sfc hisi_spi_nor.0: SPI Nor ID Table Version 1.0
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l6436f (Chipsize 8 Mbytes, Blocksize 64KiB)

I forgot to add  mtdparts=${mtdparts} to cmdparameters, now I see /dev/mtd*
hisi-sfc hisi_spi_nor.0: SPI Nor ID Table Version 1.0
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l6436f (Chipsize 8 Mbytes, Blocksize 64KiB)
5 cmdlinepart partitions found on MTD device hi_sfc
5 cmdlinepart partitions found on MTD device hi_sfc
Creating 5 MTD partitions on "hi_sfc":
0x000000000000-0x000000040000 : "boot"
0x000000040000-0x000000050000 : "env"
0x000000050000-0x000000250000 : "kernel"
0x000000250000-0x000000750000 : "rootfs"
0x000000750000-0x000000800000 : "rootfs_data"
SPI Nand ID Table Version 2.6

however all partition are empty/null - the same issue had u-boot (before it was fixed)

root@openipc-hi3518ev200:~# cat /dev/mtdblock0 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00040000
root@openipc-hi3518ev200:~# cat /dev/mtdblock1 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00010000
root@openipc-hi3518ev200:~# cat /dev/mtdblock2 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00200000
root@openipc-hi3518ev200:~# cat /dev/mtdblock3 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*

uImage.zip

uImage.zip

the same, let me know if you need additional dumps/logs ... thank you for your support!
root@openipc-hi3518ev200:~# uname -a
Linux openipc-hi3518ev200 4.9.37 #4 Fri Mar 3 23:48:47 MSK 2023 armv5tejl GNU/Linux
root@openipc-hi3518ev200:~# cat /dev/mtdblock1 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00010000
root@openipc-hi3518ev200:~# cat /dev/mtdblock0 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00040000
root@openipc-hi3518ev200:~# cat /dev/mtdblock2 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00200000
root@openipc-hi3518ev200:~#

In uboot
setenv extras "hisi_mci.disabled=1";saveenv
uImage.zip

Kernel starts much faster (no timeout), cam works but mtd partisions are 00 00 ..
btw; the kernel version is the same as yesterday - is it ok ?
root@openipc-hi3518ev200:~# uname -a
Linux openipc-hi3518ev200 4.9.37 #4 Fri Mar 3 23:48:47 MSK 2023 armv5tejl GNU/Linux

root@openipc-hi3518ev200:~# cat /proc/cmdline
mem=32M console=ttyAMA0,115200 panic=20 root=/dev/nfs rootfstype=nfs ip=<IP_ADDRESS>:::<IP_ADDRESS>::eth0 nfsroot=<IP_ADDRESS>:/mnt/cam_rootfs,v3,nolock,tcp rw mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data) hisi_mci.disabled=1

root@openipc-hi3518ev200:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "boot"
mtd1: 00010000 00010000 "env"
mtd2: 00200000 00010000 "kernel"
mtd3: 00500000 00010000 "rootfs"
mtd4: 000b0000 00010000 "rootfs_data"

root@openipc-hi3518ev200:~# cat /dev/mtdblock0 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00040000
root@openipc-hi3518ev200:~# cat /dev/mtdblock1 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00010000
root@openipc-hi3518ev200:~# cat /dev/mtdblock2 | hexdump -C | more
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00200000

Full log;

Maybe it it is the same issue like here "Kernel does not boot from KH25L6433F flash drive #30"
Flash Name: XM_MX25L6433F{0xC22017), 0x800000.
I have the same chip: SPI Nor(cs 0) ID: 0xc2 0x20 0x17

It's not similar with anything else, because we are 100% sure this flash works on 18ev200. In your case there are some probs with board schematics, I've tried everything i could,  even at 50MHz it wouldnt work. If even it will somehow start at 33MHz or with some further spi driver hacks i don't see this going to master.

It's not similar with anything else, because we are 100% sure this flash works on 18ev200
Ok, I thought it would be done the same way as you did for u-boot.
The strange thing is that I can run a standard build without any problem:
General_HZXM_IPC_HI3518EV200_50H20L_S38_V4.02.R12.Nat.OnvifS.20171010_ALL.bin

I did it the same way, i did even much lower speed , than in u-boot. So thats even a XM board. I even have such board myself... maybe you are missing some resistors around flash chip?

I can run the original firmware, with access via telnet.
How can I read / dump configurations for spi_nor to verify speed ?

I dont think it's possible to get such infos. Again, you'd better check your board, compare with the reference pics, there must be something wrong with the board.

How to use (register #)
ipctool spidump / spiset
to change SPI speed rate ?

I started the camera on the original firmware, there are only few events in the log related to SPI Nor:
Check Flash Memory Controller v100 ...  Found.
SPI Nor(cs 0) ID: 0xc2 0x20 0x17
Block:64KB Chip:8MB Name:"MX25L6406E"
CONFIG_CLOSE_SPI_8PIN_4IO = y.
at xm_get_macronix_type() cr:0x0.
at xm_select_FlashProtMgr() index:0x3,name:Macronix,chipSize:0x800000.<<INFO>>
at xm_setTB() g_SpiNorMFR:0xc2,chipsize:0x800000 <No>.
lk=>4, 0x780000.
SPI Nor total size: 8MB
6 cmdlinepart partitions found on MTD device hi_sfc
6 cmdlinepart partitions found on MTD device hi_sfc
at XMMtd_RegisterProtFreeRgn() index:0,offset:0x7b0000,size:0x50000.
at xm_flash_release_from() offset:0x7b0000, level:4, lockLevelMax:4.
Creating 6 MTD partitions on "hi_sfc":
0x000000000000-0x000000050000 : "boot"
0x000000050000-0x0000003c0000 : "romfs"
0x0000003c0000-0x000000640000 : "user"
0x000000640000-0x000000760000 : "web"
0x000000760000-0x0000007b0000 : "custom"
0x0000007b0000-0x000000800000 : "mtd"
himii: probed

does the openipc kernel also set this switch ?
CONFIG_CLOSE_SPI_8PIN_4IO = y.


Any chance of .net version update?

This would be really handy for slicing up my own custom maps for Leaflet use, but having to use a non supported/EoL'd version of .net is something I'd like to avoid. No pressure to do so at all, just wanted to ask if there was a possibility of it.

Have upgraded both the source and latest release to .net 8.0 and I've also upgraded the packages to the latest version

Awesome, thanks a ton


MM-14104 Update logic for Markdown emphasis from upstream

For context, we don't have our marked fork up to date with upstream because we've made some extensive changes to it internally. Since the goal is still to switch to commonmark.js, there haven't been many efforts to get it up to date, but occasionally we need to manually copy changes like this to fix annoying bugs.
The actual changes for this PR are here: https://github.com/mattermost/marked/commit/c1b6989f5cbacba6dceaabe8eabd7be8ec655cd6
Ticket Link
https://mattermost.atlassian.net/browse/MM-14104

Looks like the update is causing some tests to fail. @hmhealey is investigating.

Fixed. Turns out we were previously using a branch on the marked fork, and switching to the master branch on it lost some changes. I merged those into master and updated the commit.
Also, one of the tests was legitimately broken


refactor: remove DeepReadonly/Mutable from stores

The previous discussion on discord preferred more accurate types (readonly).
It may be time to revisit that decision.
Although typing stores as deeply readonly allows typescript to catch attempts at mutating stores, it has its own issues:

Poor interoperability with existing code which may not be typed readonly despite being immutable
Confusing errors for users with less typescript experience
Classes are incorrectly made readonly since typescript can't differentiate classes and objects; currently this has an awkward workaround (#888)

The latter is an issue not initially considered. Additionally it seems that getters in object literals passed straight to createStore are unable to use this: https://playground.solidjs.com/?hash=-1721851158&version=1.4.1 (not sure if fixable -- not going to try unless this PR doesn't go through)
This PR removes all uses of DeepReadonly and DeepMutable and marks them deprecated.
It also:

Types unwrap based on the item being unwrapped.
Types isWrappable as a type guard.

based on #892.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.091%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1235

Relevant Lines:
1318

💛  - Coveralls


Fix Sky texture on VMware

The texture problem in https://github.com/PX4/Firmware/issues/8229 seems to be a bug in the VMware graphics driver. This should fix it.
Thanks @MaEtUgR and @hamishwillee for helping me to debug & fix this.

Hi @bkueng
It didn't for me:
BUILD SUCCESSFUL
Total time: 2 seconds
ubuntu@ubuntu:~/jMAVSim$ cd out/production
ubuntu@ubuntu:~/jMAVSim/out/production$ java -Djava.ext.dirs= -jar jmavsim_run.jar
Options parsed, starting Sim.
Starting GUI...
3D [dev] 1.6.0-pre12-daily-experimental daily

libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080

Appearance the same as before.
I followed exactly the same build process as for previous texture test on the new branch.

@hamishwillee Sorry, it was my fault... Can you give this branch with the updated commit a test again?

Thanks, yes, that works :-)


You should look into Speakeasy for an SDK and OpenAPI

Having something like this may help streamline the data connectors
https://www.speakeasy.com/

Looks interesting && def a lot of inspiration to be taken from them, especially around their LLM-augmented API understanding and SDK codegen.
Also in a similar boat is stainless and fern.
Closing for now as I think it's unlikely we'll be making use of any of these anytime soon.


Need to ImageAnimButton with ImGui-SFML

I m trying to load an image button as given in page ImageAnimButton
Will you please explain (as in your simple ImGui-SFML tutorial ) how we use it in our  SFML project.
Anyway thanks for the IMGUI-SFML work

Hello
Check out how ImGui::SFML::Image is implemented and pass texture ids from sf::Texture and calculate UV coordinates appropriately.

Hi
Thanks for the prompt reply.
I tried but unable make it work , will you please show me with an example
(like this  )

Hi
Thanks for the prompt reply.
I tried but unable make it work , will you please show me with an example ( like this example of your ==>https://eliasdaler.github.io/using-imgui-with-sfml-pt1/

ok.. ..have seen the conversion of sfml texture to imgui textureid but now Getting an error => 'ImGuiWindow' was not declared in this scope <=

trying another button 'ImageButtonImpl ' also result in error => 'ImageButtonImpl' was not declared in this scope ; did you mean 'ImageButtonImg2' <=

I m just trying to have a button with image that changes on mouse over and on mouse click

Sorry if am annoying you.... am just new to all these stuff.

You need to include <imgui_internal.h>

Hi
where is the function convertGKTextureHandleToImTextureID()

It's in imgui-SFML.cpp and you'll need to copy it to your code to use it

Thanks.


Minor enhancements

Minor enhancements
Description of the Change
cc6e5b0 - Add AUTHORS file
1a743bf - Add CONTRIBUTORS file
1d96ec1 - Add MAINTAINERS file
2ef0325 - Update CONTRIBUTING.md file
c3996aa - docs: update README.md file
Benefits
List all CONTRIBUTORS.
List all MAINTAINERS.
Possible Drawbacks
None.
Applicable Issues
None.

Nice ! Nothing changes for now with the CODEOWNERS ?

@AxelPeter Yes it will be changed right after transferring the repository to the ovh organization.


Fix CAMEL-14002

@oscerd this is related to the issue we discussed last week. When the amazonAWSHost is provided, the application still tries to use a default host when trying to list the queues (as explained on the ticket).
I am sending this an preview to collect some feedback and further adjust the PR according to the project standards.

The PR also carries a change to allow to choose between HTTP (or HTTPS) as the protocol for SQS communication.
On the application I found the original problem, I am using LocalStack to run the test, which uses HTTP by default, which is why I bundled it together. I can break it in a separate ticket/PR if that would be better for the project.

Merged on master

Thanks


User authentication for a mobile app

Hey,
Started to try SpotifyAPI-NET, Great work!
I do have a question,
In order to retrieve a user playlists I use:
 Paging<SimplePlaylist> userPlaylists = api.GetUserPlaylists(userSpotifyUserName);
Prehand i use SecretId/ClientId to receive a token like in the examples which is provided in this git.
I want to show user playlists on my android app, Is it a common use to prompt the user to input his/her Spotify username to be able to populate userSpotifyUserName;

To easily retrieve user specific information you should authenticate via Implicit/Authentication Workflow. To do that you will need to somehow get a browser/server pair running. I did have issues getting this to work for Xamarin - you can also try using Local API or spotify's android/ios SDK.

Thanks for the reply.
For mobile application with authentication method do you recommend?

It really depends on what you intend to do.
I know that if you only need playback/user info ect. on that device I would go for Local API as that's the least user interaction. Please check Local API's limitations for that.
If you need access to other devices I would go for TokenSwap authentication. This definitely needs a webserver however, but the TokenSwap Factory is quite good especially with auto refresh.
After all, I'd really advise you to go with Spotify's SDK (Found here. This does need you to go with Java/Android Studio, but the swap from C# to Java isn't that horrible. And their auth library handles Local API quite well.
Hope this did help.

I see,  Thanks.
well, just need to login user and get his playlists and add tracks to the playlist.
I did manage to use 'AuthorizationCodeAuth' with Local redirect,  but on mobile, it won't open the browser to authenticate, I guess it's a common issue?

Wouldnt say it's an issue - rather expected behaviour.
As you're unable to either open a browser via c# on an Android Device (assuming you develop for android) or even host a server, most of stuff here simply won't work. Also the .net LocalAPI is deprecated/removed as of #254 .
Your best and easiest bet developing for android is, as I said before, going with Spotify's Android SDK which works flawlessly. I may be very wrong at it being your best bet, but it is surely the easiest way.
If you're on iOS theres also a SDK available.

unable to either open a browser via c# on an Android Device (assuming you develop for android)
Yeah, i can't open browser under the android device.
I believe it i can make the browser open under Android it might work without using Spotify's Android SDK.

@ColorTwist Are you sure there isn't an embedded web browser element that you can use? I know Xamarin has a WebView, I've been using it for my own mobile project and used TokenSwap factory to pull that off.
If you're using Unity to do it then you'll need to find a way to open a web page within the game. It's definitely possible, it's just difficult. A plugin exists but it's very expensive. An answer I read about said if you could get a web page as a byte array (byte[]) you would be able to display it as a texture inside the game. Not an unreasonable shout given what System.Web can do.

hey @rollersteaam
Thanks for the feedback.
    auth.Start();
    auth.OpenBrowser();

What does  auth.OpenBrowser(); actually open, is it a specific url that auth.Start() genereates?
I might be able to open html with Unity if I investigate a bit more, like with the plugin you suggested.

Auth.GetUrl();/Auth.Url if I recall correctly. You may want to check source for that.
If you get that URL you can just put it into any sort of WebView/Browser - assuming you have the localhost/<IP_ADDRESS>:4002 server running.

Yeah, it's Auth.GetUrl(), thanks.
I am using, AuthorizationCodeAuth, or at least trying to use it with Unity.
I don't have a server running at localhost/<IP_ADDRESS>:4002, i assumed it's just a generic setting used from spotify app settings to make AuthorizationCodeAuth work.

Yeah AuthorizationCodeAuth creates a server on your device that Spotify redirects its access token to, therefore resulting in your application receiving the token (because AuthorizationCodeAuth waits for it) and then it allows the Spotify playback control and every other feature..
If you find that the default settings aren't working for your mobile device, you can always change this here:
    AuthorizationCodeAuth auth = new AuthorizationCodeAuth(
      _clientId,
      _secretId,
      "http://localhost:4002", // Change both of these to "http://<IP_ADDRESS>:4002" instead
      "http://localhost:4002",
      Scope.PlaylistReadPrivate | Scope.PlaylistReadCollaborative
    );

I'm not sure if local HTTP Servers are supported on mobile devices. If it's not working and you need long living tokens, I suggest to use a backend server which does the token exchange stuff. You can use https://johnnycrazy.github.io/SpotifyAPI-NET/auth/token_swap.html#using-tokenswapwebapifactory for example


API for drawing round shapes

There is no way to draw round/curvy shapes.
For circular shapes:
val strokeArc : canvas -> color -> (x:int, y:int) -> (radius:int) -> (startAngle:int) -> (endAngle:int) -> unit
val fillArc : canvas -> color -> (x:int, y:int) -> (radius:int) -> (startAngle:int) -> (endAngle:int) -> unit

For a circular arc with color color centered at (x, y) with a radius of radius. The path starts at startAngle, ends at endAngle, and travels in clockwise direction, angles are given in radians. Thus, to draw a full blue circle (moon) at position (42, 69) with a radius of 20:
fillArc canvas blue (42,69) 20 0 (2 * int(2.0 * System.Math.PI))

Similar for elliptical shapes:
val strokeEllipse : canvas -> color -> (x, y) -> radiusX -> radiusY -> rotation -> startAngle -> endAngle -> unit
val fillEllipse : canvas -> color -> (x, y) -> radiusX -> radiusY -> rotation -> startAngle -> endAngle -> unit

For an elliptical arc centred at (x, y) with the radii radiusX and radiusY. Starts at startAngle and ends at endAngle, and travels in clockwise direction.

I've made a PR for the first of the four functions.

Version 2.0 provide round shapes (amongst other things)


Example file with shapes

Following up with #282, we would need an example of dataset with multiple shapes to add to the existing set of example.

I think it would be nice to revamp a bit all the examples - we have much nicer applications done with chemiscope in the recent past - and to also include examples on how to make those visualizations from a jupyter notebook.

Closed by #299


IE11 support for commenting

It doesn't look great, but all the functionality works

@jacobtoppm rebased!


Add warning to mailer documentation about authentication

References #7966
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Hmm weird, I use SMTP fine with user/password without setting IS_TLS_ENABLED=true or localhost set.
Looking at the way Gitea works is that if you set IS_TLS_ENABLED=true or have port 465 then it tries to starts a TLS connection directly:
https://github.com/go-gitea/gitea/blob/5789e603161aff311f8afcc15585892e783c931e/services/mailer/mailer.go#L160-L164
but if not it still tries StartTLS if supported:
https://github.com/go-gitea/gitea/blob/5789e603161aff311f8afcc15585892e783c931e/services/mailer/mailer.go#L185-L191
Which will upgrade the connection to a TLS connection in most cases. So IS_TLS_ENABLED=true is somewhat confusing as you will often end up with a TLS connection anyway since StartTLS will work in many cases -- and since it just works you'll never think to change the default IS_TLS_ENABLED setting because you won't have a TLS problem. In the case of the linked issue it doesn't work because that server happens to not support TLS at all.
So I think it should say you can only use username/password if the SMTP server supports TLS.

@mrsdizzie - I forgot about that little feature - fancy improving @guillep2k's suggestion?
@guillep2k presumably nota bene has died out in the Americas, I thought it was well-known e.g. i.e. etc.

Can you also add this to app.ini.sample?

@zeripath looks good. Maybe while in here we can update the comment forIS_TLS_ENABLED=true that it actually means to just try Implicit TLS first. I can't make a code suggestion since it isn't part of the diff but maybe:
Try an Implicit TLS connection first. WIll fall back to STARTTLS if not supported. Implicit TLS is also implied when using port 465 in the `HOST` value.

Since the name is confusing and the current comment isn't really descriptive of what it does (most people read it as required for any TLS and it is probably wrongly suggested for servers or ports that don't support Implicit TLS).

@mrsdizzie do you mean explicit rather than implicit here? My understanding is that STARTTLS is opportunistic TLS or implicit - in that the server and the client will upgrade to TLS implicitly without us explicitly telling them to, similarly connecting to a TLS port and detecting it was a TLS connection would be implicit,  but saying connect with TLS is being explicit.

Oh this is a weirdness of the RFC - the implicit here means that at the protocol layer the TLS is implicit. (even though the user has made it very explicit that they want TLS.)

@zeripath yes agree its all very confusing : (
Most simply, STARTTLS is considered the explicit one because the connection is explicitly upgraded if not secure. Other option is implicit because its implied the connection is already secure.

OK I've tried to make that a bit clearer.
Fundamentally IS_TLS_ENABLED needs to be changed - it's confusing and should be FORCE_SMTPS_CONNECTION.


Add kcc network prices

Make sure these boxes are checked! 📦✅

[x] You ran ./run_tests.sh
[x] You ran pre-commit run -a

How was it fixed? 🎯
by adding kucoin and coingecko support for kcc network

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 13 (61.54%)  changed or added relevant lines in 3 files are covered.
72 unchanged lines in 9 files lost coverage.
Overall coverage decreased (-1.1%) to 87.567%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

safe_transaction_service/tokens/clients/kucoin_client.py
1
2
50.0%

safe_transaction_service/tokens/clients/coingecko_client.py
2
4
50.0%

safe_transaction_service/tokens/services/price_service.py
5
7
71.43%

Files with Coverage Reduction
New Missed Lines
%

safe_transaction_service/tokens/clients/kraken_client.py
3
73.53%

safe_transaction_service/history/services/collectibles_service.py
4
89.92%

safe_transaction_service/tokens/clients/coingecko_client.py
6
76.84%

safe_transaction_service/tokens/services/price_service.py
6
90.69%

safe_transaction_service/tokens/clients/zerion_client.py
8
78.95%

safe_transaction_service/tokens/clients/kucoin_client.py
9
50.0%

safe_transaction_service/tokens/clients/binance_client.py
11
41.94%

safe_transaction_service/tokens/clients/kleros_client.py
11
64.71%

safe_transaction_service/tokens/clients/coinmarketcap_client.py
14
47.17%

Totals

Change from base Build<PHONE_NUMBER>:
-1.1%

Covered Lines:
6015

Relevant Lines:
6869

💛  - Coveralls


Always keep showing "Adding new connection" when attaching one blob container

Storage Explorer Version: 1.8.1_feature/main-host_20190614.4
Platform/OS: macOS High Sierra/Windows 10
Architecture: ia32/x64
Regression From: Previous release(1.8.1)
Steps to reproduce:

Expand a storage account -> Blob Containers.
Select one blob container -> Try to attach it with SAS.
Check the Activities after successfully attached.

Expect Experience:
Show successfully added new connection.

Actual Experience:
Keep showing "Adding new connection".

More Info

This issue also reproduces for one file share / table / queue.
This issue doesn't reproduce for one storage account.
This issue doesn't reproduce on master branch.
Did not verify this issue on Linux. (Blocked by the bug: 1438)
This issue also reproduces for RBAC attached containers.

Verified this issue on build feature/main-host 20190624.2. It has been fixed. So we close it.


First and Second Item from ListView Is Covered By QRHeader (in Example Code)

Hello, thanks for creating such a nice library.
I was running the example code and found that the first and second item from R.array.countries (United States Of America and Afghanistan) was covered by the header. I'm trying to scroll up and down, but it still cannot show the first and second item.
Screenshot:

After checking the layout (fragment_list_quick_return_header.xml), I find that the problem is in the layout. The CustomTextView and the ListView do not have the position set between each other. I try to change the layout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <com.etiennelawlor.quickreturn.views.CustomFontTextView
        android:id="@+id/quick_return_tv"
        android:layout_width="match_parent"
        android:layout_height="80dp"
        android:background="@color/transparent_black_ninty"
        android:textSize="22sp"
        android:text="@string/header"
        android:textColor="@android:color/white"
        android:gravity="center"
        app:textFont="Roboto_Bold"/>

    <ListView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@android:id/list"
        android:layout_below="@id/quick_return_tv"/>

</RelativeLayout>

After I change the layout into the code above, the first and second item is now shown but there is now a white gap on top of the list when scrolling.

Thanks for your help.

That would be great if you could provide a pull request for this issue.
On Sun Jan 25 2015 at 6:38:09 AM Andreas Lukito<EMAIL_ADDRESS>wrote:

Hello, thanks for creating such a nice library.
I was running the example code and found that the first and second item
from R.array.countries (United States Of America and Afghanistan) was
covered by the header. I'm trying to scroll up and down, but it still
cannot show the first and second item.
Screenshot:
[image: quickreturnitemnotshown]
https://cloud.githubusercontent.com/assets/708537/5891816/42390678-a4da-11e4-9d78-71cb6cbb6ec1.png
After checking the layout (fragment_list_quick_return_header.xml), I find
that the problem is in the layout. The CustomTextView and the ListView do
not have the position set between each other. After I change the layout
into the code below, it solve the problem.

<com.etiennelawlor.quickreturn.views.CustomFontTextView
    android:id="@+id/quick_return_tv"
    android:layout_width="match_parent"
    android:layout_height="80dp"
    android:background="@color/transparent_black_ninty"
    android:textSize="22sp"
    android:text="@string/header"
    android:textColor="@android:color/white"
    android:gravity="center"
    app:textFont="Roboto_Bold"/>

<ListView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@android:id/list"
    android:layout_below="@id/quick_return_tv"/>

Hope it helps, I can provide a pull request if you want me to. Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/lawloretienne/QuickReturn/issues/14.

Hi, I'm sorry, I thought layout change would solve the problem, but it didn't. So I edited my comment regarding the issue, but i forgot to add "Edit:" tag.
When I set the position of the ListView to be below of the CustomTextView, the first and second item appears. But the problem is when the ListView is scrolled, the CustomTextView is translated above while RelativeLayout still thinks CustomTextView is at its original position. I think this is because of the fact that setTranslationY happens post-layout.
The effect can be seen in the screenshot in my updated comment earlier.
To be honest, I don't have a solution right now. Maybe if you point me to right direction, I could help you with fixing. Thanks a lot.

I have the same issue. Are there any solutions yet?

I have a workaround for this issue. I created a dummy list item and put it as the first element of the list. This dummy item has the exact height of the quick return header view. This way, the top items of the list are visible.

You can add a header to the listView (listView.addHeaderView) to avoid covering the items as a workaround. You should set the header height the same as the QuickReturn view height.

@evliya I believe that is exactly how I would handle it too.  Creating a dummy list item to be the exact height of the quick return header view.  I am doing something similar in the Twitter example.


[AMBARI-24319] Regenerating keytabs for the given service(s) only

What changes were proposed in this pull request?
When regenerating keytabs on service level (i.e. in Services / HDFS / Actions / Regenerating keytabs) Ambari regenerated shared keytabs too (i.e. SPNEGO keytabs that are referenced by other services too). This led several issues when tried to authenticate to other web based services.
The solution is to regenerate keytabs that belong to that  actual service only.
While at it, configuration changes are ignored during service- and host-specific keytab regeneration options.
NOTE: This is a slight change over the previously reverted patch, #1833.   The previous had an issue where it caused a failure when Kerberos-enabled clusters were created via Blueprints.  Kerberos identities that did not belong to a specific service were never created.  For example, SPNEGO (HTTP/_HOST) and the smoke test user (ambari-qa-cl1).   This patch attempts to fix that by creating missing Kerberos identities along with the requested service's identities.
How was this patch tested?
Latest JUnit test results in ambari-server:
mvn clean test package -pl ambari-server
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26:33 min
[INFO] Finished at: 2018-07-29T08:42:36-04:00
[INFO] Final Memory: 105M/1382M
[INFO] ------------------------------------------------------------------------

In addition to this I've tested this scenario in a test cluster. After my change I regenerated HDFS service's keytabs with this result:
[root@c7401 ~]# ls -ltr /etc/security/keytabs/
total 28
-r--------. 1 root      root   348 Jul 29 13:08 ambari.server.keytab
-r--r-----. 1 root      hadoop 413 Jul 29 13:08 spnego.service.keytab
-r--------. 1 zookeeper hadoop 438 Jul 29 13:15 zk.service.keytab
-r--r-----. 1 ambari-qa hadoop 328 Jul 29 13:15 smokeuser.headless.keytab
-r--------. 1 hdfs      hadoop 403 Jul 29 13:30 nn.service.keytab
-r--------. 1 hdfs      hadoop 403 Jul 29 13:30 dn.service.keytab
-r--------. 1 hdfs      hadoop 303 Jul 29 13:30 hdfs.headless.keytab

This was cherry-picked from #1913.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3362/
Test PASSed.


Unable to run msfdb on WSL2: System has not been booted with systemd as init system (PID 1). Can't operate.

Environment
Windows build number: Windows 10 10.0.18363 (x64-based)
Your Distribution version: Kali 2020.3
Whether the issue is on WSL 2 and/or WSL 1: Linux version 4.19.128-microsoft-standard (WSL 2)

Steps to reproduce

user@host:~$ sudo /etc/init.d/postgresql start
Starting PostgreSQL 12 database server: main.
user@host:~$ sudo msfdb init
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Starting database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Expected behavior

Proper start of metasploit-framework with systemd and with connection to bus (host up).
Actual behavior
System is not booted with systemd. Host is down.

I have solved the issue by installing the systemd-genie.

/dupe #994

@martin15560 Even though in Windows build 2004, you still get an error, but it looks like metasploit will work with postgreql on wsl now.
Here's my output:
msf6 > db_status
[*] Connected to msf. Connection type: postgresql.
msf6 >

And I'm on wsl kali:
PS > wsl -l -v
  NAME                   STATE           VERSION
* kali-linux             Running         2

You only have to install postgresql according to Microsoft's instructions.
And then start postgresql,
└─$ sudo service postgresql start
[sudo] password for known:
Starting PostgreSQL 13 database server: main.

And because I've tried init before but failed, now I need to run reinit. But if you never did this, I guess just run init:
└─$ sudo msfdb reinit
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Starting database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Deleting configuration file /usr/share/metasploit-framework/config/database.yml
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[i] Database already stopped
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Starting database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Creating database user 'msf'
[+] Creating databases 'msf'
┏━(Message from Kali developers)
┃
┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/
┃
┗━(Run “touch ~/.hushlogin” to hide this message)
[+] Creating databases 'msf_test'
┏━(Message from Kali developers)
┃
┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/
┃
┗━(Run “touch ~/.hushlogin” to hide this message)
[+] Creating configuration file '/usr/share/metasploit-framework/config/database.yml'
[+] Creating initial database schema

And now things should work.

@martin15560 Even though in Windows build 2004, you still get an error, but it looks like metasploit will work with postgreql on wsl now.
Here's my output:
msf6 > db_status
[*] Connected to msf. Connection type: postgresql.
msf6 >

And I'm on wsl kali:
PS > wsl -l -v
  NAME                   STATE           VERSION
* kali-linux             Running         2

You only have to install postgresql according to Microsoft's instructions.
And then start postgresql,
└─$ sudo service postgresql start
[sudo] password for known:
Starting PostgreSQL 13 database server: main.

And because I've tried init before but failed, now I need to run reinit. But if you never did this, I guess just run init:
└─$ sudo msfdb reinit
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Starting database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Deleting configuration file /usr/share/metasploit-framework/config/database.yml
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[i] Database already stopped
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Starting database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Creating database user 'msf'
[+] Creating databases 'msf'
┏━(Message from Kali developers)
┃
┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/
┃
┗━(Run “touch ~/.hushlogin” to hide this message)
[+] Creating databases 'msf_test'
┏━(Message from Kali developers)
┃
┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/
┃
┗━(Run “touch ~/.hushlogin” to hide this message)
[+] Creating configuration file '/usr/share/metasploit-framework/config/database.yml'
[+] Creating initial database schema

And now things should work.

I tried to install: "postgresql-contrib" package but I got following:

``

@martin15560 Even though in Windows build 2004, you still get an error, but it looks like metasploit will work with postgreql on wsl now.
Here's my output:
msf6 > db_status
[*] Connected to msf. Connection type: postgresql.
msf6 >

And I'm on wsl kali:
PS > wsl -l -v
  NAME                   STATE           VERSION
* kali-linux             Running         2

You only have to install postgresql according to Microsoft's instructions.
And then start postgresql,
└─$ sudo service postgresql start
[sudo] password for known:
Starting PostgreSQL 13 database server: main.

And because I've tried init before but failed, now I need to run reinit. But if you never did this, I guess just run init:
└─$ sudo msfdb reinit
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Starting database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Deleting configuration file /usr/share/metasploit-framework/config/database.yml
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[i] Database already stopped
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Starting database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Creating database user 'msf'
[+] Creating databases 'msf'
┏━(Message from Kali developers)
┃
┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/
┃
┗━(Run “touch ~/.hushlogin” to hide this message)
[+] Creating databases 'msf_test'
┏━(Message from Kali developers)
┃
┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/
┃
┗━(Run “touch ~/.hushlogin” to hide this message)
[+] Creating configuration file '/usr/share/metasploit-framework/config/database.yml'
[+] Creating initial database schema

And now things should work.

I tried to install: "postgresql-contrib" package but I got following:
Errors were encountered while processing:
 udev
 sudo
 tpm-udev
 kali-menu
 xserver-xorg-core
 xserver-xorg-video-nvidia-legaxy-390xx
 libsane1:amd64
 libsane1:i386
 sane-utils
 nvidia-legacy-390xx-driver
 libsane:amd64
 libsane:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Do you know what should I do about that?

I've not seen that myself. Are you sure you're on wsl2 and Windows 2004 or higher? But I think it's not directly related to this systemd problem.

My very simple fix to get this working easily was to do this (as root):
`mv /usr/bin/systemctl /usr/bin/systemctl.orig
cat > /usr/bin/systemctl <<EOF
#!/bin/bash
service $2 $1
EOF
chmod 755 /usr/bin/systemctl`
This obviously doesn't setup ystemd as your init sytem, but it saves you from having to change scripts (like msfdb) to work with the "service" syntax.


Move to jstransformer

Still todo:

[x] Update travis (test on multiple node versions)
[x] Remove hound
[x] Add debug messsages
[x] Stop processing at the filename (instead of relying on there being no transform)
[x] Currently uses private metalsmith properties
[x] Fix package.json
[x] Check if file has an extension is superfluous, but might result in a minor speed increase
[x] Test for common problems with templating languages (jade, haml, nunjucks)
[x] Currently removes last extension after every transform (should use outputformat, otherwise it'll transform index.md to index) (see here)
[ ] Make nunjucks test work cross-directory
[ ] Make haml test work

Update readme & history:

[ ] credit Rob Loach for the inspiration
[ ] mention node support (4,5,6)
[ ] mention debugging option
[ ] documents opts
[ ] documents options passthrough (mention options.filename) and the workings of this with jstransformers (partials etc.)
[ ] mention that transformers need to be installed

Optimisations

[ ] Performance check (move to async)
[ ] Move scanning for partials to external plugin (add partials to metadata)

This seems like an enhance to what we had previously.
It is good that you moved parts of the functionality into their own functions.
I would try to simplify render-file.js more.

Yeah I tried to keep it compartmentalised.

I would try to simplify render-file.js more.

Definitely, I'm gonna see what I can simplify further.

An interesting PR. What was the motivation to move away from consolidate?
Are you considering having a common core shared by metalsmith-in-place and metalsmith-layouts?

@woodyrew

What was the motivation to move away from consolidate?

Modularity mostly. The fact that transformers can be easily and independently updated will hopefully mean that issues with rendering engines can be fixed more easily than with consolidate. Also, so far it seems that the jstransformers project is more active. However, we'll be testing things out first with a beta.

Are you considering having a common core shared by metalsmith-in-place and metalsmith-layouts?

Definitely! That's actually the next thing on our todolist.

@doodzik I consider this PR ready for the beta release, do you want to give it a final check? If you agree we can squash and merge.
After that I'll release it on npm and we can fix all the other stuff like abstracting etc. (because there's still quite some things I'd like to change an improve on).

Stuff to put in the issues after releasing:
Large changes

rename layouts and in-place as the names are a bit confusing. Make it more obvious that in-place is the main lib, and that layouts is just a polyfill for languages without extends (so make in-place the main lib and deprecate layouts. But this is a major change so we should be careful with this.
release scanning for partials, helpers, etc. as separate libs.
design for putting everything in src, instead of in a separate folder.
abstract rendering to separate lib so that the apis of in-place and layouts are more agnostic to the rendering lib being used. Allows it to be overridden easily and simplifies testing.

Language specific tests
Also depends on the changes we want to make to our testing methodology

make nunjucks test work cross-directory
make haml test work

Update readme

mention node support (4,5,6)
mention debugging option (like npm run debug)
documents options passthrough, options.filename and the workings of this with jstransformers (for partials, helpers etc.)

Optimisations

performance check (async)

I'm going to look at it today in the evening or tomorrow :+:

What name changes did you have in mind regarding naming? I agree there is confusion regarding the names and the behaviour of the two packages. metalsmith-templates was split into metalsmith-layouts and metalsmith-in-place so they're more focused in their task as far as I am aware. I'm not saying they shouldn't be renamed or int the case of layouts be deprecated but as heavily relied upon plugin I think it should be greatly considered.
On a side note, do you know if the switch to jstransformer along with the other changes will provide a performance increase to layouts? On all my projects, this is the plugin that takes the longest time (using Handlebars), often much longer than all other plugins combined.
I hope I'm not treading on any toes, my aim is to help. You're both doing excellent work and it's greatly appreciated :smile:

I hope I'm not treading on any toes, my aim is to help.

Oh no, definitely not, I really appreciate the feedback 👍 😄

I'm not saying they shouldn't be renamed or int the case of layouts be deprecated but as heavily relied upon plugin I think it should be greatly considered.

Completely agree, if we're going to change this, it should be considered very carefully. I didn't really formulate it well because @doodzik and I already discussed it and this was just a reference to that discussion.
Basically we just thought that it would be good for people to realise that in-place is what you should use in 99% of the cases. It simplifies everything because you can just use the functionality of whichever templating language you use. If you use a complete templating language you can use extends and includes without a problem.
The only reason I see for using layouts is if you absolutely have to use a templating language that doesn't support extends natively (like handlebars). So a polyfill for extends.
Now unfortunately layouts gets a lot more use, and it is probably one of the the first plugins that newcomers to metalsmith use. Which complicates the learning process for newcomers because it does some counterintuitive stuff (like not process syntax in the source file). We get a lot of issues in the layouts repo that are basically the result of people running into trouble with layouts, where they'd probably be fine with in-place.
So basically we're just thinking about how we can help people understand the roles of both plugins, and a name change was just one of the suggested options (because in-place is not as descriptive to newcomers).

On a side note, do you know if the switch to jstransformer along with the other changes will provide a performance increase to layouts

Not yet. We were planning on doing perf testing and optimisation after this pr, and it was definitely something that we were also thinking about. Especially with a large collection of files this plugin can take a long time and it would be nice to get that down.

This seems good. Before merging it would be good to verify if the done call behaves as expected or if we need to alter it.

@ismay @doodzik Added a line comment regarding the done()

@woodyrew I might be missing it, but I don't see your line comment. Did it get posted?
@doodzik You might be right about the done(). Couldn't find documentation on the recommended usage of the done() callback with a quick search, but I'd also expect it to be called only when all processing is done (even though tests don't seem to misbehave when checking with an npm run debug, but that might be because the testing isn't done in conjunction with other plugins that could interfere). I agree with your other suggestions, sounds good 👍

@ismay Yes, it was pending in GH's new feature. https://github.com/superwolff/metalsmith-in-place/pull/52#r78805065

Ah. So the done() will have to be changed before merging then, my bad. I'll fix it and implement the other suggestions as well, then we should be ready to go.

Ok, it took me a while to find the time to do this, but I've corrected my improper use of the done callback. I've also switched to the .includes method for the extension check, as per your suggestion @doodzik.
After looking at this again I do have to say that I think that there a quite some things I would like to do differently. I think a more functional approach would be nice (instead of mutating the files object directly, etc.). Plus some other patterns that just aren't very clear. Bit of a naive implementation, but then again, it's a starting point.
Also, maybe we could look at the way redux handles its async action creators for a way to implement our rendering function in a way that can be overridden by users (should they want to do so), and is more separated from this lib and layouts.
Anyway, I think this pr is complete. What do you think, ready for squash + merging?

this is a really good starting point. great work @ismay 👍
can you elaborate on the async action creators?

@ismay Not sure precisely what you mean by a more functional approach but it's better to mutate the files object with metalsmith in case a plugin is referencing any of the file objects. A similar situation to https://github.com/metalsmith/metalsmith/issues/247

Ah ok, I didn't know that it was actually preferable to mutate, rather than return a clone. I was wondering whether cloning could create performance problems, but it seemed like a cleaner approach with less unintended side effects. Good to know that it's better to mutate in this case, thanks! 👍


Add online interactive example through Binder

Add Binder support to test NBFlow online without local install
Migrate Kernels to Python 3
Remove results from nbflow/example to demonstrate the efectiveness of the scons command
Update Readme with Binder Badge and tutorial on how to test it.

Note: The links in the readme will work only after merging because the environment.yml is needed, the final result could be tested here - This link won't be available after merge.

Nice, thanks for putting this together!


Extend the prompt data display time

TouchData will not be displayed when the finger is removed. Sometimes it is covered by fingers and I want to extend the display time. what do I do? For example, after the finger slides, it is still displayed for 2 seconds and then disappears

https://www.youtube.com/watch?v=Wa0L9iYkSjc

If you need exactly 2 seconds, you need to customize the touchCallback to implement your own logic.
But there is another solution to increase the touchSpotThreshold in LineTouchData


[BUG] JSQLParser Version 4.5 : ORACLE : Encountered unexpected token 'COMMENT'

SQL Example:

Simplified Query Example, focusing on the failing featurealter table user modify age default 0;

Software Information:

JSqlParser version 4.5
Database (Oracle)

CodeExample:

Simplified Query Example, focusing on the failing feature    String sql = "alter table user modify age default 0";
    Validation validation = new Validation(Arrays.asList(DatabaseType.ORACLE), sql);
    List<ValidationError> validate = validation.validate();

Error Message:

Simplified Query Example, focusing on the failing feature

ValidationError [
statement=alter table user modify age default 0
capability=parsing
errors=[ParseException: Cannot parse statement: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "default" "DEFAULT"
at line 1, column 29.
Was expecting:
"COMMENT"

]
]

anyone can help me answer?

Greetings.
This specific syntax is not supported yet (for no good reason).
Please see the ALTER TABLE... statement which seem to have grown organically and would need a major refactoring.
You can either submit or sponsor an implementation.

Fixed via Tanish0019:fix-#1727


Generate Certificate missing steps for internal PKI

You mention that rather than a self-signed cert you can use an Enterprise PKI. The FAQ also has a link that goes back to this section https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal#generatecert.
Considering that a lot of devices will be Active Directory domain-joined and use existing AD PKI it would be great if you add the steps on the correct cert to export and upload to save people the hassle of using makecert

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 59e72010-dab4-54d9-1409-c95b0ce60824
Version Independent ID: 0da5450c-6181-1c27-93c0-b0c698d2d598
Content: Connect to an Azure virtual network from a computer using Point-to-Site VPN and native Azure certificate authentication: Azure portal
Content Source: articles/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

Hi! Thank you for your suggestion. What specifically are you looking for that wouldn't be covered by the way certificates are issued using your existing PKI environment?

The exact steps please. A lot of companies set up their PKI years ago and wouldn't know where to start. So they need to know how to export their existing internal root cert (and then all domain clients should be good to go)

That's out of the scope of this article, I'm afraid. That's back in the realm of PKI. The steps to deploy or export would be very much a part of whatever PKI was set up specifically by the company. And the instructions would depend on the version they are using.

Shouldn't you at least link to the appropriate guide for Microsoft's own PKI service? The majority of companies connecting S2S VPNs to Azure will be using it. It would really help and seems like a simple thing to add.

From: Cheryl McGuire<EMAIL_ADDRESS>Sent: Wednesday, November 6, 2019 10:30:35 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Thom McKiernan<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Generate Certificate missing steps for internal PKI (#42212)
That's out of the scope of this article, I'm afraid. That's back in the realm of PKI. The steps to deploy or export would be very much a part of whatever PKI was set up specifically by the company. And the instructions would depend on the version they are using.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/42212?email_source=notifications&email_token=AHC7URUQD7W5R4N52UCA2DLQSNAQXA5CNFSM4JJVB46KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIG3PQ#issuecomment-550530494, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHC7URQWMRKNJ553DEKT33LQSNAQXANCNFSM4JJVB46A.

Sounds good. I'll find a link. Thanks!

#please-close


error

using "Tebex-PMMP" off of webstore
[17:27:06] [Server thread/INFO]: [Tebex-PMMP] Refreshing category list...
[17:27:06] [Asynchronous Worker #2 thread/CRITICAL]: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "plugins/ScoreHud.phar/src/JackMD/ScoreHud/libs/JackMD/UpdateNotifier/task/UpdateNotifyTask" at line 67
[17:27:06] [Asynchronous Worker #2 thread/DEBUG]: #0 plugins/ScoreHud.phar/src/JackMD/ScoreHud/libs/JackMD/UpdateNotifier/task/UpdateNotifyTask(67): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[39] Invalid argument supplied for foreach(), string[117] phar:///home/container/plugins/ScoreHud.phar/src/JackMD/ScoreHud/libs/JackMD/Upd, integer 67, array[6])
[17:27:06] [Asynchronous Worker #2 thread/DEBUG]: #1 src/pocketmine/scheduler/AsyncTask(82): JackMD\ScoreHud\libs\JackMD\UpdateNotifier\task\UpdateNotifyTask->onRun()
[17:27:06] [Asynchronous Worker #2 thread/DEBUG]: #2 (): pocketmine\scheduler\AsyncTask->run()

Hi there,
Thanks for taking the time to report this issue, I'm sorry it's been slow to get resolved — we're working on it!
Unfortunately, this issue is old enough that we've had to close it. But if you see any other issues (especially ones with the same or similar symptoms), please reply here and I'll look into getting them fixed.
We are currently planning a recode of the Buycraft plugin at some point in Q2 of this year, and we would love to know what issues still exist so they can be fixed for the new plugin.
Apologies for the issues you have faced!

No problem. Just wanted advise next month PMMP is switching to PMMPV5 I believe so that would be a good time to check for problems

No problem. Just wanted advise next month PMMP is switching to PMMPV5 I believe so that would be a good time to check for problems

No problem. Just wanted advise next month PMMP is switching to PMMPV5 I believe so that would be a good time to check for problems

Ah wow really, thanks for mentioning! Will certainly note this then