|
Post by jj0 on Dec 24, 2018 15:18:14 GMT
From (mostly) the source released by Retro LTD I've created a kernel+ramdisk that you can use to boot the C64Mini from via FEL mode. I've included: - An on-screen command shell that allows you to do all the command-line stuff from an USB keyboard. So opening up the Mini should not be necessary anymore.
- Support for a number of USB2Serial converters (CP210x, FTDI, Prolific 2302, CH431). You can insert an USB2Serial converter in one of the Mini's USB ports and connect the RX/TX/GND to either a second USB2Serial converter on a PC, or direclty to TTL-level serial port on e.g. a Raspberry PI, Cubieboard, etc etc.
- Support for a number of USB2Ethernet devices (ASIX AS88xxx and AX88179_178A, QF9700, SMSC LAN75XX and LAN95XX, DM9601, MCS7830). If you insert one of these in the Mini's USB port and connect it with your router (using an Ethernet cable) it will get an IP address. Supported services are SSH, SCP and/or ftp
- The UART is also still supported
- Running scripts from an inserted USB drive. If the USB drive has a directory 'scripts' each file in this directory will be run as if it were a Linux shell script. So you can do unattended copies etc. I've included two example scripts, one that backs up the nand firmware, and one that copies games from a 'copygames' folder to the Mini.
- root password is 'manicminerrules!'
The required files can be found in C64Mini-FEL-boot-v1.1.zip which was unfortunately just too large to upload directly to the forum. If you unzip the file to a directory on your PC you will have the following folders: - boot: This contains the required kernel, script.bin etc files
- USB: Example 'scripts' and 'copygames' to put on an USB stick
- linux: sunxi-fel tool for linux (x86_64) and boot.sh to upload the kernel etc to the Mini. If the tools don't work you might need to install them yourself (apt-get sunxi-tools) or compile them from source.
- windows: sunxi-fel tool + dll's for Windows (64-bit) and boot.sh to upload the kernel etc to the Mini. If the tools don't work then googling is your best friend, I don't know too much about compiling this on Windows.
To use this: Examine the USB directory and put the content in the root of an USB drive if you want to use scripts. Look at the scripts in the 'scripts-examples' directory and if you want to use them put them in the scripts folder of the USB drive. You can also leave this out, or do it later, or write your own scripts. Then you have to start your C64 Mini in FEL mode. Insert a (fully-functioning data-cable, so not just for power) USB cable in the Mini's micro-USB port. Before inserting the other side into your PC (or for ease of use, use an USB hub that let's you switch ports on and off) : - If you have an UART connected keep '2' pressed and insert the USB cable into your PC/switch the USB port on. But that kind of defeats the purpose, though it's still kind of useful
- If your Mini has a silver sticker on the underside, there should be a button 'hidden' underneath the silver sticker. It's accessible through a hole in the case right under the '00' in the 'RGL001'[ text, you need e.g. a paperclip to press it. Keep this pressed and then insert the USB cable into your PC/switch the USB port on
- If (as per deerwings post) your Mini doesn't have a silver sticker underneath then there's no pre-installed FEL-mode button so you will have to add one. However, assuming the port header is still there, you can connect the LED to that port as per spannernick
Once you've done either of these your PC should have a new USB device (1f3a:efe8, on my Ubuntu PC it's called an 'Onda (unverified) V972 tablet in flashing mode'). Next - If you're using Linux, cd to the linux folder and run ./boot.sh
- If you're using Windows 7 or 10 (64 bit) cd to the windows folder and run boot.cmd. You might need to install an USB driver. But if you have hackchi2 installed the USB driver might already be installed.
If all works well you will see that the kernel etc files are being uploaded:
USB device 001:040 Allwinner A20 xxxxxxxx:xxxxxxxx:xxxxxxx:xxxxxxxx Stack pointers: sp_irq=0x00002000, sp=0x00005E08 Reading the MMU translation table from 0x00020000 Disabling I-cache, MMU and branch prediction... done. => Executing the SPL... done. Setting write-combine mapping for DRAM. Setting cached mapping for BROM. Writing back the MMU translation table. Enabling I-cache, MMU and branch prediction... done. Writing image "U-Boot 2018.05-jj_0+ for sunxi b", 372007 bytes @ 0x4A000000. Passing boot info via sunxi SPL: script address = 0x43100000, uEnv length = 260 Starting U-Boot (0x4A000000).
Then you will see activity on screen (a.o. u-boot starting and booting the kernel) and after ~35 seconds you should end up with an on-screen command-line shell where you can type away at your leisure with an attached USB keyboard. If you have a supported USB2Serial device attached there will also be a command-line shell on that, and also on the UART. If you have a supported USB2Ethernet device attached you should see a 'c64mini' in your routers list of devices as well. The on-screen shell prompt should also show the IP address between brackets: root@c64mini (10.0.0.125):/# At this point (unless you've run some of the scripts) your Mini is just another small-board computer and nothing has touched the actual 'C6Mini' contents. However after you load the NAND driver (included from the C64Mini firmware version 1_2_0) you have access to the Mini's root filesystem and can modify it at will: root@c64mini (10.0.0.125):/#insmod -f /opt/nand.ko root@c64mini (10.0.0.125):/#mount /dev/nandb /mnt
Retro Games LTD uses various different NAND chips and seems that updates to the associated nand.ko driver lead to different nand.ko versions in 'same version' firmwares. At the time of writing they haven't provided the full source of the nand driver so it could be that the included nand driver doesn't support the NAND chip in your Mini. In that case please report back the output of loading the NAND driver, and hopefully someone with an UART connected and same firmware can provide an updated /lib/modules/3.4.39/nand.ko. Please note that I'm not responsible for ANYTHING you do with your C64Mini, everything you do is at your own risk. I recommend that you first of all make a backup of the nand before doing anything else. Let me know if/how it works for you
|
|
|
Post by gurce on Dec 24, 2018 17:30:52 GMT
Holy moly, impressive effort there man :-)
|
|
|
Post by skullface on Dec 24, 2018 17:51:54 GMT
thanks man, you've made my day
|
|
|
Post by deerwings on Dec 25, 2018 0:26:22 GMT
This will, however, only work if you have a Silver Label Mini with the switch intact. For those of us with the non silver-label Minis, you will need to either attach a button to the appropriate port on the board or solder one in yourself, which still requires opening it up. If your Mini has only the molded bottom and not actually a silver label, you likely have one of the ones where the switch was removed but the port where it goes is still soldered intact and just need a switch with a header.
|
|
|
Post by jj0 on Dec 26, 2018 7:27:57 GMT
This will, however, only work if you have a Silver Label Mini with the switch intact. For those of us with the non silver-label Minis, you will need to either attach a button to the appropriate port on the board or solder one in yourself, which still requires opening it up. If your Mini has only the molded bottom and not actually a silver label, you likely have one of the ones where the switch was removed but the port where it goes is still soldered intact and just need a switch with a header. Hmmm... Pity they removed it. I've added this to the first post.
|
|
|
Post by spannernick on Dec 26, 2018 12:27:43 GMT
You can easily make the button its just 2 wires connected to a tactile button,the 2 wires need to be connected to a small 2 pin connector, you could move it and have it at the back of the mini so it's easier to press.I will do that with mine. just looked and i can't find my switch,but there are 2 solder points behind the connector on the board thats connecting the 2 pins in the connector, all I need to do is use a flat screwdriver across them when powering on the C64 Mini and it should work. If you have 2 minis and one is silver labeled you can use the button from it on the other Mini.. and just plug it into the connector on the side of the board.I have to dig mine out cos I removed mine from my silver version. Thanks,this is what I wanted for my other mini that has no uart.. I do have a network to usb stick so I hope it works with it so I can get network and copy files to the mini that way..
|
|
|
Post by jj0 on Dec 26, 2018 13:11:19 GMT
Thanks,this is what I wanted for my other mini that has no uart.. I do have a network to usb stick so I hope it works with it so I can get network and copy files to the mini that way.. Cool, let me know if it works. If not, do an 'lsusb' and post the USB vendor and device id's and description, maybe I can add it.
|
|
|
Post by spannernick on Dec 26, 2018 13:51:55 GMT
This is what it says when its plugged into the PC.. USB\VID_0FE6&PID_9700\6&2953C98D&0&3 USB 2.0 10/100M Ethernet Adaptor I know it don't work at the moment if I plug it into TheC64 Mini but it wouldn't it has no driver for it.
|
|
|
Post by jj0 on Dec 26, 2018 19:34:27 GMT
This is what it says when its plugged into the PC.. USB\VID_0FE6&PID_9700\6&2953C98D&0&3 USB 2.0 10/100M Ethernet Adaptor I know it don't work at the moment if I plug it into TheC64 Mini but it wouldn't it has no driver for it. That should be a QF9700 and the driver is included.
|
|
|
Post by spannernick on Dec 27, 2018 0:19:47 GMT
I install it tomorrow and let you know how it goes.. Thanks for making it..
|
|
|
Post by johno75 on Dec 27, 2018 6:17:52 GMT
I’ve got the silver sticker on the bottom of my mini but when I remove it I can’t seem to see a button??? Can you post a pic of what I should be looking at please? This is what I’ve got.
|
|
|
Post by jj0 on Dec 27, 2018 8:44:44 GMT
I’ve got the silver sticker on the bottom of my mini but when I remove it I can’t seem to see a button??? Can you post a pic of what I should be looking at please? Well, maybe my description wasn't very good. The button is accessible through the small hole. So you need a small pin e.g. a paperclip to press it. I'll amend the start post.
|
|
|
Post by spannernick on Dec 28, 2018 19:07:41 GMT
It works on windows 10... do I have to do this every time to bring it up...? If you put a screwdriver on the pins at the back of the FEL connector it works,I like the music.. Had to install the FEL driver it came up as unknown. Oh and the red light stays off when in FEL Mode.
|
|
|
Post by jj0 on Dec 28, 2018 20:49:12 GMT
It works on windows 10... do I have to do this every time to bring it up...? If you put a screwdriver on the pins at the back of the FEL connector it works, I like the music.. Had to install the FEL driver it came up as unknown. Thanks for reporting back. đź‘Ť Yes you have to do this every time that you want to change something, but the changes you make on the 'real' root filesystem that you mount from the nand will of course stick.
|
|
|
Post by spannernick on Dec 28, 2018 21:13:21 GMT
Looks like my Network USB stick is working,its flashing and at the rooter to,was not doing thats before,so it looks like it communicating.. on my router device page it says.. Using Filezilla I am connected by FTP not SFTP so can see root.. So can access the games folder to copy games over or remove them. Cool Man.. This is the best way of copying games over to TheC64 Mini and better than uart and you only need a Micro USB cable for your phone for it to work and connect it to your PC so I am gonna make this a sticky now.. Thanks brillant. You could call this C64Mini-FELSYNC like BleemSync on PSX Classic ... I was wondering.. can you get it to auto mount nandb to mnt so I can just connect straight to the network and FTP from my PC and then browse to the games folder in Filezilla..?
|
|
|
Post by spannernick on Dec 28, 2018 22:41:46 GMT
Just found out something.. if you don't have a button for FEL,open TheC64 MIni and unplug the red Light and plug it into the FEL connector and then plug Micro usb in and bingo you are in FEL Mode.. it has the same header pins.
|
|
|
Post by spannernick on Dec 28, 2018 23:42:08 GMT
I copied 2 games to the games folder via ftp and they are not showing up but I do have 84 + 65 = 149 games in there.. is that why,I copied all the right files but no show so in there is 151 games now but only 149 are showing in the Carousel..?
|
|
|
Post by johno75 on Dec 29, 2018 3:41:41 GMT
I think I got it to work (apart from copying games over to it) but how do you figure out what the IP address is so I can use FileZilla? I can’t see anything that would look similar. I’m using windows 10.
I get to the starting u-boot (0x4A000000) but it just then does to a normal command prompt and doesn’t say root@c64 mini etc
|
|
|
Post by jj0 on Dec 29, 2018 7:57:05 GMT
I think I got it to work (apart from copying games over to it) but how do you figure out what the IP address is so I can use FileZilla? I can’t see anything that would look similar. I’m using windows 10. I get to the starting u-boot (0x4A000000) but it just then does to a normal command prompt and doesn’t say root@c64 mini etc If you get it to the '0x4A000000' message it means that it should work OK. The command prompt should appear on the TV screen you connect the Mini to, not in the one on the PC where you type the 'boot.cmd'/'boot.sh' command. And also if you have it connected on the USB2Serial connection. Also, to get an IP address you have to have an USB ethernet adapter connected to the Mini.
|
|
|
Post by jj0 on Dec 29, 2018 15:09:29 GMT
I was wondering.. can you get it to auto mount nandb to mnt so I can just connect straight to the network and FTP from my PC and then browse to the games folder in Filezilla..? Yes you can get it to automount nandb but I left it out on purpose because I want people to do it consiously. However it is very easy to add if you use the scripts option on a USB drive. You need to create a 'scripts' folder on the USB drive and then create a linux-type text file (so only line-feeds at the end of a line, no carriage returns), e.g. 'S01mount-nandb'. Then edit it to contain: . script_helper
echo "${clr_grn}Script $0"
echo "${clr_grn}Loading NAND driver" insmod -f /opt/nand.ko if [ -b /dev/nandb ] then echo "${clr_grn}Mounting C64 Mini rootfs /dev/nandb on /mnt" mkdir /mnt mount /dev/nandb /mnt if [ $? -eq 0 ] then echo "${clr_grn}Mount /dev/nandb to /mnt OK" else echo "${clr_red}Mounting failed (error $?)" fi else echo "${clr_red}/dev/nandb not found (error $?)" fi
If you then boot with the FEL method and the USB stick inserted it will run this script and mount /dev/nandb to /mnt. Just found out something.. if you don't have a button for FEL,open TheC64 MIni and unplug the red Light and plug it into the FEL connector and then plug Micro usb in and bingo you are in FEL Mode.. it has the same header pins. Cool man, using the LED plug for this is genius! I copied 2 games to the games folder via ftp and they are not showing up but I do have 84 + 65 = 149 games in there.. is that why,I copied all the right files but no show so in there is 151 games now but only 149 are showing in the Carousel..? Not sure. You could check if the 'the64' program shows any error messages, kill it first with 'killall the64' (I do this twice) and then from the command prompt run 'the64' manually.
|
|
|
Post by spannernick on Dec 29, 2018 18:52:40 GMT
OK thanks,the games I copied are from the USA C64Mini,Jumpman 2(Junior) and West Bank,so maybe thats why but I will check with my uart,it will be interesting doing this with TheC64 Mini without a uart... only tested it on my new one and working fine, will post some pictures so you can put them in your post soon if you like. I checked it by killing the64 and there is no errors,its like there don't exist,I copied them in the mnt folder where the nandb is mounted under games/covers,games/screens,games/games,all 3 folders in games. very weird,will have to look into this. Is there a way of installing my Network stick on the main firmware..? oh found out something else,the USBs are 1.0 cos I have a cheap 4 port Hub 1.0 that I got from Poundland about 5 or 6 years ago and it works fine,it cost ÂŁ1.. Looked online and can't find a picture of it,its to old.
|
|
|
Post by jj0 on Dec 29, 2018 19:28:20 GMT
OK thanks,the games I copied are from the USA C64Mini,Jumpman 2(Junior) and West Bank,so maybe thats why but I will check with my uart,it will be interesting doing this with TheC64 Mini without a uart... only tested it on my new one and working fine, will post some pictures so you can put them in your post soon if you like. I checked it by killing the64 and there is no errors,its like there don't exist,I copied them in the mnt folder where the nandb is mounted under games/covers,games/screens,games/games,all 3 folders in games. very weird,will have to look into this. Is there a way of installing my Network stick on the main firmware..? oh found out something else,the USBs are 1.0 cos I have a cheap 4 port Hub 1.0 that I got from Poundland about 5 or 6 years ago and it works fine,it cost ÂŁ1.. Weird, maybe the nandb wasn't mounted correctly? On using the USB network adapter from the default firmware, I'm looking into it already. No promises though
|
|
|
Post by spannernick on Dec 29, 2018 19:36:41 GMT
Here is the files and folders from putty and you can see it copied Jumpman Junior and West Bank... Don't know why some are green... Jumpman Junior and West Bank are... you can't see it here..
# cd usr/share/the64/games # ls ALLEYKAT.tsg MANIACMANSION.tsg ANARCHY.tsg MEGA-APOCALYPSE.tsg ANTIRIAD.tsg MICROSOCCER.tsg ARKANOID.tsg MISSION-AD.tsg ARMALYTE-COMP-ED.tsg MONTEZUMA.tsg AVENGER.tsg MONTY-MOLE.tsg AZTECCHALLENGE.tsg MONTY-ON-THE-RUN.tsg BANGKOKK.tsg MORPHEUS.tsg BARBARIAN.tsg MUTANTS.tsg BARBARIAN2.tsg NEBULUS.tsg BASIC.tsg NETHERWORLD.tsg BATTLE-VALLEY.tsg NOBBY-THE-AARDVARK.tsg BCS.tsg NODES-OF-YESOD.tsg BEYONDFF.tsg ONEONONE.tsg BOMBJACK.tsg PARADROID.tsg BOULDER-DASH-2017.tsg PARKPATROL.tsg BOUNCES.tsg PITFALL.tsg BOUNDER.tsg PITFALL2.tsg BRUCELEE.tsg PITSTOP-II.tsg BUBBLEBOBBLE.tsg PLATOON.tsg BUGGYBOY.tsg POPEYE.tsg CAULDRON.tsg PRFIRESTART.tsg CAULDRON2.tsg PRINCEPERSIA.tsg CHIPS-CHALLENGE.tsg PSYCHOPIGS.tsg CHWRESTLING.tsg RAINBOWISL.tsg COMBATSCHOOL.tsg RAMBO.tsg COMICBAKERY.tsg RANARAMA.tsg COMMANDO.tsg REBOUNDER.tsg CONFUZION.tsg RICKDANGER.tsg COSMIC-CAUSEWAY.tsg RIVERRAID.tsg CREATURES.tsg ROBIN-OF-THE-WOOD.tsg CYBERDYNE-WARRIOR.tsg RTYPE.tsg CYBERNOID-2017.tsg RUBICON.tsg CYBERNOID-II-2017.tsg SALAMANDER.tsg DEFENDERCROWN.tsg SANXION.tsg DEFLEKTOR.tsg SHADOWFIRE.tsg DELTA.tsg SKATE-CRAZY.tsg DRAGONSLAIR.tsg SKOOL-DAZE.tsg DRAGONSLAIR2.tsg SNARE.tsg DROPZONE.tsg SPEEDBALL-2.tsg ENIGMAFORCE.tsg SPEEDBALL.tsg ENTOMBED.tsg SPINDIZZY.tsg EPYX-GAMES-ntsc-rgl-jp2-1.tsg SPYVSSPY.tsg EPYX-GAMES-ntsc-rgl-jp2-2.tsg SPYVSSPY2.tsg EPYX-GAMES-ntsc-rgl-jp2-3.tsg SPYVSSPY3.tsg EPYX-GAMES-ntsc-rgl-jp2-4.tsg STAFFKARNATH.tsg EVERYONES-A-WALLY-2017.tsg STAR-PAWS.tsg FAIRLIGHT.tsg STEEL.tsg FF.tsg STREET-SPORTS-BASEBALL.tsg FIRELORD.tsg SUPER-CYCLE.tsg FRANKIE.tsg SUPERPIPELINE.tsg GALENCIA-MINI.tsg TEMPLE-OF-APSHAI-TRILOGY.tsg GHOSTBUSTERS.tsg TETRIS.tsg GHOSTSNGOBLINS.tsg THE-ARC-OF-YESOD.tsg GIANASISTERS.tsg THEC64-HALL-OF-FAME.tsg GREENBERET.tsg THELASTNINJA.tsg GRIBBLYS-DAY-OUT.tsg THELASTNINJA2.tsg GROG.tsg THELASTNINJA3.tsg GYRUSS.tsg THESENTINEL.tsg HAWKEYE.tsg THING-BOUNCES-BACK.tsg HEADOVERHEELS.tsg THING-ON-A-SPRING.tsg HEARTLAND.tsg TRACKFIELD.tsg HERO.tsg TRAILBLAZER.tsg HEROBOTIX.tsg TURRICAN.tsg HIGHWAY-ENCOUNTER.tsg TURRICAN2.tsg HUNTERS-MOON.tsg UCHI-MATA-2017.tsg HYPERSPORTS84.tsg URIDIUM.tsg HYSTERIA.tsg WAYEXPLODING.tsg IK+.tsg WEST-BANK.tsg IMPOSSIBLE-MISSION-II.tsg WHO-DARES-WINS-II.tsg IMPOSSIBLE-MISSION.tsg WIZBALL.tsg IO.tsg YIEARKUNGFU.tsg JUMPMAN-JUNIOR.tsg ZAKMCKRAKEN.tsg JUMPMAN.tsg ZORRO.tsg KARATEKA.tsg ZYNAPS.tsg KATAKIS.tsg covers KUNGFUMASTER.tsg games LODERUNNER.tsg screens
|
|
|
Post by jj0 on Dec 29, 2018 20:05:28 GMT
Here is the files and folders from putty and you can see it copied Jumpman Junior and West Bank... Don't know why some are green... Jumpman Junior and West Bank are... you can't see it here.. Try 'ls - lisa', maybe the file rights aren't correct?
|
|
|
Post by FaberfoX on Dec 29, 2018 22:33:31 GMT
This is great news and I'm going to try it right away. I have a US release, so no button but the header is there, I just have to figure out a way to route it as I was hoping not to make any physical modifications to the box.
Thanks!
|
|
|
Post by spannernick on Dec 29, 2018 23:41:33 GMT
Here is the files and folders from putty and you can see it copied Jumpman Junior and West Bank... Don't know why some are green... Jumpman Junior and West Bank are... you can't see it here.. Try 'ls - lisa', maybe the file rights aren't correct? I think its to do with how many games there are in there,I think you can only have 149 games,I copied over by uart this time your test game GALAXY as a test to make sure it was not FEL MODE and its not showing it too so the limit is 149 games that can be shown on the Carousel,if I remove 3 games then they should appear. OH got this when trying ls - lisa..
|
|
|
Post by spannernick on Dec 29, 2018 23:46:14 GMT
This is great news and I'm going to try it right away. I have a US release, so no button but the header is there, I just have to figure out a way to route it as I was hoping not to make any physical modifications to the box. Thanks! Open TheC64 Mini and use the red LED and connect it to the FEL connector and then connect the USB from PC and it will be in FEL Mode then click on boot.cmd if on Windows 10 or run boot.sh on Linux .. jjo maybe add this to first post so it helps the ones that don't have a FEL switch.
|
|
|
Post by FaberfoX on Dec 30, 2018 1:02:57 GMT
jj0 , this is beautiful, worked at first try, getting a linux prompt with the C64 font and colors is awesome Now, I'm not seeing /dev/nand*, it's not present after the insmod, pertinent lines from dmesg below: [ 347.147154] [NAND][NAND]nand init start, nand_used_flag is 1 [ 347.153527] [NAND]nand_cache_level err! 0[NAND]nand_capacity_level err! 0[NAND]nand init start [ 347.165204] NandHwInit(): nand driver physical layer version: 2, 28, 20171228, 10:57 [ 347.174490] NandHwInit(): Start Nand Hardware initializing ..... [ 347.181854] [NAND]channel cnt is 1 [ 347.187870] [NAND] nand driver version(A20): 0x2, 0x28 0x20171228 1342 [ 347.195748] [NAND] nand clk request start [ 347.200508] [NAND] nand clk request ok! [ 347.205352] [NAND DMA] request dma success [ 347.211638] [NAND DMA] set fulldone_cb success [ 347.217239] NFC Randomizer start. [ 347.221158] [PHY_DBG] CH 0 Nand flash chip id is:0x9b 0xf1 0x0 0x1d 0x9b 0xf1 [ 347.229668] nand id of two channel is not the same, set to 1 channel mode [ 347.239663] [SCAN_DBG] Nand flash chip id is:0x9b 0xf1 0x0 0x1d 0x9b 0xf1 [ 347.247793] [SCAN_ERR] search nand physical architecture parameter failed! [ 347.255902] [ERR]NandHwInit(): SCN_AnalyzeNandSystem() failed! [ 347.264110] NandHwInit(): End Nand Hardware initializing ..... FAIL! Keep in mind this is a US version and let me know if you want me to try something else. Edit: Btw, I plugged an over 10 years old Linksys USB to Ethernet adapter and it works.
|
|
|
Post by jj0 on Dec 30, 2018 5:46:17 GMT
OH got this when trying ls - lisa.. Oops. 'ls -lisa'. No space after the dash.
|
|
|
Post by jj0 on Dec 30, 2018 6:47:41 GMT
jj0 , this is beautiful, worked at first try, getting a linux prompt with the C64 font and colors is awesome Now, I'm not seeing /dev/nand*, it's not present after the insmod, pertinent lines from dmesg below: [ 347.147154] [NAND][NAND]nand init start, nand_used_flag is 1 [ 347.187870] [NAND] nand driver version(A20): 0x2, 0x28 0x20171228 1342 [ 347.221158] [PHY_DBG] CH 0 Nand flash chip id is:0x9b 0xf1 0x0 0x1d 0x9b 0xf1 [ 347.239663] [SCAN_DBG] Nand flash chip id is:0x9b 0xf1 0x0 0x1d 0x9b 0xf1 [ 347.247793] [SCAN_ERR] search nand physical architecture parameter failed! [ 347.255902] [ERR]NandHwInit(): SCN_AnalyzeNandSystem() failed! [ 347.264110] NandHwInit(): End Nand Hardware initializing ..... FAIL! Keep in mind this is a US version and let me know if you want me to try something else. Edit: Btw, I plugged an over 10 years old Linksys USB to Ethernet adapter and it works. Thanks for reporting back. It looks like the nand in your Mini isn't supported by the nand driver from 'my' European fw_1_2_0 nand.ko. At least I can't find the nand ID (0x9b 0xf1 0x0 0x1d 0x9b 0xf1) in the nand.ko. I guess it's an ATO AFND1G08U3. It could be yours is a newer version or there's a difference between PAL and non-PAL versions. Can you show: - Your firmware version and build date, mine are theC64-1.2.0-argent from 19-12-2018 20:22:40.
- A picture of your NAND chip, or just provide the text that's on the chip?
- If you happen to also have an UART connected a copy of all NAND-related boot or 'dmesg' output. Or the entire text.
I'ts a bit of a catch-22, to make this 'no UART required' work with this NAND chip I'd need a copy of the /lib/modules/3.4.39/nand.ko driver if the one I have doesn't support the nand chip. And currently the only way to get it is for someone to attach a UART (rubberbanding, not necessarily soldering), do the 'boot to RAMFS trick' and copy the nand driver and post it/send it to me to add. Of course once you have the nand driver you can use it yourself straight away from a USB drive.
|
|