Rockbox Development > New Ports

Sansa Fuze+

<< < (19/162) > >>

danger355:

--- Quote from: pamaury on July 11, 2011, 06:00:40 AM ---Hello,
the normal steps to build sbtoelf is to have an up to date svn checkout and to type make in utils/sbtools. You error definitely indicate something wrong; are you sure you have the sbtoelf.c ?
Then you should follow the steps in the wiki SansaFuzePlusPort page, everything is written. The directory in which is happen is not important, a fresh one will do.

--- End quote ---

Hi pamaury,

yes, i definitely have sbtoelf.c in the /sbtools folder. i followed the steps in the wiki, but it's still very possible i did something incorrect, so i'll try starting from scratch soon and see if that changes anything

metaphys:
@danger355
Starting from scratch can you give the exact sequence of command you type?

@Pamaury
ok I suppose I've build the stuff correctly and transfert it to the device:

--- Code: ---root@debian:/home/jean-louis/Informatique/Rockboxfuse+/rockbox/build# ../utils/imx_hid_recovery/imx_hid_recovery 1024 bootloader.sb
Transfer size: 1024
ret 0
root@debian:/home/jean-louis/Informatique/Rockboxfuse+/rockbox/build#
--- End code ---

But nothing hapen... Screen stay black nothing responding. Same after uplugging it. It stayed not responding for awhile and finally after several attempt repluging it bring the OF control back
for info here the dmesg sequence:

