Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: harrisim0 on August 18, 2020, 10:17:11 PM

Title: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 18, 2020, 10:17:11 PM
Apple I pod Video

Built from Scratch with parts from Ali Express:

Logic board mainboard 32M 64M for iPod 5th 5.5th gen video 30 GB 60 GB 80 GB

Installed I flash - sata V10: https://www.iflash.xyz/store/iflash-sata-v10/

With a King spec m.2 1tb: 

https://www.aliexpress.com/item/32465074880.html?spm=a2g0o.productlist.0.0.32a11ff6nKNOKg&algo_pvid=23034866-6a89-4a7a-ab87-a2c49ba03d66&algo_expid=23034866-6a89-4a7a-ab87-a2c49ba03d66-4&btsid=0b0a187915978016344262528ef89f&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

So put this all together and before closing got the message to insert the usb cable to restore, result!

Did this and I tunes popped up, looks like you need to restore this device, connect it to iTunes.

Go through the steps and boom your iPod is now ready to use, brilliant!

It works on iTunes and shows the actual capacity of the 1tb m.2 card under the iPod section, fantastic!

The storage pops up like an external drive in windows too. Showing the ipod folders and in properties the storage ammount.

Using windwos 10. Files can be dragged and dropped to the storage and they copy and display fine within windows just not on the ipod itself.

I fire up rock box an install it on the iPod, waiting for all steps to complete and follow until it says completed.

I eject the iPod with rock box and it initiates booting in rock box on the iPod screen.

Only to have the rock box logo appear for a second and then disappear now displaying the following message:

No partition
Found
Insert usb cable
And fix it?

I'm going to apologise straight away if this has been answered I have looked and seen it mentioned online and in this forum but no definitive solution provider I have seen. (Most likely wrong! sorry in advance, hope it's a real simple fix:-X)

Please if anyone can help I'm absolutely gutted by this! It had all gone so smoothly, just to be beaten at the final hurdle!
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: speachy on August 19, 2020, 10:14:36 AM
Use a dev build instead of the 3.15 release.
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 19, 2020, 10:42:16 AM
Use a dev build instead of the 3.15 release.

Ok I will uninstall and re install with a dev build and report back.

Thank you
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: saratoga on August 19, 2020, 10:48:31 AM
Just copy the dev build over the release build. You don't need to uninstall.
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 19, 2020, 11:26:23 AM
Ok. I did any way before seeing your message and just to start fresh, however the same problem persists
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: saratoga on August 19, 2020, 12:06:11 PM
Does the iPod work correctly in the Apple firmware?
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 19, 2020, 12:56:26 PM
it seems to yes. As in displays the correct storage volume on pc and ipod. I pod controls an OS works
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: speachy on August 19, 2020, 10:54:30 PM
Rockbox does a bunch of validation of partitions before mounting things.  I'd be curious to see what the partition table looks like.  What did you use to partition and format it?

It's quite possible something special is needed to handle the m.2 adapter's timings, but there's a lot we don't know at this point.
Title: Re: RockBox No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 20, 2020, 07:53:51 AM
I just used i tunes and at very first attempt windows. at first I had to format the drive because it was new. then I tunes took over and did the necessary bits. partition table is linked above in a picture I just have one partiton on the drive

If there is any further information requiured let me know and ill do my best to explain and provide pictures.

appreciate all the help so far people!
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 21, 2020, 09:10:38 AM
Any ideas then community? Kinda Stuck her not knowing what the problem is and how to fix it! Feel like I've wasted some money here lol
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 30, 2020, 10:51:27 AM
The replies have dried up somewhat! Does anyone have any advice or help to get this working for me please?!
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: saratoga on August 30, 2020, 01:30:11 PM
You never provided information about your partition tables, just a screenshot showing one partition.

I'm not sure how to check partition tables on windows, but on Linux you would use the fdisk command. Maybe you can find a similar utilities for windows?
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: speachy on August 30, 2020, 01:38:45 PM
The replies have dried up somewhat! Does anyone have any advice or help to get this working for me please?!

My gut feeling is that there is something wonky with the partitioning, but as I said earlier, there's a lot we don't know and as such it's completely pointless to waste time making speculative code changes.

We need information.  Namely a dump of the partition table (ie 1st sector of the disk) and the first two sectors of the data partition (the _second_ partition on an iPod).  Additionally, the raw ATA IDENTITY info dump would be very useful.

