2019-10-20
13:29
<
karlp >
what's naobsd up to these days?
13:27
<
libv >
H2 2011 and H1 2012 i was on actual android devices, and i counted myself lucky when naobsd threw some binaries together for the m701-r telechips tablet that was a horrible original ipad ripoff
2018-02-02
04:16
<
wens >
naobsd: the super famicom board seems to be different than the famicom?
2017-01-26
01:47
<
naobsd >
MoeIcenowy: I'm not sure these updates are useful for you, just FYI...
01:46
<
naobsd >
MoeIcenowy: I noticed esp8089 driver is based on old Rockchip SDK
01:44
<
naobsd >
MoeIcenowy: ping
2017-01-01
2016-12-19
14:46
<
MoeIcenowy >
naobsd reads out the value via fel
2016-12-01
01:53
<
wens >
naobsd: it says 'conductive adhesive', where can i get those? :p
01:07
<
naobsd >
I got permission to use that photo on wiki, I'll update page later
00:00
<
apritzel >
naobsd: nice one!
2016-11-30
2016-11-19
01:19
<
ssvb >
naobsd: you can read the DRAM clock speed from the relevant PLL config registers after the DRAM is initialized
2016-11-18
23:03
<
naobsd >
1.2G/600M should be ok for now ;)
23:00
<
naobsd >
for now I want to know which freq should be written on wiki...
23:00
<
naobsd >
probably stable freq need to be tested with some boards
23:00
<
naobsd >
is max 552MHz in this case?
22:57
<
naobsd >
about cpu/dram freq on NES classic,
2016-11-16
21:16
<
naobsd >
Famicom(JP) ver. doesn't have it :(
21:15
<
naobsd >
btw, I noticed NES (US) ver. should have LED... right?
21:15
<
naobsd >
I'll submit this version soon
14:09
<
naobsd >
mripard: thanks
14:05
<
mripard >
naobsd: ^
14:05
<
naobsd >
I'm trying to prepare initial patch for u-boot
14:04
<
naobsd >
if cdc ether and netconsole work, it's nice for NES classic ;)
14:03
<
mripard >
naobsd: it is, but it's slightly hackish
13:59
<
naobsd >
is cdc ethernet not supported on mainline u-boot (sunxi musb)?
2016-11-15
03:35
<
naobsd >
"./sunxi-fel read 0x42400000 0x82d0 boot1.header" didn't work
03:31
<
naobsd >
(RESET button method and send '2' method don't run boot1, DRAM is not initialized)
03:31
<
naobsd >
if you send 's' to UART, yes
03:30
<
naobsd >
I'll try later
03:30
<
naobsd >
ssvb: I never tried that method
03:29
<
ssvb >
naobsd: I mean, if you enter the FEL mode after turning the device off and waiting some tens of seconds, is the script.bin data there?
03:29
<
naobsd >
send 's' to UART -> run 'fastboot' -> FEL mode with DRAM data
03:28
<
ssvb >
naobsd: I see, and was it so that you read the leftover data in DRAM after resetting the device when running the stock firmware?
03:26
<
naobsd >
ssvb: update sunxi-tools... sunxi-fel read 0x43000000 0x10000 script.bin is fine
03:17
<
ssvb >
naobsd: so which steps were needed to extract the script.bin data?
03:07
<
naobsd >
MMC need to be disabled to boot properly...
02:57
<
naobsd >
power is lost, of course ;)
02:57
<
naobsd >
I pulled USB cable after running fel uboot
02:57
<
naobsd >
I was thinkig that use OTG as HOST
02:54
<
wens >
naobsd: given that sunxi u-boot is currently in limbo, i can't say for sure :|
02:52
<
wens >
naobsd: it's a mirror of the sunxi custodian repository
02:11
<
naobsd >
u-boot-sunxi mirror/next is for upstreaming, right?
02:04
<
naobsd >
sys_config/a33? or sys_config/r16?
01:59
<
naobsd >
I know what should be done, what I don't know well is about A33 ;)
01:59
<
naobsd >
yes of course
01:52
<
naobsd >
machine = "parrot" lol
01:51
<
naobsd >
is last E: ok?
01:51
<
naobsd >
fexc-bin: script.bin: version: 1.2 fexc-bin: script.bin: size: 131072 (78 sections), header value: 41936 E: fexc-bin: script.bin: empty entry in section: csi0
01:49
<
naobsd >
mmm it's updated a little...anyway thanks
01:48
<
naobsd >
works now :(
01:47
<
naobsd >
it should be new...
01:45
<
naobsd >
E: fexc-bin: Malformed data: version 41936.1.2.
01:41
<
naobsd >
but bin2fex didn't work...
01:41
<
naobsd >
yeah, many params are follow,
01:41
<
MoeIcenowy >
naobsd: I think it's a script.bin.
01:11
<
naobsd >
it might be better to build modified u-boot :(
01:09
<
naobsd >
00000000 4e 00 00 00 d0 a3 00 00 01 00 00 00 02 00 00 00 |N...............| 00000010 70 72 6f 64 75 63 74 00 00 00 00 00 00 00 00 00 |product.........|
01:08
<
naobsd >
0x43000000 doesn't have valid header :(
01:08
<
naobsd >
anyway, what I want to do is collection info
01:07
<
naobsd >
are regulator settings right?
01:07
<
naobsd >
compatible = "allwinner,parrot",
01:04
<
naobsd >
I know mainline spl works, how to build spl
00:53
<
naobsd >
where is common location for script.bin on A33 devices?
00:52
<
naobsd >
well, my current goal is adding very very initial support ;)
00:51
<
naobsd >
for u-boot I should get regulator info?
00:51
<
naobsd >
but u-boot/kernel is still stock, very restricted
00:50
<
naobsd >
for now, temporary (not soldered ;)
00:49
<
naobsd >
these values are same as parrot R16
00:48
<
naobsd >
enough?: CONFIG_DRAM_CLK=600 CONFIG_DRAM_ZQ=15291 CONFIG_ODT_EN=y
00:48
<
MoeIcenowy >
naobsd: U-Boot SPL uses only a few parameters
00:18
<
naobsd >
(looking info in NAND...)
00:11
<
naobsd >
is it enough for u-boot spl?
00:11
<
naobsd >
about NES classic, currently I cannot get info by thins way
2016-11-12
16:23
<
zerotri >
Naobsd: able to pull things from NAND but still no luck getting console in Linux
13:45
<
naobsd >
zerotri: I noticed you also saw things in NAND
00:42
<
naobsd >
well, more accurately, "analysis for mainline"
00:40
<
naobsd >
I heard it can be built, but I didn't try. my interest is mainline.
00:38
<
naobsd >
zerotri: are you asking binary, not source, right?
00:05
<
zerotri >
naobsd: did you have any luck getting the nintendo released uboot built or are you trying with mainline only?
2016-11-11
23:43
<
naobsd >
MoeIcenowy: could you tell me detail about it?
23:42
<
naobsd >
what's 'something' for A33/R16?
23:42
<
naobsd >
but I heard that it's not enough for A33/R16, something in firmware image or on shell on running device is required.
23:41
<
naobsd >
about NES classic, it should be able to get DRAM param and script.bin now(not yet tried),
14:05
<
naobsd >
well, 2 more R16 SID...useless?
13:15
<
naobsd >
so no need to ask 2 friends?
13:10
<
MoeIcenowy >
naobsd: we should not only rely on NES classic
13:06
<
naobsd >
MoeIcenowy: I'm asking 2 friends (they have NES classic)
13:03
<
naobsd >
btw is there any difference between A33 and R16?
13:03
<
naobsd >
MoeIcenowy: yes
12:57
<
naobsd >
MoeIcenowy: 0461872a:86583185:9ae7d847:6c118000
12:55
<
naobsd >
ah 'sid' command
12:54
<
naobsd >
sunxi-fel cannot be used for it?
12:50
<
MoeIcenowy >
naobsd: if you can provide one
12:50
<
naobsd >
is R16 SID needed?
12:03
<
naobsd >
I'll try, but I'm busy, anyone can do it too :)
11:49
<
naobsd >
I'll try rest too :)
11:48
<
naobsd >
yes I know, at least u-boot spl is working
11:48
<
MoeIcenowy >
naobsd: you can try to run mainline u-boot/linux on it
11:47
<
naobsd >
what I want to try is, mainline u-boot/linux, *BSD, etc. not dumping NAND
11:41
<
naobsd >
but I believe it's possible now
11:41
<
naobsd >
important part should be protected properly
11:40
<
naobsd >
majosa: I hope so
11:40
<
naobsd >
(except script.bin)
11:40
<
naobsd >
I will not do/put information such as dumping NAND, analyzing its contents, etc
11:39
<
MoeIcenowy >
naobsd: I think you shoudn't
11:39
<
naobsd >
should I remove wiki?
11:37
<
MoeIcenowy >
naobsd: I think a mainline kernel can now run with USB gadget as I/O device
11:36
<
naobsd >
all I want to try is, just run our own u-boot/linux/etc on it
11:35
<
naobsd >
I never do it
11:34
<
naobsd >
stock u-boot can read NAND of course, so now I worry about Nintendo
11:34
<
naobsd >
as I said, problem is solved by using stock u-boot
11:33
<
MoeIcenowy >
naobsd: as I say
11:24
<
naobsd >
DRAM should be able to read in this case
11:23
<
naobsd >
stop autoboot by 's', then run "fastboot" on u-boot, then fel can be used
11:23
<
naobsd >
ah, good news
11:17
<
naobsd >
let's try...
11:13
<
naobsd >
is A33 NAND driver available on mainline u-boot/linux?
11:13
<
naobsd >
probably I can ignore information in NAND (for a while)
11:12
<
naobsd >
I can read 0xff from 0x43000000
11:12
<
naobsd >
sunxi-fel spl u-boot-sunxi-mainline-sinlinx_sina33-20160902T174215-b615267/u-boot-sunxi-with-spl.bin
11:09
<
naobsd >
20160902 binary is enough new?
11:07
<
naobsd >
oops, u-boot-sunxi nightly latest for a33 is not built... (err)
11:01
<
naobsd >
DRAM access hangs both 'press & hold RESET' / 'send 2 to UART' method :(
11:00
<
naobsd >
ssvb: DRAM can be read w/o boot0/1(i.e. FEL mode just after BROM)?
10:58
<
naobsd >
what I expect is, boot1 does something, then read dram via fel
10:42
<
ssvb >
naobsd: just reading DRAM will not do anything good for you, unless something reads the FEX file into it
10:29
<
naobsd >
or felix does better?
10:29
<
naobsd >
should I try mainline u-boot with spl (for another a33 board)...?
10:26
<
naobsd >
send '1' to UART is not working (normal boot), I have no idea to init dram
10:25
<
naobsd >
wens: I don't know why :(
10:21
<
wens >
naobsd: then dram init is not working
09:52
<
naobsd >
only DRAM area cannot be accessed :(
09:51
<
naobsd >
I can read sram and some registers area, so fel is working properly
09:33
<
naobsd >
same result with '2' method :(
09:18
<
naobsd >
I have to try another method :( probably send '2' to UART is needed
09:17
<
naobsd >
this is what I got...
08:46
<
naobsd >
about sunxi-fel on A33, DRAM should work w/o any preparation?
08:42
<
naobsd >
I should check console if init dram is ok or fail...
08:41
<
naobsd >
write fes1.bin to 0x2000 then exe 0x2000, but read 0x43000000 is still failed :(
08:40
<
naobsd >
if I try "sunxi-fel read 0x43000000 0x1000 xxx" then device stop working (probably... no console access for now)
08:24
<
naobsd >
MoeIcenowy: could you tell me which part of image?
08:24
<
naobsd >
MoeIcenowy: you said using fel is not enough and image is required,
08:23
<
naobsd >
MoeIcenowy: about getting information from A33 device,
01:49
<
naobsd >
wiki need to be fixed ;)
01:48
<
naobsd >
I just noticed there is description about compatible controller on NES Classic official page...
00:29
<
MoeIcenowy >
naobsd: so thanks
00:29
<
naobsd >
hm... all I know should be dumped to wiki. the remaining is for everyone :)
00:08
<
naobsd >
MoeIcenowy: not yet for me. I just heard about it from other people. command is very limited (please refer u-boot source for detail)
00:07
<
MoeIcenowy >
naobsd: you can stop autoboot?!
2016-11-10
23:40
<
apritzel >
naobsd: thanks!
16:50
<
NiteHawk >
naobsd: very nice
16:49
<
MoeIcenowy >
naobsd: congrats
16:48
<
naobsd >
NES Classic UART pins are confirmed, GND TX RX (from left to right)
12:45
<
naobsd >
ah, then NES classic is
_the 1st_ w/SLC? ;)
12:43
<
bbrezillon >
naobsd: the good news is that it's an SLC NAND ;)
12:42
<
naobsd >
bbrezillon: thanks :)
12:41
<
bbrezillon >
naobsd: you should be able to flash a bootable SPL and uboot image in NAND
11:50
<
naobsd >
(and generally I don't have so much time for this... I just wanted to know about FEL/UART for now)
11:50
<
naobsd >
yeah I should it, but sorry, I had no time, no picture myself yet
11:47
<
naobsd >
I didn't read carefully, sorry
11:45
<
tkaiser >
naobsd: Also the Link to Olimex' github repo before was there for a reason, they have an A33 board with NAND and combine mainline u-boot with smelly 3.4 kernel
11:44
<
tkaiser >
naobsd: It should work since NextThing is doing exactly this on their CHIP
11:43
<
naobsd >
(reading wiki again...)
11:42
<
naobsd >
what I though is "using fel mode _everytime_" is not so handy...
11:42
<
naobsd >
well, if otg host mode is supported on u-boot, "support NAND _on u-boot_" might not be needed
11:36
<
tkaiser >
naobsd: bbrezillon should know?
11:32
<
naobsd >
is mainline u-boot can be flashed on NAND?
11:31
<
naobsd >
ah yes clovercon
11:29
<
naobsd >
so available interface should be: OTG HDMI(via bridge) UART and I2C
11:28
<
naobsd >
it seems controller interface is i2c. I don't know detail but someone said it should be same as Wii classic controller
11:26
<
naobsd >
btw I don't know any other game except "find FEL/UART!" yet :)
11:25
<
naobsd >
please check official info
11:25
<
naobsd >
OTG is exposed. near to HDMI. JP model and US?WW? model is different form, but USB/HDMI interface should be same
11:24
<
tkaiser >
naobsd: Is OTG exposed externally or do you have to open the box?
11:23
<
naobsd >
then I disassembled it for "find UART!" game. but I had no time to reassemble it, I couldn't bright it to home ;)
11:22
<
naobsd >
I had to play "find FEL!" game at work place :)
11:22
<
naobsd >
hehe. Nintendo Classic Mini was released today @JP, I bought it on the way of home -> work
10:59
<
wens >
apritzel: maybe naobsd works at nintendo? :p
10:53
<
apritzel >
naobsd: shouldn't it be the other way round (game console at home)? ;-)
10:48
<
naobsd >
I hope someone might try soon ;)
10:48
<
naobsd >
I cannot try it now (my NES classic is at work place... I'm at home now)
10:47
<
naobsd >
it's worth a try :)
10:45
<
MoeIcenowy >
naobsd: maybe
10:45
<
naobsd >
firmware.img for another A33 device might be enough to dump partition...?
10:38
<
naobsd >
is there any way to run or flash costomized
_Allwinner_ kernel via fel mode?
10:38
<
naobsd >
there is no network/external storage on NES classic. if update image will be available in future, it will be flashable image via OTG (just my guessing)
10:37
<
naobsd >
I guess shell is not running on console... I have to solder TX/RX pad (not yet for now)
10:36
<
naobsd >
shell under BSP? root shell on console?
10:36
<
MoeIcenowy >
naobsd: a Pheonix image or a interactive shell under BSP
10:35
<
naobsd >
what's required for A33?
10:34
<
MoeIcenowy >
naobsd: nope it's not enough.
10:34
<
wens >
naobsd: u-boot and boot0 blobs have a header section, where some parameters get written too
10:34
<
naobsd >
so fel mode is enough? :)
10:33
<
naobsd >
./sunxi-fel read 0x43000000 0x20000 script.bin
10:33
<
wens >
naobsd: afaik the fex file contains the customizations
10:32
<
MoeIcenowy >
naobsd: yes
10:32
<
naobsd >
well, I should read wiki at first ;)
10:30
<
naobsd >
I guess boot0 is common for all board with same SoC, right?
10:30
<
wens >
naobsd: nope, that's a separate thing, which they aren't bound to release
10:28
<
MoeIcenowy >
naobsd: nope, but A33 lichee have boot0 source
10:28
<
naobsd >
I'm not sure u-boot source includes boot0
10:27
<
wens >
naobsd: you need boot0, u-boot first
10:27
<
naobsd >
it may be possible that run modified Allwinner kernel(w/ NAND support) from fel?
10:26
<
naobsd >
currently I have no idea to get fex from running device
10:25
<
naobsd >
as I posted kernel has no output. I never tried UART RX yet, I'm not sure shell is running or not (I guess not) so
10:24
<
MoeIcenowy >
naobsd: where did you get it
10:24
<
naobsd >
wens: thanks
10:24
<
wens >
naobsd: the fex file is in a separate directory outside of u-boot/linux
10:23
<
naobsd >
there is kernel/u-boot source for NES Classic, but I cannot remember where fex should be stored...
10:22
<
naobsd >
I cannot remember detail... is allwinner u-boot uses fex(.bin)? or pin configuration should be described in u-boot source tree?
2015-10-17
09:17
<
BorgCuba >
I think I could ask naobsd from linux-rockchip if he joins on #linux-rockchip
2014-12-08
11:24
<
naobsd >
sorry, it might be a17
11:24
<
naobsd >
I saw matt does something
11:22
<
naobsd >
how about smp on a80?
11:21
<
naobsd >
a lot of commits in source-changes :)
11:19
<
naobsd >
btw there is #linux-rockchip for rockchip ;)
11:19
<
naobsd >
tokuda-san and I am very busy... no or very few progess :(
11:16
<
jmcneill >
hi naobsd
2014-11-10
23:44
<
naobsd >
I'm not sure it's xhci compatible, need to check linux code...
23:40
<
naobsd >
sounds good :)
23:38
<
naobsd >
who has a80 board? matt?
23:28
<
naobsd >
I should setup my Allwinner boards :)
23:27
<
naobsd >
jmcneill: which u-boot are you using? upstream? github/linux-sunxi?
23:26
<
naobsd >
jmcneill: I guess u-boot knows proper ram size...?
23:21
<
naobsd >
jmcneill: oh...
23:21
<
naobsd >
jmcneill: btw, board specific kernel config is not mandatory now by fex support? my understanding is bit old
23:20
<
naobsd >
jmcneill: sorry, I just asked whole NetBSD, not /evbarm or you :)
23:19
<
naobsd >
jmcneill: is there any plan to support device tree in NetBSD?
23:18
<
naobsd >
jmcneill: it seems some part is hardcoded or specified by kernel config
23:17
<
naobsd >
I'll try on my A20 Lime
23:12
<
naobsd >
really great
2014-11-08
23:32
<
naobsd >
there is "#ifdef CONFIG_MACH_SUN6I", A31 is sun6i
23:13
<
naobsd >
jmcneill: 2nd patch has "Major cleanups and some small bugfixes" "sun6i-hdmi-hack"
02:19
<
jmcneill >
naobsd: that uboot patch should be very helpful, thank you!
01:50
<
naobsd >
jmcneill: ah, you already wrote awin_hdmi.c, you should know these docs, sorry...
00:31
<
naobsd >
ah, I'm just chatting, don't be serious ;)