--- Code: ---[  885.657178] usb 1-2: new high speed USB device using ehci_hcd and address 11
[  885.772049] usb 1-2: New USB device found, idVendor=066f, idProduct=3780
[  885.772058] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  885.772065] usb 1-2: Product: ROM Recovery
[  885.772069] usb 1-2: Manufacturer: Sigmatel, Inc.
[  885.773332] generic-usb: probe of 0003:066F:3780.0004 failed with error -22
[ 1151.536349] usb 1-2: USB disconnect, address 11
[ 1184.911095] usb 1-2: new high speed USB device using ehci_hcd and address 12
[ 1190.021141] usb 1-2: device descriptor read/64, error -71
[ 1195.232065] usb 1-2: device descriptor read/64, error -71
[ 1195.435091] usb 1-2: new high speed USB device using ehci_hcd and address 13
[ 1200.545136] usb 1-2: device descriptor read/64, error -71
[ 1205.756061] usb 1-2: device descriptor read/64, error -71
[ 1205.959102] usb 1-2: new high speed USB device using ehci_hcd and address 14
[ 1209.184143] usb 1-2: device not accepting address 14, error -71
[ 1209.235413] hub 1-0:1.0: unable to enumerate USB device on port 2
[ 1215.166156] usb 1-2: new high speed USB device using ehci_hcd and address 16
[ 1220.276168] usb 1-2: device descriptor read/64, error -71
[ 1225.487141] usb 1-2: device descriptor read/64, error -71
[ 1225.690165] usb 1-2: new high speed USB device using ehci_hcd and address 17
[ 1230.800052] usb 1-2: device descriptor read/64, error -71
[ 1233.338240] hub 1-0:1.0: unable to enumerate USB device on port 2
[ 1239.412152] usb 1-2: new high speed USB device using ehci_hcd and address 18
[ 1244.522150] usb 1-2: device descriptor read/64, error -71
[ 1249.733077] usb 1-2: device descriptor read/64, error -71
[ 1249.936105] usb 1-2: new high speed USB device using ehci_hcd and address 19
[ 1250.744340] hub 1-0:1.0: unable to enumerate USB device on port 2
[ 1261.633078] usb 1-2: new high speed USB device using ehci_hcd and address 20
[ 1266.743069] usb 1-2: device descriptor read/64, error -71
[ 1271.954073] usb 1-2: device descriptor read/64, error -71
[ 1272.157078] usb 1-2: new high speed USB device using ehci_hcd and address 21
[ 1277.267168] usb 1-2: device descriptor read/64, error -71
[ 1282.478151] usb 1-2: device descriptor read/64, error -71
[ 1282.681140] usb 1-2: new high speed USB device using ehci_hcd and address 22
[ 1286.033143] usb 1-2: device not accepting address 22, error -71
[ 1286.084330] hub 1-0:1.0: unable to enumerate USB device on port 2
[ 1290.087183] usb 1-2: new high speed USB device using ehci_hcd and address 24
[ 1295.197139] usb 1-2: device descriptor read/64, error -71
[ 1300.408075] usb 1-2: device descriptor read/64, error -71
[ 1300.611121] usb 1-2: new high speed USB device using ehci_hcd and address 25
[ 1305.721057] usb 1-2: device descriptor read/64, error -71
[ 1310.932142] usb 1-2: device descriptor read/64, error -71
[ 1311.135048] usb 1-2: new high speed USB device using ehci_hcd and address 26
[ 1316.541049] usb 1-2: device not accepting address 26, error -71
[ 1316.643103] usb 1-2: new high speed USB device using ehci_hcd and address 27
[ 1322.049060] usb 1-2: device not accepting address 27, error -71
[ 1322.049097] hub 1-0:1.0: unable to enumerate USB device on port 2
[ 1323.576058] usb 1-5: new high speed USB device using ehci_hcd and address 28
[ 1328.686082] usb 1-5: device descriptor read/64, error -71
[ 1333.897118] usb 1-5: device descriptor read/64, error -71
[ 1334.100098] usb 1-5: new high speed USB device using ehci_hcd and address 29
[ 1339.210124] usb 1-5: device descriptor read/64, error -71
[ 1343.022333] hub 1-0:1.0: unable to enumerate USB device on port 5
[ 1345.970065] usb 1-5: new high speed USB device using ehci_hcd and address 30
[ 1351.080122] usb 1-5: device descriptor read/64, error -71
[ 1356.291129] usb 1-5: device descriptor read/64, error -71
[ 1356.494118] usb 1-5: new high speed USB device using ehci_hcd and address 31
[ 1361.604119] usb 1-5: device descriptor read/64, error -71
[ 1366.815142] usb 1-5: device descriptor read/64, error -71
[ 1367.018124] usb 1-5: new high speed USB device using ehci_hcd and address 32
[ 1372.424057] usb 1-5: device not accepting address 32, error -71
[ 1372.526073] usb 1-5: new high speed USB device using ehci_hcd and address 33
[ 1377.932139] usb 1-5: device not accepting address 33, error -71
[ 1377.932177] hub 1-0:1.0: unable to enumerate USB device on port 5
[ 1378.174179] usb 4-1: new full speed USB device using uhci_hcd and address 2
[ 1383.286094] usb 4-1: device descriptor read/64, error -71
[ 1388.498142] usb 4-1: device descriptor read/64, error -71
[ 1388.701175] usb 4-1: new full speed USB device using uhci_hcd and address 3
[ 1393.812150] usb 4-1: device descriptor read/64, error -71
[ 1399.023136] usb 4-1: device descriptor read/64, error -71
[ 1399.226156] usb 4-1: new full speed USB device using uhci_hcd and address 4
[ 1404.632075] usb 4-1: device not accepting address 4, error -71
[ 1404.734138] usb 4-1: new full speed USB device using uhci_hcd and address 5
[ 1410.140052] usb 4-1: device not accepting address 5, error -71
[ 1410.140095] hub 4-0:1.0: unable to enumerate USB device on port 1
[ 1482.158176] usb 1-5: new high speed USB device using ehci_hcd and address 34
[ 1482.273176] usb 1-5: New USB device found, idVendor=0781, idProduct=74e0
[ 1482.273184] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 1482.273191] usb 1-5: Product: Sansa Fuze+
[ 1482.273196] usb 1-5: Manufacturer: SanDisk
[ 1482.273200] usb 1-5: SerialNumber: 0000000100001C150002DCDF27F55C15
[ 1482.274204] scsi8 : usb-storage 1-5:1.0
[ 1483.274939] scsi 8:0:0:0: Direct-Access     SanDisk  Sansa Fuze+      0100 PQ: 0 ANSI: 4
[ 1483.275556] scsi 8:0:0:1: Direct-Access     SanDisk  Sansa Fuze+      0100 PQ: 0 ANSI: 4
[ 1483.279931] sd 8:0:0:0: [sdb] 7748864 2048-byte logical blocks: (15.8 GB/14.7 GiB)
[ 1483.280521] sd 8:0:0:0: [sdb] Write Protect is off
[ 1483.280529] sd 8:0:0:0: [sdb] Mode Sense: 3e 00 00 00
[ 1483.285855] sd 8:0:0:0: [sdb] Incomplete mode parameter data
[ 1483.285861] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 1483.288148] sd 8:0:0:1: [sdc] Attached SCSI removable disk
[ 1483.292763] sd 8:0:0:0: [sdb] 7748864 2048-byte logical blocks: (15.8 GB/14.7 GiB)
[ 1483.294408] sd 8:0:0:0: [sdb] Incomplete mode parameter data
[ 1483.294413] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 1483.295711]  sdb: sdb1
[ 1483.298043] sd 8:0:0:0: [sdb] 7748864 2048-byte logical blocks: (15.8 GB/14.7 GiB)
[ 1483.299414] sd 8:0:0:0: [sdb] Incomplete mode parameter data
[ 1483.299418] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 1483.299422] sd 8:0:0:0: [sdb] Attached SCSI removable disk
[ 1483.727360] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 1561.041434] WARNING! power/level is deprecated; use power/control instead
[ 1561.100383] usb 1-5: USB disconnect, address 34
--- End code ---

pamaury:
@metaphys
It used to work on your device, didn't it ? I haven't change much in the lcd code recently :-/
Did you account for the change in the bootloader.db file ? I'm now using the first 3 stages. Without the first one, usb is likely to not work properly. But that doesn't explain why the screen stays black.

metaphys:
Yes it used to work  :-\

I did this new build from scratch and followed the instruction on the port's page so I guess i did have the new db file... Confusing indeed. Let me know if I should test something else  :D

pamaury:
If you are motivated, you could try to bisect to see which revision of the svn caused that. You can also try to change this in lcd-fuzeplus.c:
replace

--- Code: ---default:
            lcd_kind = LCD_KIND_9325;
--- End code ---
by

--- Code: ---default:
            lcd_kind = LCD_KIND_7783;
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version