All of this can easily be obtained under Linux, but I don't know how you'd go about doing that under Windows.

Without this information, no progress can be made.
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 31, 2020, 08:00:09 AM
Fair one guys. I thought I had provided what you required before, my apologies!

So I've linked the partition table again from disk management this time.

I'm sorry but I'm not familiar with this...... "raw ATA IDENTITY info dump" What exactly are you asking me to do? because if I can search for what you want I can attempt this.

Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: speachy on August 31, 2020, 08:32:53 AM
Unfortunately that screenshot tells us nothing we didn't already know -- ie Windows is happy to accept, and access, the partition when connected via the apple firmware.

Hence my request for a dump of the raw data on the disk.

Under linux, you'd do something like:  (assuming 'sdb' is the ipod)

sudo dd if=/dev/sdb of=/tmp/bootsector.bin bs=512 count=1'
sudo dd if=/dev/sdb2 of=/tmp/firstsectors.bin bs=512 count=2'
sudo hdparm -I /dev/sdb > /tmp/identity.txt
sudo hdparm -Iraw /dev/sdb > /tmp/identity.bin

and send us those four files (/tmp/bootsector.bin, /tmp/firstsectors.bin, /tmp/identity.txt, /tmp/identity.bin)

Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 31, 2020, 08:42:04 AM
Right ok Ill try and work out how to do this.

Thank you for your patience and help
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on August 31, 2020, 08:43:54 AM
Right ok sorry about that. I'll try and work out how to do that.

Thank you for your patience and help
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on September 09, 2020, 03:25:18 PM
Hi,

I've managed to get the files you requested, I've put them in a zip here: https://we.tl/t-322G2ubb0S

Thanks for any help you can offer!
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: speachy on September 20, 2020, 08:50:45 PM
I've managed to get the files you requested, I've put them in a zip here: https://we.tl/t-322G2ubb0S
Thanks for any help you can offer!

I finally had time to dig into this further; the sector dumps look sane so far -- This is one of those annoying ipods with 2K sectors -- but I'm waiting on another dump from a working ipod to see if some difference stands out.

You're using the mSATA iFlash adapter, which is based on different technology than the more common SD models -- and probably violate the ATA specs in new and not-so-exciting ways.   Unfortunately we're in a bit of a chicken-n-egg situation -- the ideal debugging path for this is to plug the iFlash adapter into an ZIF->IDE adapter so we can bypass the USB mass storage stuff that's mucking with things.
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on October 05, 2020, 08:45:03 AM
Ok I'll try and find an adapter do you have any recomendations of what exact one I'll need or where to get it from?

To be clear is it just so the ssd can connect without the i flash or is this adapter to connect the ssd within the i flash?

Apologies I didn't realise these things didn't just work out of the box and I'm not all clued up as much as I should be.

Appreciate the help and look forward to hearing more advice and solutions soon
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: speachy on October 05, 2020, 08:56:40 AM
Ok I'll try and find an adapter do you have any recomendations of what exact one I'll need or where to get it from?
To be clear is it just so the ssd can connect without the i flash or is this adapter to connect the ssd within the i flash?

What we're needing to debug is the actual iFlash adapter.  Unfortunately this is likely to be a bit of a rabbit hole, as the final setup will look something like this:

mSATA SSD :: iFlash :: ZIF-50-pin PATA :: 50->40-pin PATA :: Legacy PATA IDE port on a motherboard

We _might_ be able to get away with a PATA->SATA adapter at the end, but it is critically important that no USB adapter is used.

To be honest, if you don't already have most of these bits lying around it would be pretty hard to justify the expense, versus just buying an SD-based iFlash instead...

Apologies I didn't realise these things didn't just work out of the box and I'm not all clued up as much as I should be.

There's nothing to apologize for; it's not your fault for not knowing things in advance.  And, as you discovered, the mSATA adapter seems to work fine with the stock iPod firmware.
Title: Re: RockBOx No Partition Found Insert USB Cable HELP
Post by: harrisim0 on October 05, 2020, 09:02:12 AM
I think I'll order the bits as I have come this far and wanted a 1tb pod for lossless audio and to not use it with i tunes.

Bit dissapointed with I flash I messaged them and had no response about this at all?!

Just a big thank you for your help and patience with this.

Out of interest do you have any recomendations for where's best to obtain these components? I'm in the UK.

Thanks for the positivity too I don't feel so much of an idiot now lol!