ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
<smaeul> apritzel: are you using $fdtcontroladdr?
<apritzel> yes
<smaeul> and TF-A reports that SCPI is in use and it changed the DTB?
<apritzel> just: SCP/INF: Crust v0.5.3\nINFO: PSCI: Suspend is available via SCPI
<apritzel> next line is then INFO: BL31: Preparing for EL3 exit to normal world
Turl has quit [Quit: . o O ( why am I quitting? )]
<apritzel> I see sunxi_idle_states.o, but don't find "cpu-sleep" or "cluster-sleep" in the output of strings on the final binary or .elf file
Turl has joined #linux-sunxi
<smaeul> apritzel: hmm, weird. I'm running 2f5eaf2bd6efc1488334fbddfed36b1c0aac4a87 (that exact commit) on Pine64-LTS, and I do see those in the binary, and `fdt addr $fdtcontroladdr; fdt print /cpus` prints the expected contents
<smaeul> actually I see that the phandle values in the cpu-idle-states property are off by one, but nothing is missing
apritzel has quit [Ping timeout: 480 seconds]
<smaeul> apritzel: did you build with SUNXI_AMEND_DTB=1 ? It's not the default. You should see "INFO: Changed devicetree." as the last line from TF-A.
Turl has quit [Quit: . o O ( why am I quitting? )]
Turl has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
cnxsoft has joined #linux-sunxi
sunshavi_ has quit [Ping timeout: 480 seconds]
juri_ has quit [Ping timeout: 480 seconds]
juri_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Quit: Leaving]
Daanct12 has joined #linux-sunxi
paulk1 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
paulk1 has joined #linux-sunxi
jernej_ has joined #linux-sunxi
jernej has quit [Read error: Connection reset by peer]
jernej_ has quit [Read error: Connection reset by peer]
jernej has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
jernej_ has joined #linux-sunxi
jernej has quit [Read error: Connection reset by peer]
bauen1 has joined #linux-sunxi
jernej has joined #linux-sunxi
jernej_ has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
Daanct12 has quit [Remote host closed the connection]
evgeny_boger has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
bauen1 has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
kilobyte_ch has quit [Ping timeout: 480 seconds]
<kuba2k2> uhmm, a quick question: how on Earth does U-Boot detect my exact NAND part number? I've searched the entire source code, as well as the resulting binary file and there's no mention of that specific (or even any similar) string whatsoever (Micron MT29F32G08CBACA3W)
<jakllsch> probably by JEDEC ID numbers
<kuba2k2> do you mean that the NAND chip has the model number written somewhere in it? (I don't mean any IDs, I mean literally the model number as a readable string)
<jakllsch> no, I mean the chip isn't identified to software using a string
<jakllsch> (it's identified by binary numbers)
<kuba2k2> I'm aware of that. My question then is, how is the software (U-boot) able to print out a string of the model number?
<jakllsch> lookup table somewhere
<kuba2k2> the source code doesn't contain this model number in nand_ids.c, or anywhere else
<jakllsch> are you sure you're looking at the sources to your u-boot build?
<kuba2k2> yes, the exact sources that I used to build this image just yesterday
<kuba2k2> I grepped the entire codebase for "MT29F32" and for "CBACA", case insensitive, and found nothing
<jakllsch> the string could be constructetd
kilobyte_ch has joined #linux-sunxi
sunshavi has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<jakllsch> maybe it's printed by something that's not u-boot?
<jakllsch> can you show the surrounding messages?
<kuba2k2> NAND: device found, Manufacturer ID: 0x2c, Chip ID: 0x68
<kuba2k2> Micron MT29F32G08CBACA3W
<kuba2k2> 4096 MiB, MLC, erase size: 1024 KiB, page size: 4096, OOB size: 224
<kuba2k2> 4096 MiB
<kuba2k2> MMC: mmc@1c0f000: 0
<kuba2k2> Loading Environment from FAT... OK
<kuba2k2> so yeah, that's U-Boot
<kuba2k2> there's nothing else on the device
<jakllsch> oh, looks like it gets the string from the chip nand_onfi_params
<jakllsch> /* manufacturer information block */
<jakllsch> char manufacturer[12];
<jakllsch> char model[20];
<kuba2k2> ah, right. So the model is actually retrieved from the NAND itself at some point?
<jakllsch> yeah
<kuba2k2> huh, cool. Thanks, good to know!
<jakllsch> nand_flash_detect_onfi()
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-sunxi
cnxsoft has quit []
<jernej> kuba2k2, jakllsch: There is exact model number stored in chip, which can be retrieved by "Read parameter page" command.
<jernej> ah, you figured it out already
<kuba2k2> currently, I'm trying to figure out how does SPL detect the correct params for talking to the NAND.. like ECC
<kuba2k2> when I flash U-Boot through LiveSuit, SPL detects ecc_bytes as 32, which doesn't correspond to anything
<kuba2k2> when I flash U-boot from U-boot (as described in board/sunxi/README.nand) then it detects ecc_bytes=24, which looks more like it
<kuba2k2> in either case, reading the entire image just yields ECC errors and the image doesn't load and boot at all...
bauen1 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
paulk1 has quit [Ping timeout: 480 seconds]
paulk1 has joined #linux-sunxi
machinehum has quit [Remote host closed the connection]
machinehum has joined #linux-sunxi
machinehum1 has joined #linux-sunxi
machinehum has quit [Ping timeout: 480 seconds]
palmer has quit [Ping timeout: 480 seconds]
palmer has joined #linux-sunxi
gnarface has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
gnarface has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
kuba2k2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
gsz has joined #linux-sunxi
rajkosto has joined #linux-sunxi
baltazar has left #linux-sunxi [#linux-sunxi]
JohnDoe_71Rus has quit []
gsz has quit [Quit: leaving]
_whitelogger has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
cp- has joined #linux-sunxi
Net147 has joined #linux-sunxi